Releases: kw123/unifi
fixed line 8854, 'props' is not defined
fixed line 8854, 'props' is not defined
added option for separate protect system
- added devices for system controller an system protect (they can be the same but will show as 2)
the relevant properties (like in config) can be set here
important dev states are preseneted: disk space, memory utilization .. - added option for different userid/password and port for protect vs controller device
if not specified it is set as same
you can set them in config aand device edit for controller and proetct system devices - added error catch for bad read of disk space from unifi conroller / protect systemetc
added option for separate protect box
- added devices for system controller an system protect (they can be the same but will show as 2)
the relevant properties (like in config) can be set here
important dev states are presented: disk space, memory utilization .. - added option for different userid/password and port for protect vs controller device
if not specified it is set as same
you can set them in config and device edit for controller and protect system devices
first test version for separate protect box
changes in V2022.46.422@ 2024-10-20
-
adding option to have protect recording and controller on 2 different devices
in config in camera section set protect ip and port number, if not set they will inherit the controller ip and port number and hence be on the same box
they must be on the same os level and settings:
same user id, same password. protect is fixed to be on port 433 and hence controller also ahs to be on port 433.. at least for the time being. -
added action to set zoom, position (only G5+) brightness, saturation, sharpness, hue, pan tilt,...
-
added general action for camera. can do any action in script: zoom, set to predefined positions, set contrast, led on off, speak on off ,...
with this you can eg drive zoom with indigo variables or dev states in a indigo server action script
see examples -
changed protecEventSleepTime from 0.5 secs to 500mSec in puglinconfig. as 0.5 is not propery show as 0.5 but 0.4999999 and hece not displayed in config
-
removed obsolete NVR type video functions (predecessor to protect)
better manage error logging
in case of http error, the plugin does not print a large dump anymore, but it will
= check if timeout, retry 2 more times, if sucessful, a warning will occur .. fixed after xx tries
= if not sucessfult it will try 30 more times (after some minutes) and if not sucesfull the plugin will reload eg when the unifi device is down, or you load a new software
poe on/off command for newer switches supported
added option to select a differetnt way to set POE on/off switches. Some newer switch devices only support a unix command swctrl
all of my older switches also support unix swctrl command.
bug fix
- added check for protect camera: is properly defined?
line 8953, in getProtectIntoIndigo cameraId = dev.states["id"] KeyError: 'key id not found in dict' - fixed mismatch for detecting dicts start end while listening to AP SW etc.
added checks for setup a new install if not all parameters and devices are set.
added checks for setup a new install if not all parameters and devices are set.
logging
- added config option in general section to set request - curl timeout to any value >=1 sec
- made error logging more verbose
- added option to supress test logging at startup, default is log, set in config under section debug
- fixed print parameters requests timeout was not properly formatted
timeout setting and error logging
- added config option in general section to set request - curl timeout to any value >=1 sec
- made error logging more verbose