dahua
                                
                                
                                
                                    dahua copied to clipboard
                            
                            
                            
                        IPC-HDW3849H-AS-PV Security Lights not working
Have 2 of the cameras in the heading, all other stuff appears to work fine, only the security light function throws a 400 Bad Request. This was the main reason I wanted to install the integration, I have the cameras running in Frigate for viewing/recording but with this integration I was hoping ti be able to use the flashing red and blue lights in automations.
Camera itself reported firmware upto date, but on the off chance I checked Dahua UK website, there were several newer firmwares, I installed the latest and now the security lights are working.
Mid-2023 I had by TiOC IPC-HDW3849H-AS-PV working with the integration. The lights and siren could each be activated. But connecting the camera through an NVR seems to make this integration unable to function. My version of the integration does not show the siren/light as a function of the camera. But every single camera has the entity of 'disarming'... even though I only own one TiOC camera.
I think this is the integration not querying the device properly. I can trigger the siren and light via the API v3.18 I have. It would be nice if there was a way to force this integration to add an entity for when it fails to query the functions of a camera.