Open TheBisk opened 3 years ago
Thanks. Those cams are a little bit different. I'm surprised it is working at all, but I'm glad it does.
Playing the video never really works great with Home Assistant. There's a WebRTC that's better for viewing cams in HA but I still recommend using real viewing software outside of HA. https://github.com/AlexxIT/WebRTC
When you enable motion detection in the cam it might take up to 30 seconds for the integration to update. Does it work if you wait?
The motion detection is set to be "on" everyday from 1am to 6am in the cam app but this setting is not syncronized with home assistant. And if i switch to "on" in HA i did not see it on the cam app.
I cannot understand why on mobile phone i see the live stream of the cam while on desktop pc i cannot see it?! With the desktop pc i see only the still image refreshing every 10 seconds. If i click on the image i see a blank image, it seems to not load the stream.
The switch for the infrared light is not working - if the switch is activated, the light does not turn on
The switch for the illuminator light is not present. I tried to listen for events but no event is reported if i switch the illuminator on/off by the app of the cam, unfortunately.
Hi, i discovered the following command:
http://IPADDRESS/cgi-bin/coaxialControlIO.cgi?action=getStatus&channel=1
-> get the illuminator and speaker status
http:/IPADDRESS/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=1
-> light on
http://IPADDRESS/cgi-bin/coaxialControlIO.cgi?action=control&channel=1&info[0].Type=1&info[0].IO=0
-> light off
i don't know if it's possible to integrate it.
It's possible to integrate but because I don't have one of these cameras it's a little hard for me to add in since I can't test it. These cams work a little different from the regular dahua cams :-(
Version of the custom_component 0.9.22
Hello rroller, first of all I want to thank you for the excellent work you have done!
it seems my cam is supported, there is just a few small things to fix.
I can play the video main stream in a lovelace card, using chrome on android phone i see it correctly with audio too while on chrome for windows i see a blank image (maybe codecs problem on my laptop)
motion detector works fine too, but if i activate it from tha app of the cam i dont see any change on the binary_sensor in HA and vice versa.
I cannot find the entity to turn on the spotlight integrated in the webcam.
In the lovelace picture-card i cannot see the live stream: camera_view: live (not working).
the switch for infrared light seems not working (in the camera app is set to auto)
I'm available to help the comunity to fix it.
Thanks.