smart
(Ron)
September 5, 2018, 5:21pm
1
I have a camera group but the page only shows snapshots and I have to open each individual camera to see the live stream. Is it possible to have several live streams on one page?
I guess I could spin up a web server and just build a page to view but it would be nice to let HA do it if it is possible.
Dixey
September 5, 2018, 5:27pm
2
I have a page showing four live cameras that give me an update on each approx every 10 seconds using the following example cameras.yaml entries:
- platform: mjpeg
mjpeg_url: http://192.168.1.201:13101/videostream.cgi?user=admin&pwd=xxxxxxxx
still_image_url: http://192.168.1.201:13101/mjpeg/snap.cgi
username: admin
password: xxxxxxxx
authentication: digest
name: 406_west
Groups.yaml entry is:
exterior_view:
name: Exterior
view: yes
entities:
- group.exterior_view_406_north
- group.exterior_view_406_east
- group.exterior_view_406_south
- group.exterior_view_406_west
exterior_view_406_north:
view: no
entities:
- camera.406_north
exterior_view_406_east:
view: no
entities:
- camera.406_east
exterior_view_406_south:
view: no
entities:
- camera.406_south
exterior_view_406_west:
view: no
entities:
- camera.406_west
This is running on a PI3B+. I have a suspicion “live” streaming for the four cameras would melt it.
Use this custom component
1 Like
smart
(Ron)
September 5, 2018, 6:10pm
4
I didn’t even know custom components existed! That’s cool, I am going to start writing these
Now I just need to figure out how to install a custom component. Likely just drop the code in some folder right? Searching now…
Edit: Got it…thanks for anyone who stumbles on this thread…
Alright, so it's time to write your first code for your integration. AWESOME. Don't worry, we've tried hard to keep it as easy as possible. From a Home Assistant development environment, type the following and follow the instructions: