Releases: kw123/unifi
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
added config option in general section to set request - curl timeout to any value >=1 sec
added config option in general section to set request - curl timeout to any value >=1 sec
set http req timeout to 10 secs
set http req timeout to 10 secs
ssh known hosts file management
-
added menu item to clean up ~/.ssh/know_hostsfile
if you have issues with ssh loging in to your unifi devices, you can now reset the entries in ~/.ssh/konwn_hosts file -
added config option in userid/password section to ignore known_hosts
ie use ssh -o StrictHostKeyChecking=no [email protected]
instead of ssh [email protected]
maintenance release for protect
-
fixed error for unifi protect event thumbnails
in some cisrcumstance the thumbnail is not available immedeately after event.
the plugin now tests if the thumbnail image is ready, then they are copied. this might take up to 10 secs.
in addition a "snapshot" is taken immediately. they can be requested at any time -
removed code for old deprecated nvr video system. The plugin now only supports PROTECT
-
made config a little more readable