Closed seime closed 10 months ago
Good suggestion. Should be possible to add.
Other possible workarounds:
I've implemented disabling of recording already, but the WAF was still well below freezing 🧊 . And most cameras are connected via a non-unifi switch which I cannot manage :(
What switch are you using? I'm not using a UniFi swith either. I have Juniper Ex3300, which I can login to via cli and shutdown poe. I have a quite simple bash script I invoke from openHAB that can toggle PoE on / off.
It is a Netgear GS108PEv3, but it does not support SNMP nor REST. My other options seems to be either to attempt wrapping https://github.com/TheGreyDiamond/PyNetgearSwitchController (did not work) or write my own webscraper in JRule. Which feels like a stretch ;)
@seime I have implemented this now see: https://github.com/seaside1/unifiprotect/commit/89e9d3542321b373e5b99cd5dc565bc0c8ebbbca
You have to compile the jar yourself if you want to test. Will build the next version as soon as I have added support for turning chime off on doorbell.
Thanks @seaside1 , confirmed working well :)
Great! Thanks for testing it out.
Since the Unifi cameras cannot be switched off, a workaround is to add a camera privacy zone which then is enabled/disabled on demand.
See details here; https://community.ui.com/questions/Temporarily-disable-camera/80a3b563-283f-48c5-852d-6e61a08a7bc0#answer/0bc4a45b-2411-4f5d-8164-f3250384b084