Along with the Home Assistant to upgrade to 0.90 version, you can now cast your camera on TV whenever you need it, no need to buy a genuine camera to do it, and save money to buy good, medium orange. Save money on buying external monitors. You only need to have 1 smart device to be able to cast images (Google Chrome cast, Google Hub, Echo Show …). How to do the following:
First of all, you still have to update the Home Assistant to the latest version 0.90 at the present time.
sudo hassbian-config upgrade homeassistant
Then in the configuration.yaml file add a generic camera and stream . (Please note the indentation is correct as shown in the image below)
– platform: generic
Check Config then Restart Home Assistant, go to dev-state section to see a new entity is camera.generic.
Then in the Home Assistant interface, add an Entity – Button as follows
name: Camera len Chrome Cast
With Living_room_tv is the name of Chromecast in HA. The newly created button features a click that will stream the camera onto Chromecast. Of course, this feature can be assigned to any type of buttons in Lovelace (entities, Glance …).
P / S: Basically, any camera can be cast. You can visit Ispy Camera Database page to find the stream for your camera line. The camera will need both JPEG and another type or VLC or FFMPEG in the list. Clicking on your camera model will appear on the board to configure the creation of the url. JPEG type to enter
FFMPEG to enter