Mabaelst
(Bart Teuwen)
1
Dag iedereen,
Ik probeer een camera entiteit te creren van een afbeelding.
Dit is mijn config
camera:
- platform: generic
name: test
still_image_url: https://192.168.123.170:8123/local/snap.jpg
If I type the url in the browser I see the image! What am I doing wrong here, I don’t get a camera entity!!
Thanks for every response
Edwin_D
(Edwin D.)
2
I think you need to set allowlist_external_urls for that to work:
Edit: might also be yaml config is no longer allowed. I see you can set cameras up in the gui, no mention there anymore of the yaml setup:
Mabaelst
(Bart Teuwen)
3
Thanks for your reply. I’ll give this a try if I can figure out how this works!?
Mikefila
(Mike Fila)
4
I use the local file option for generic camera to display an image. I also do not use the full address, just the path.
camera:
# current song image
- platform: local_file
file_path: /media/youtube/current.jpg
name: "Now playing"
Mabaelst
(Bart Teuwen)
5
OK, I’ll get a camera. Thank you.