uniFiAP  

Developer: Karl's Plugins     Like this plugin? Show your appreciation!
Category: Location and Presence
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.karlwachs.uniFiAP
Latest release: v7.39.370 released on May 13, 2021
Release downloaded: 0 times
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

unifi

indigo plugin that reads unifi devices and populates indigo devices and variables details at https://forums.indigodomo.com/viewforum.php?f=199

Release details
Released on: May 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added warning levels for excessive time used to consume data for unifi devices

Release details
Released on: May 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added warning levels for excessive time used to consume data for unifi devices

Release details
Released on: May 4, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed reading dicts and messages from unifi devices: 1. dict checks for single line w xxxThisIsTheEndTokenxxx255 2. tail messages check for ...state is locked... 3. changed time wait for dicts read to 62 secs from 58 secs 4. issue a unifi reboot command when encountering mca error, w option to switch off in config 5. streamlined testing for good/bad unifi connection devices/ status 6. fixed error='key name Unifi_Camera_with_Event not found in database'

Release details
Released on: May 4, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V7.39.367@ 2021-05-03

changed reading dicts and messages from unifi devices: 1. dict checks for single line w xxxThisIsTheEndTokenxxx255 2. tail messages check for ...state is locked... 3. changed time wait for dicts read to 62 secs from 58 secs 4. issue a unifi reboot command when encountering mca error, w option to switch off in config 5. streamlined testing for good/bad unifi connection devices/ status

Release details
Released on: May 4, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed reading dicts and messages from unifi devices: 1. dict checks for sinhgle line w xxxThisIsTheEndTokenxxx255 2. tail messages check for ...state is locked... 3. changed time wait for dicts read to 62 secs from 58 secs 4. issue a unifi reboot command when encountering mca error, w option to switch off in config 5. fixed error in Line# 5966 ; error='key name Unifi_Camera_with_Ev ...

Release details
Released on: April 15, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

changed http connect setup for hosted unifi controller type port# = 8443 site name = default os = std ... hosted controller behave differently from cloud controller or UDM they use - even under v 6 - old path statements and login

Release details
Released on: April 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

changed http connect setup for hosted unifi controller type port# = 8443 site name = default os = std ... hosted controller behave differently from cloud controller or UDM they use - even under v 6 - old path statements and login

Release details
Released on: April 3, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed the site id name , if not default
  2. removed old loggin method
  3. added log statement for sitename pick in plugin config
  4. added message from log to most menu items for feedback on success/ failure of commands requested
Release details
Released on: April 2, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. fixed the site id name , if not default
Release details
Released on: April 2, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. removed old loggin method
  2. added log statment for sitename pick in plugin config
Release details
Released on: April 1, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
    • added new schema for groups
      There can be up to 8 groups of devices, the names of the groups can be set in config
      Each groups counts the number of devices home (up) and away(down/expired)
      They are shown as variables
      Unifi_count_groupname_Home == number of device up
      Unifi_count_groupname_Away = number of devices not up
      Unifi_count_groupname_lastChange = datestamp of last count change
      A device can be added/ removed in each devices edit or in menu/manage groups
      The manage group option allows to add eg all wifi or lan devices to a group
      and you can eg add/remove 10 individual devices on one screen faster than editing 10 devices
      There is a a report on the groups, memebers etc in Print parameters
    • several device model texts had typos
    • various menu cosmetic changes
  1. fixes

    • block / unblock wifi devices had a cosmetic error message
    • the site id name was always default, now can be set in config (not test)
Release details
Released on: March 30, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.38.356@ 2021-03-30

  1. IMPORTTANT FIX lastRead state was never updated also new cameras were not added. the bug was added when I added the door bell dict["lastRing"]/1000 does not work if value is None (not a doorbell camera) and the exception handling excluded anuything with "None" in its text (that the error condition when the plugin restarts) so the error message never showed
Release details
Released on: March 21, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. changed expect script for getting dicts from AP, switch UDMpro better timing, should result in much fewer restarts changed timing of listener starts, so that hey do not run all at the same time
  2. changed log level for listener restarts, now only every 3rd time level is warning 6th is error rest is info / debug in plugin.log file
Release details
Released on: March 19, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. changed expect script for getting dicts from AP, switch UDMpro better timing, should result in much fewer restarts
  2. changed log level for restarts, now only every 3 time level is warning 6 is error rest is info / debug in plugin.log file
Release details
Released on: March 15, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.38.352@ 2021-03-15

  1. fixed some exception handling errors
  2. now handles overlapping events better eg doorbell has motion event and then a doorbell rung event before the motion event ends smart detected person or vehicle: it will cretae several events for teh same detection. they are shown in the vaiables
  3. handling of orphan events in the plugin that do not create and end event. those would keep the status at eg motion for ever or until when the next event occures
  4. added some more columns to the camera report
Release details
Released on: March 14, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed some exception handling errors
  2. now handles overlapping events better eg doorbell has motion event and then a doorbell rung event before the motion event ends smart detected person or vehicle: it will cretae several events for teh same detection. right now the plugin will now only use the smart detect parts not the overall pic. still thinkout that one. there are several evnst coming within << 1 sec for teh same camera in general all would trigger an event, the question is which should be used for the thumbnail right now it will pick the vehilce / person it will now show motion/ring/vehicle/person in the status field instead of "event" The normal state is "CONNECTED"
  3. handling of orphan events in the plugin that do not create and end event. those would keep the status at eg motion for ever or until when the next event occures
  4. added some more columns to the camera report
Release details
Released on: March 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added camera report menu item in Camera ....
  2. fixed camId not found (in exception handling) fixed dev states not updated continuously
Release details
Released on: March 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added camera report menu item in Camera ....
  2. fixed camId not found (in exception handling)
Release details
Released on: March 13, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. smaller fixes for procted devices

    • handle expections
    • handle double devices eg user has duplicated device, a devices was unmanaged and managed hence the cam-id changes, ..
    • and more exceptions like these
  2. now supports protect doorbell a door press is indicated as : eventType = "ring" instead of motion rest is the same eg status = "event", eb=vent start end and length are the same as for other events ==> as events can come in paralell there can be a motion event starts, the ring event starts and ends before the motion event ends then the thumbnails will be updated in short sequence and the ring info will be overwritten so the eventType = "ring" will only be visible for a short period of time

Release details
Released on: March 12, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added support for unifi protect cameras (this requires mac os 10.14 or higher)

    • get cameras from unifi systems and create indigo devices
    • the plugin will listen to events, create dev states for start time / end time/ time length of event get thumbnails jpegs and or heatmap jpegs enable / disable / configure thumbnails in camera device edit events are also setting variables: Unifi_Camera_Event_Date date string of last event; eg "2021-03-11 22:33:26" Unifi_Camera_with_Event device name of camera of last event; eg "Camera_Reserve-UVC G3 Flex" Unifi_Camera_Event_pathtoThumbnail path to last event thumbnail; eg "/Users/karlwachs/indigo/protect/Camera_Reserve-UVC G3 Flex_snapshot.jpeg"

    • get snap shots through menu or actions at any time, with selectable resolution

    • set parameters of cameras for IR-LED, status-LED, speaker, mic, motion trigger etc in menu and actions
    • added debug option for protect in config
    • the dev/state "smartDetect" is blank or "vehicle" or "person" if the smart detect option is enabled to detect objects for events

    ==> to enable: set camera to protect in config (just above debug) and set repeat frequencies ... all camears connected / adopted by protect will be cretaed in the folder unifi_created.

==> how to use / setup: 1. enable protect in config (bottom, above debug section) select "protect" set repeat query for device state checks and event tracking sel path for thumbnails 2. Then trigger on any change camera xx dev/states["eventStart"] ==> new movement at camera xx or on variable Unifi_Camera_Event_Date the path to the thumbnail is in dev/state "eventJpeg" and in variable "Unifi_Camera_Event_pathtoThumbnail" eg: "/Users/youruserid/Camera_living window G3 Flex_snapshot.jpeg" the thumbnail are only availabe at the end of teh event (dev/states["eventEnd"] is changed to !=-1) 3. Get snapshots at anytime: setup action with in unifi action "CAMERAS get Snapshot" then execute at your pleasure or use menu/cameras/snaphot for testing or onetime pictures

  1. added option to switch off queries to infi controller when you have osx13.x and lower and unifi controller v 6.x
Release details
Released on: March 12, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added support for unifi protect cameras (this requires mac os 10.14 or higher)

    • get cameras from unifi systems and create indigo devices
    • the plugin will listen to events, create dev states for start time / end time/ time length of event get thumbnails jpegs and or heatmap jpegs enable / disable / configure thumbnails in camera device edit events are also setting variables: Unifi_Camera_Event_Date date string of last event; eg "2021-03-11 22:33:26" Unifi_Camera_with_Event device name of camera of last event; eg "Camera_Reserve-UVC G3 Flex" Unifi_Camera_Event_pathtoThumbnail path to last event thumbnail; eg "/Users/karlwachs/indigo/protect/Camera_Reserve-UVC G3 Flex_snapshot.jpeg"

    • get snap shots through menu or actions at any time, with selectable resolution

    • set parameters of cameras for IR-LED, status-LED, speaker, mic, motion trigger etc in menu and actions
    • added debug option for protect in config
    • the dev/state "smartDetect" is blank or "vehicle" or "person" if the smart detect option is enabled to detect objects for events

    ==> to enable: set camera to protect in config (just above debug) and set repeat frequencies ... all camears connected / adopted by protect will be cretaed in the folder unifi_created.

==> how to use / setup: 1. enable protect in config (bottom, above debug section) select "protect" set repeat query for device state checks and event tracking sel path for thumbnails 2. Then trigger on any change camera xx dev/states["eventStart"] ==> new movement at camera xx or on variable Unifi_Camera_Event_Date the path to the thumbnail is in dev/state "eventJpeg" and in variable "Unifi_Camera_Event_pathtoThumbnail" eg: "/Users/youruserid/Camera_living window G3 Flex_snapshot.jpeg" the thumbnail are only availabe at the end of teh event (dev/states["eventEnd"] is changed to !=-1) 3. Get snapshots at anytime: setup action with in unifi action "CAMERAS get Snapshot" then execute at your pleasure or use menu/cameras/snaphot for testing or onetime pictures

  1. added option to switch off queries to infi controller when you have osx13.x and lower and unifi controller v 6.x
Release details
Released on: March 11, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added support for unifi protect cameras

    • get cameras from unif systems and create indigo devices
    • the plugin will listen to events, create dev states for start / stop / delta time get thumbnails jpegs and or heatmap jpegs enable / disable / configure in camera device edit
    • get snap shots through menu or actions
    • set parameters of cameras in menu and actions
    • added debug for protect in config ==> to enable: set camera to protect in config (just above debug) and set repeat frequencies ... all camears connected / adopted by protect will be cretaed in the folder unifi_created. ==> to use:
    • trigger on any change camera xx dev/states["lastEventStart"] ==> new movement at camera xx
    • by setting the path to teh thumbnail in config thumbnail of the events are copiued there as cameraname_snapshot.jpeg
  2. added option to switch off queries to infi controller when you have osx13.x and lower and unifi controller v 6.x

Release details
Released on: March 10, 2021
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  1. added support for unif protect cameras
    • get cameras from unif systems and create indigo devices
    • listen to events, create dev states for start / end / delta time get thumbnails jpegs and or heatmap jpegs enable / disable / configure in camera device edit
    • get snap shots through menu and or actions
    • set parameters of cameras, currently only in menus
    • same functions in menue and actions for settting camera parameters
    • added debug for protect in config ==> to enable: set camera to protect in config (just above debug) and set repeat frequencies ...

=== with this new functionality you can trigger on any change in dev/state["lastEventStart"] for new events and with dev/state["lastEventStop"] on the end of the event

Release details
Released on: March 9, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added support for unif protect cameras
    • get cameras from unif systems and create indigo devices
    • listen to events, create dev states for start / end / delta time get thumbnails jpegs and or heatmap jpegs
    • get snap shots through menu and or actions
    • set parameters of cameras, currently only in menus ==> to enable: set camera to protect in config (just above debug) and set repeat frequencies ...
Release details
Released on: March 6, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed: in Line 7608 has error='module' object has no attribute 'exc_traceback'

Release details
Released on: March 3, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get request to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several options fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
  6. added debug statement for unifi controller bad json object return
  7. added timeout =(3.,10.) to http -requests
  8. manage debug logs in case of failure for ssh and http
  9. added forced restart every xx hours for listener as option in config / advanced
  10. re-wrote queue management and threads to receive and consume messages. # of listener restarts is down significantly significant improvemnet of performance
Release details
Released on: March 1, 2021
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get request to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several options fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
  6. added debug statement for unifi controller bad json object return
  7. added timeout =(3.,10.) to http -requests
  8. manage debug logs in case of failure for ssh and http
  9. added forceed restart every xx hours for listener as option in config / advanced
Release details
Released on: Feb. 27, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get request to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several options fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
  6. added debug statement for unifi controller bad json object return
  7. added timeout =(3.,10.) to http -requests
Release details
Released on: Feb. 27, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get request to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several options fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
  6. added debug statement for unifi controller bad json object return
Release details
Released on: Feb. 26, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
  6. added debug statement for unci controller bad json object return
Release details
Released on: Feb. 26, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config
  4. tuned debug statements for dict/ message reads
  5. fixed memory leak in getmessages
Release details
Released on: Feb. 25, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config
  4. tuned debug statements for dict/ message reads
Release details
Released on: Feb. 25, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config
  4. tuned debug statements for dict/ message reads
Release details
Released on: Feb. 24, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config
  4. tuned debug statements for dict/ message reads
Release details
Released on: Feb. 24, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
  3. made several optios fixed = removed from config

c

Release details
Released on: Feb. 22, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
  2. fixed some spelling and removed options for read xx every yy secs, all set to 60 / 40 now fixed
Release details
Released on: Feb. 22, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added option to ALSO use unifi controller db info for UP --> down enable in config for all/per-device/ non unifi cleint devices if per-device: edit unifi client device in indigo and set to on/off it is doing an https get requtest to /stat/alluser and checks for last_seen if internal lastUp is expired it will check if last seen is later and will overwrite ie extending the expiration timer
Release details
Released on: Feb. 15, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added option in config to overwrite controller port number normal action is to autodetect the port# [443, 8443] it will still check if connection ok
  2. fixed error on config
  3. fixed error in testServerIfOK
  4. fixed error in SensorDevice
Release details
Released on: Feb. 14, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added some more reports for backups, DPI ,...
  2. some beautification in menus, combined things, fixed some spelling
Release details
Released on: Feb. 12, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added rx_Bytes_last5Minutes and tx ... to unifi client dev states this gets updated once every 5 minutes and shows the # of bytes as integer time bins are 0-5 5-10 ... minutes if eg time is 12:07 it shows the bytes from time bin 12:00-12:05

  2. added some more reports for wan and wifi stats

Release details
Released on: Feb. 12, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added rx_Bytes_last5Minutes and tx ... to unifi client dev states this gets updated once every 5 minutes and shows the # of bytes as integer time bins are 0-5 5-10 ... minutes if eg time is 12:07 it shows the bytes from time bin 12:00-12:05

  2. added some more reports for wan and wifi stats

Release details
Released on: Feb. 12, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. now all "post" function work for the new unifi op-sys. ("get" worked fine) eg set AP-led on/off get wan / ap stats etc
Release details
Released on: Feb. 7, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

fix password for unifi http access

Release details
Released on: Feb. 7, 2021
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

fix password for unifi http access

Release details
Released on: Feb. 4, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added more info to error message for bad data received from ap/switches..
  2. in config made one field hidden (should heve been anyway)
  3. properly save userid and passwords after set in config
  4. fixed curl/requests for getting port number
Release details
Released on: Feb. 4, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added more info to error message for bad data received from ap/switches..
  2. in config made one field hidden (should heve been anyway)
  3. properly save userid and passwords after set in config
Release details
Released on: Feb. 3, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added more info to error message for bad data received from ap/switches..
  2. in config made one field hidden (should heve been anyway)
Release details
Released on: Feb. 3, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added more info to error message for bad data received from ap/switches..
  2. in config made one field hidden (should heve been anyway)
Release details
Released on: Jan. 27, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

clean up code and re-posting, previous upload was corrupt

Release details
Released on: Jan. 25, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

get site ID name dynamically from controller IF:
- not set or - reset in config or - login to controller does not work this is mostly for installs that have 2+ sites and or have been upgraded from one device to the next

Release details
Released on: Jan. 24, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

get site id name dynamically (in most cases:default)

Release details
Released on: Jan. 22, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

coded correctly the check for the port number for controller

Release details
Released on: Jan. 22, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed: Error in Line 6023 has error=global name 'mac' is not defined

  2. added a retry to get the port Number of the controller

Release details
Released on: Jan. 22, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed: Error in Line 6023 has error=global name 'mac' is not defined

  2. added a retry to get the port Number of the controller

Release details
Released on: Jan. 21, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added support for new unifi op system for controller os v 6.x ++ eg UDMpro has unifi ops sys, but also genx cloud key can be upgraded to v 6. most reports work, but not stat reports (daily ,...)

  2. will now autodetect the controller ports and login and api web pages, no config setup required for: ie 8443/ 433; /proxy/network/api/s/ vs /api/s; /api/auth/login vs /api/login

Release details
Released on: Jan. 6, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed: in Line 5559 has error='int' object has no attribute '__getitem__'

Release details
Released on: Jan. 5, 2021
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed: in Line 5559 has error='int' object has no attribute '__getitem__'

Release details
Released on: Dec. 24, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

force a log entry in /var/log/messages by logging in to unifi devices and logging out creates entries like: Wed Dec 23 22:52:25 2020 authpriv.notice dropbear[17590]: Password auth succeeded for ...

Release details
Released on: Dec. 24, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

fixed restart issue w listener, when ap log listener restarted itself it also killed the dict listener, but did not restart that process

Release details
Released on: Dec. 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. prompt for expect ssh to unifi devices is now fully auto detect no need to enter in config
  2. removed options for log messages mca-dump commands in config, no need to chnage anything.
  3. cleaned up some logging formats
  4. changed number to float for dev states temperature in prep for indigo 7.5
Release details
Released on: Dec. 19, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  1. prompt for expect ssh to unifi devices is now fully auto detect no need to enter in config
  2. removed options for log messages mca-dump commands in config, no need to chnage anything.
  3. cleaned up some logging formats
Release details
Released on: Dec. 17, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  1. prompt for expect ssh to unifi devices is now fully auto detect no need to enter in config
  2. removed options for log messages mca-dump commands in config, no need to chnage anything.
Release details
Released on: Dec. 17, 2020
Requires: Indigo v7.0.2+
Downloaded: 3 times 
Changes in this release
  1. prompt for expect ssh to unifi devices is now fully auto detect no need to enter in config
  2. removed options for log messages mca-dump commands in config, no need to chnage anything.
Release details
Released on: Dec. 15, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

add a check, if prompt on unifi devcie does not work, switch to the last 4 characters of promnpt when login in in most cases: "xx# " (and # needs to get a ) so "xx# "

Release details
Released on: Dec. 13, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed prompt on unifi wifi AP has changed. caused some expext connection to wifi AP to not recognize the line prompt: change was from BZ.v55.66.77 to BZ.55.66.77 effectively not reading that AP info

Release details
Released on: Oct. 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added config optiuon to set folder name for unifi variables up to now: it used the folder where other variables where now you need to set it in config.. default is UNIFI
Release details
Released on: Oct. 10, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

menu changes, and unicode fixes

Release details
Released on: Oct. 10, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

unicode format changes, and fixes

Release details
Released on: Oct. 6, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed all "{}".format(dev.name.encode("utf8") to u"{}".format(dev.name)

Release details
Released on: Sept. 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed error isNew does not exist -- only happened when UDM debug on

Release details
Released on: Aug. 14, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added dev/states for gateway device: wan2 = up/downif2. wan port is active wan2Latency = same as for wan wan2Upload= same as for wan wan2Gateways= same as for wan wan2Nameservers= same as for wan wan2PublicIP= ip numebr of wan2 if wactive wanSetup = "wan1 only" if normal single wan active "failover" if wan2 active and wan 1 down "load balancing" if both wan1 and wa2 are active "wan down" if both wan connections are down this is tested with std UniFi gateways, should also work for UDM-pro but not for UDM as it does not have a second wan port in case of failover the state values for publicIP nameservers and gateways can be set to == the wan2 value or not change

Release details
Released on: Aug. 13, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

added property (device edit) to set behaviour at wan fail over event

Release details
Released on: Aug. 13, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added dev/state for each wan state a wan2 state: eg: wanPingTime and wan2PingTime

Release details
Released on: Aug. 13, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added dev/state wanSetup: "wan1 only"/"failover"/"wan down"/"load balancing"

Release details
Released on: Aug. 13, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added dev/states for gateway device: wan2UpTime = xH yM zS
  2. fixed some logic for fail over
Release details
Released on: Aug. 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added dev/states for gateway device: wan2UpTime = xH 7M zS
  2. fixed some logic for fail over
Release details
Released on: Aug. 11, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added dev/states for gateway device: wan2 (==up/down), MACwan2 = mac # of wan2 use dev/states wan2 =="up" and wan=="down" to trigger wan failover use dev/states wan =="up" and wan2=="down" to trigger wan failover end === this currently only works for standard security gateway NOT for UDM/UDM-pro need "mca-dump" output from the UDM s
Release details
Released on: July 26, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

went through all controller web api commands to set to proper GET PUT PUSH use blank instead of -X xx only for PUT use -X PUT (ie for enable disable devices)

Release details
Released on: July 25, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

went through all controller web api commands to set to proper GET PUT PUSH it works completely for std controller use blank instead of -X GET

Release details
Released on: July 24, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

for curl and std controller do NOT use _X GET but blank for curl and UDM controller use -X GET

Release details
Released on: July 24, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

instead of get implicit it is not using explicit " -X GET" in curl command for all devices and converted all -X xxx to Cap XXX ie get,put, post

Release details
Released on: July 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

added options for explicit " -X get" in curl command for UDM

Release details
Released on: July 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connected exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gw" to the port_xx dev state
  5. added client list for GHZ channel on AP. these are the hostnames given by the AP, not the indigo device names
  6. fixed LED .. commands, was switched to PUT, should be GET for regular gateways, not for UDM
  7. added option to count clients on downlink ports and AP ports in switch client totals (nClients)
Release details
Released on: July 22, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connetced exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gtw" to the port_xx dev state
  5. added client list for GHZ channel on AP. these are the hostnames given by the AP, not the indigo device names
  6. fixed LED .. commands, was switched to PUT, should be GET for regular gateways, not for UDM
  7. added option to count clients on downlink ports and AP ports in switch client totals (nClients)
Release details
Released on: July 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connetced exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gtw" to the port_xx dev state
  5. added client list for GHZ channel on AP. these are the hostnames given by the AP, not the indigo device names
  6. fixed LED .. commands, was switched to PUT, should be GET for regular gateways, not for UDM
Release details
Released on: July 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connetced exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gtw" to the port_xx dev state
  5. added client list for GHZ channel on AP. these are the hostnames given by the AP, not the indigo device names
  6. fixed LED .. commands, was switched to PUT, should be GET for regular gateways, not for UDM
Release details
Released on: July 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connetced exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gtw" to the port_xx dev state
Release details
Released on: July 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
  3. added nClients as dev state for switches, == sum of clients connetced exluding upstream
  4. added check if gateway is connected to a port, (name nmust have gatew or udm in its string) Case does NOT matter the it added "Gaetw" to the port_xx dev state
Release details
Released on: July 21, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
Release details
Released on: July 20, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. requesting AP info from UDM only not UDM-pro
  2. added support for info for multiple vlans in AP
Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added UDM-pro GW device

Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

tuned UDM gw dict part

Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 3 times 
Changes in this release
  1. tuned UDM gw dict part
  2. added unifiApiLoginPath etc to print config
Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release
  1. tuned UDM gw dict part
  2. added unifiApiLoginPath etc to print config
Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. tuned UDM gw dict part
  2. added unifiApiLoginPath to print config
Release details
Released on: July 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

tuned UDM gw dict part

Release details
Released on: July 11, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: July 10, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: July 9, 2020
Requires: Indigo v7.0.2+
Downloaded: 4 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: July 9, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: July 9, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: July 7, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added function to get tempereatures from UDM-pro machine w ssh and sensors -u command
Release details
Released on: July 7, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added function to get tempereatures from UDM-pro machine w ssh and sensors -u command

Release details
Released on: May 26, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fix port # in "set parameters" button from 8433 to 8443

Release details
Released on: May 25, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added button in config to preselect the most likely parameters for STd/UDM/UDMpro

Release details
Released on: May 25, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added button in config to preselect the most likely parameters for STd/UDM/UDMpro

Release details
Released on: May 24, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed option in config to better explain the options for std vs UDM vs UDM pro

Release details
Released on: May 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed ssh login prompt check in expect from (yes/no)? to (yes/no as some prompts now show: (yes/no/[fingerprint])?

Release details
Released on: May 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed error : has error=global name 'debLeve' is not defined
  2. added dubug info in case login not successful
Release details
Released on: May 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed error : has error=global name 'debLeve' is not defined
  2. fixed error : 9029 has error=local variable 'wanSpeedTest'
Release details
Released on: May 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed: 9029 has error=local variable 'wanSpeedTest' fixed MAC vendor mapping if directory did not exist

Release details
Released on: May 12, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added logging statements in case userid/passwd ip number are wrong
  2. added UDM dict analysis
  3. fixed format error
  4. added space in button menue to improve readability
  5. fixed some format statements and added some logic
  6. "ipNumber" is now the defined ipnumber in config and is NOT taken from the dict from unifi (key="ip") the "ip" entry in the dict can chnage ie for UGS or UDM devceis as they use the external value
  7. select proper userid/passwd for UDM ssh
  8. added option in MAC log-tracking menu to save MAC list and reload after plugin restart and changed display of list, dev name first then mac#
  9. added vlan name to device(client) states (info from switch devices port_table/mac_table)
  10. changed dev-state wanRunDate to wanSpeedTest, gives the date when last speedtest was done
Release details
Released on: May 8, 2020
Requires: Indigo v7.0.2+
Downloaded: 3 times 
Changes in this release

debug statements and udm api checks

Release details
Released on: May 7, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added logging statements in case userid/passwd ip number are wrong
  2. added UDM dict analysis

changes

Release details
Released on: May 3, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added debug statements for UDM
  2. added time cutoff for weblog data (only look at fresh data, do not loop though previous data returned from web log)
  3. added back check if username not in login for UDM-pro OR meta not in ret and meta !=ok: error connection login
  4. reverse web event log
  5. ignore event records that are older than last event for UDM
Release details
Released on: May 3, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added debug statements for UDM
  2. added time cutoff for weblog data (only look at fresh data, do not loop though previous data returned from web log)
  3. added back check if username not in login for UDM-pro OR meta not in ret and meta !=ok: error connection login
  4. had to reverse web levent log
Release details
Released on: May 3, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added debug statements for UDM
  2. added time cutoff for weblog data (only look at fresh data, do not loop though previous data returned from web log)
  3. added back check if username not in login for UDM-pro OR meta not in ret and meta !=ok: error connection login
Release details
Released on: May 2, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added some more config checks for UDM

Release details
Released on: May 1, 2020
Requires: Indigo v7.0.2+
Downloaded: 2 times 
Changes in this release

fixed isType not defined

Release details
Released on: April 30, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed device cretaion for UDM devcies
  2. controller ON not needed anymore for UDM active
Release details
Released on: April 30, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed devName not defined

Release details
Released on: April 30, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed error message for UDM

Release details
Released on: April 30, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed error message for UDM

Release details
Released on: April 30, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed -PUT to -GET for several http commands to support UDM

Release details
Released on: April 27, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

fixed error in Line 989 has error=list assignment index out of range for UDM settings in config

Release details
Released on: April 26, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. clarified config lables for UDM vs UDM-pro
  2. updated parameters properly when editing config, was done correctly during restart
Release details
Released on: April 26, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added option for UDM as its own section will not start individual message logs/dicts for AP and SW as they come from the same device .. not fully tested yet

  2. added option "strict:true" for web login. this seems to be neeed fro some UDM / configs, sys, if it currently works keep false

  3. added option to ignore all new devices in config

Release details
Released on: April 25, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added various options1. added option for UDM as its own section will not start individual message logs/dicts for AP and SW as they come from the same device .. not fully tested yet

  1. added option "strict:true" for web login. this seems to be neeed fro some UDM / configs, sys, if it currently works keep false

  2. added option to ignore all new devices in config

Release details
Released on: April 25, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added option for UDM as its own section will not start individual message logs/dicts for AP and SW as they come from the same device .. not fully tested yet

  2. added option "strict:true" for web login. this seems to be neeed fro some UDM / configs, sys, if it currently works keep false

  3. added option to ignore all new devices in config

Release details
Released on: April 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release
  1. added debug options for unfi devices log all message and dicts from specific unifi device ie switches, gateway, ap
  2. fixed video ip number check in config, any safe when video enabled required a restart. if managing properly now, no plugin restart done if noc hange.
Release details
Released on: April 23, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. added addition userid/passwd for UDM devices UDM devices have diufferent userid for ssh than AP and switches.
  2. add auto fix for "unknown hosts". fixes situations where userid.. gets changed on ssh devices. will delete the ip# line in userid/.ssh/known_hosts
Release details
Released on: April 22, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. minor format changes
  2. added clean up of POE list when power cycling poe port in cases where devices moved around or were disconnected and the history has several devices connected to the same POE port
Release details
Released on: Feb. 27, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed uniFiAP Error in Line 3909 has error=local variable 'ret'

Release details
Released on: Feb. 10, 2020
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. will suppress certain states and variables from being logged in SQL logger. only works w indigo 7.4.1 no change for lower versions
Release details
Released on: Dec. 3, 2019
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.169 @ 2019-12-03

  1. added option for gateway devices to select which MAC number to be used for reports gateways have several MAC numbers, and depending on version the query has to pick the proper MAC number for querries in the controller in device edit you can pick the MAC number (MAC or MAClan)
Release details
Released on: June 26, 2019
Requires: Indigo v7.0.2+
Downloaded: 1 times 
Changes in this release

the camera event logs from unifi have changed. Now handles also the new version

Release details
Released on: June 19, 2019
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added option to set read buffer for listeners.. for Mojave OSX default is 32767, seems to be ok, just in case reading runs into error 22 reduce to lower value

Release details
Released on: June 16, 2019
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.165 @ 2019-05-16

  1. fixed: "key ipx not found in dict"

  2. reworked logic for adopting automatically new UNIF devices no will adop / add an indigo device if a sw / ap / gw slot (in config) is "disabled and the ip number is NOT a valid one" it assumes that if there is a valid IP number and it is disabled it might be temporary setting by the user and will not chnage that when editing the IP number in config, you MUST edit the field then click on another text field. otherwise it will not save that field (thats from indigo) so when eg you edit the ip numebr and click on enable/disable, the ip textfield contents will not be saved.

Release details
Released on: May 1, 2019
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.162 @ 2019-05-01

1.added error handling for ErrNo=22, general read error will now restart listener, write ONE msg into plugin log. no error message 2. added timestamp for info logging

Release details
Released on: Dec. 27, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.154 @ 2018-12-27

  1. fixed Line '7019' has error='global name 'status' is not defined'
Release details
Released on: Dec. 27, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.153 @ 2018-12-27

  1. Getting (un)blocked info from controller immediately after plugin sets / unsets block status (required controller to be set to ON or ON reports Changed the timing interval for regular testing of (un)blocked to GT 60 sec. As this now only applies to getting changes set directly on the web page of the controller. This check creates a big data data transfer (~60kBytes), hence doing it every 20 secs is not recommended, default is 3 minutes.

  2. The received controller dicts ( dict-Controller_xxx for xxx=device, users, ...) is written to the unifi directory next to the AP, switches, etc dict files. This is just FYI

  3. fixed : error=''dict' object is not callable' in print info

Release details
Released on: Dec. 18, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed manage group print

Release details
Released on: Dec. 12, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changes in V 7.26.151 @ 2018-12-12

  1. encapsulated password in single quotes. Was not working with ( or ) in password

  2. improved menus

  3. fixed un-ignore device menu option

Release details
Released on: Nov. 23, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added menu item to ignore partially defined MAC numbers. eg 12:xx:56:67:89:ab will ignore all MAC #s with 12... and any hex number in the second section

Release details
Released on: Nov. 18, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added actionControlSensor ...

kw123 committed 819b761 7 changed files - added actionControlSensor method. will update / set devices accordingly - added temperature as number state to unifi system devices that have that property - fixed wanUpTime state, was not updated

Release details
Released on: Nov. 15, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added dummy method actionControlSensor

  • some menu text fine tuning
Release details
Released on: Nov. 11, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added checks for deleted cameras and disabled userids on NVR - they are ignored now

increased number of switches to 13

Release details
Released on: Nov. 8, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed error:'Plugin' object has no attribute 'pr'

Release details
Released on: Nov. 8, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  • added time debugging. ie track where cpu is spend.
  • decreased cpu usage by optimizing code.
  • logfile is now called plugin.log, not unifi.log
  • fixed some menu texts
Release details
Released on: Nov. 5, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed bug that left apiKey empty
added 2. option for curl, to enable use of an updated curl version using homebrew to install ie /usr/local/bin/curl

Release details
Released on: Oct. 23, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

reversed changed from previous version using self.pluginPrefs.get

now using again:
self.xxx = self.pluginPrefs.get(u"xxx", "abc") # in startup
and
if self.xxx=="123": # in the code
instead of
if self.pluginPrefs.get(u"xxx", "abc"): =="123"

to avoid timeouts

Release details
Released on: Oct. 20, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added detailed parameters prints to give better koverview of user-ids ip numbers and other parameters

you need to reenter VIDEO-NVR IP userID and passwords

Release details
Released on: Oct. 14, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed devicetype to sensor from custom
this enables dev.onState functionality as standard indigo binary sensor for all unifi devices
this should make all unifi devices available to other plugin (ie homebridge etc) as regular indigo binary sensor devices.
A state UP will be TRUE, everything else will be FALSE

Also added option to change down --> expiration time from UP--> down in config (set multiple of UP-> down time)

Release details
Released on: Oct. 11, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added full functionality to get snapshots from cameras
tuned some help and menu items

Release details
Released on: Oct. 7, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

now supports also streaming video on/off improved executions speed

Release details
Released on: Oct. 6, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added function to control unifi cameras:
functions to switch on/off: led, ir, sound, mic, record

Release details
Released on: Oct. 2, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release
  1. fixed block / unblock action -- used the wrong filter, wifi devices only. was correct in the regular menus
  2. added cpu mem usage % and temperature states for USG 3(no temperature info) and 4 (has temperature)
Release details
Released on: Sept. 24, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added support for USG4 pro, ie adopted changed data dict dump keys

Release details
Released on: Sept. 22, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

changed time window checking for blocked / unblocked. it only worked at start of plugin.

Release details
Released on: Sept. 21, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added states "firstSeen" and "useFixedIP". they are updated once an hour

Release details
Released on: Sept. 21, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added option to get "blocked" info from unifi controller. You can selewct off/ check ervery xx secs in config . A device state "blocked" was added. if there is no info the state stays empty. true/false if info available

Release details
Released on: Sept. 16, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fix "self.broadcastIP = 192.168.1.255 " and enable to enter path for nvr video monitoring command (was static) changed connection test to unif devices to lowercase test eg if "unifi" in string and not if "UniFi" in string needed for some versions .

Release details
Released on: Sept. 13, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

File "plugin.py", line 3650, in runConcurrentThread IndexError: list index out of range

only occurs for new installs. A variable was not properly initiated

Release details
Released on: Sept. 10, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added variable "UniFi_New_Device". It will be changed when the plugin creates a new indigo device. Contents is: deviceName/MAC#/ipNumber ipNumber might not be present (ie for Neighbor routers)

Release details
Released on: Sept. 9, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added variable Unifi_With_IPNumber_Change, will show: UniFi-iPhone Karl/1c:36:bb:97:c0:85/192.168.1.091/192.168.1.093 ie devname/mac#/oldIP/newip

Release details
Released on: Sept. 9, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

added variable Unifi_With_IPNumber_Change, will show: UniFi-iPhone Karl/1c:36:bb:97:c0:85/192.168.1.091/192.168.1.093 ie devname/mac#/oldIP/newip

Release details
Released on: Sept. 7, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

fixed (un)block and reconnect client command to be used is POST not PUTv7.18.119

Release details
Released on: Aug. 16, 2018
Requires: Indigo v7.0.2+
Downloaded: 0 times 
Changes in this release

v7.18.118

Release details
Released on: Aug. 12, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed USG expiration changed names of states to better reflect their meanings

Requirements

indigo 7

Release details
Released on: Aug. 11, 2018
Requires: Indigo v7.0.2+
Changes in this release

added indigo device state for gateway wan: up/down

format for wanUPTime state is xxd, hh:mm eg 12d, 13:59

Requirements

indigo 7

Release details
Released on: Aug. 11, 2018
Requires: Indigo v7.0.2+
Changes in this release

added wanUpTime to indigo device states for unifi gateway

Requirements

indigo 7

Release details
Released on: Aug. 1, 2018
Requires: Indigo v7.0.2+
Changes in this release

added support for indigo broadcasts
messages are like:
{'pluginId': u'com.karlwachs.uniFiAP', 'data': [{'name': u'UniFi-vonage', 'id': '1787475791', 'state': 'status', 'valueForON': 'up', 'action': 'event', 'newValue': u'down'}, {'name': u'SW_1_unifi2', 'id': '1793311686', 'state': 'status', 'valueForON': 'up', 'action': 'event', 'newValue': u'down'}]}

Requirements

indigo 7.1

Release details
Released on: June 7, 2018
Requires: Indigo v7.0.2+
Changes in this release

added
- WOL settings and date of last change and reason to std report
- menu option to set minimum expiration time for ALL devices

Requirements

indigo 7

Release details
Released on: June 6, 2018
Requires: Indigo v7.0.2+
Changes in this release

Added several GROUP functions and report. Can now easily add and remove UniFi devices to from groups in a menu. Print Groups has a nice overview and summary of groups and members. Added variable Unifi_Groupxx_name. You can set that to eg Wifi or raspberry to rememberwhat is in what groups.

Added Wake on LAN option for each individual device. Similar to fingscan you can select to send WOL packages to individual devices every xx secs and when they go from up to down .

Fix a bug that cause that device lastupdate was updated at each start.

Requirements

indigo 7

Release details
Released on: May 18, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed bug when detect new devices was switched on , was restarting itself

Requirements

indigo 7

Release details
Released on: May 15, 2018
Requires: Indigo v7.0.2+
Changes in this release

Actions / settings options:

For UniFi system devices 1. switch PoE ports on/off/powercycle (either through switch#, port # or selecting the UniFi client) 2. suspend a UniFi system device: it will make the plugin ignore any message, status changes from the unifi system device, will set status to “susp” 3. disable / enable UniFi AP. will do same as in controller /Config/managedevice/disable-enable, will also set the indigo device to suspended 4. reboot a UniFi device 5. set LEDs on AP devices on/off/blink

For clients: 1. block / unblock access for a regular device / client 2. reconnect a wifi client

For NVR / camera system and Virtual box running NVR system 1. start vmbox 2 stop vmbox 3. backup VM disk 4. compress vm disk 5. (re) mount video disk on vmbox 6. start NVR system on unix box 7. stop NVR system on unix box

Requirements

indigo 7

Release details
Released on: May 14, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed: uniFiAP in Line '2365' has error='Python argument types added: - switch POE on / off besides power cycle - added "suspended" for system devices. this option will ignore any message / action to or from that device - added more Virtual box management features ie backup action/ menu.

some clean up in menus

Requirements

indigo 7

Release details
Released on: May 8, 2018
Requires: Indigo v7.0.2+
Changes in this release

now supporting - virtualBox for unifi NVR auto start/stop from within plugin - management of event jpg files - details on setup and usage at http://forums.indigodomo.com/viewtopic.php?f=199&t=20656&sid=b1f2cacacb1181edc928583d888d46f3

  • bug fix: un-ignore menue showed teh wrong unifi device name

  • using some performance enhancement from indigo 7 ie lookup of devcies

Karl

Requirements

indigo 7

Release details
Released on: May 1, 2018
Requires: Indigo v7.0.2+
Changes in this release

added event mangement / printing
optimized ssh expect parameters added reports for NVR cameras and system reports

Requirements

indigo 7

Release details
Released on: April 27, 2018
Requires: Indigo v7.0.2+
Changes in this release

the plugin now can read the NVR unix server (any unix / virtual ) should be ok. The plugin read the event logfile and
1. creates one device for each camera and
2. updates device states with event info.

you need to set in config: - IP number of unix box
- user id for that box (ssh userid@ipnumber )
- password

Karl

Requirements

indigo 7

Release details
Released on: April 23, 2018
Requires: Indigo v7.0.2+
Changes in this release

for some instances the status indicator (red/grey/green) was not updated properly

Requirements

indigo 7

Release details
Released on: April 3, 2018
Requires: Indigo v7.0.2+
Changes in this release

some devices / versions of unifi software show different welcome screens. This version will check for various prompts.

The symptom is that the plugin states that it can not connect to the unified devices and suggests that userid/password might be wrong.

-- this version will check for

"Welcome", "UniFi", "Edge", "BusyBox ,"Ubiquiti", "ubnt"

in the prompts Karl

Requirements

indigo 7

Release details
Released on: March 15, 2018
Requires: Indigo v7.0.2+
Changes in this release

1) as the current method to get the MAC to vendor look up is not working anymore (killed by web site), this version will make a copy from the official files on the IEEE web site and will lookup all MAC numbers locally. It requires a one time download (repeated every 10 days) then all look ups are done locally. ~ 2 Mbyte in total are used to store the info. the DCIT used is ~ 1Mbyte for ALL mac/vendor info

set refresh rate in config (# of days between refresh 0=off/7/14/21/30)

The files are stored in /Users/youruserid/indigo/mac2Vendor/

2) increased the number of switches from 10 to 11 (as I have 11 now)

3.) added some logic incase switch IP numbers changed to get the updates into the plugin.

Karl

Requirements

Indigo 7

Release details
Released on: March 5, 2018
Requires: Indigo v7.0.2+
Changes in this release

== after ignoring a device and then unignoring i,t it stayed as ignored in the display, although the status was updated correctly
== improved print menu item print overview of devices, now included IGNORED as state and the group and ignore list looks a little better

Requirements

indigo 7

Release details
Released on: March 3, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed bug in ignore / unignore "menu: line 1126, in filterMACunifiIgnored"

Requirements

indigo 7

Release details
Released on: March 1, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixes error:
in Line '1898' has error='cannot concatenate 'str' and 'bool' objects'

Requirements

indigo 7

Release details
Released on: Feb. 27, 2018
Requires: Indigo v7.0.2+
Changes in this release

added version check with indigo store

Requirements

indigo 7

Release details
Released on: Feb. 25, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed bug : line 2751 "xType" not defined

Requirements

Indigo 7

Release details
Released on: Feb. 12, 2018
Requires: Indigo v7.0.2+
Changes in this release

it seems that the dict retrieved from the gateway can be quite different depending on configuration even if there are on the same version number.

the new version will now check in several places for the IP and MAC number of the gateway.

it allows now for different userid/password for unifi controller and unify system devices

Requirements

indigo 7

Release details
Released on: Feb. 10, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed error=''NoneType' object is not iterable'

improved:

  1. aligned formats in printouts

  2. you now can select different logfile options:
    1 regular indigo logfile;
    2 unifi.log in indigo 7/log directory;
    3 unifi.log in ~/indigo/unifi/unifi.log

Requirements

indigo7

Release details
Released on: Feb. 9, 2018
Requires: Indigo v7.0.2+
Changes in this release

added a few report settings to eg select # of vents, type of events

fixed auto discovery for gateway. issue was that it can have up to 3 IP numbers and we have to pick the right one.

Requirements

indigo 7

Release details
Released on: Feb. 5, 2018
Requires: Indigo v7.0.2+
Changes in this release

add all available controller reports to the menu

unifi - device: detailed info about the system devices

client: detailed info about the client devices

HEALTH: general info about config

Port forward: forward ports defined, ip, ports # of bytes

(all) user info set of stats on clients

ALARM list of recent alarms

EVENTS list of recent events (excluding logins)

7 days 7* daily report

48 Hours 48* hourly report

5 minutes 12 hours of 5 minutes reports

wlan config

Requirements

indigo 7

Release details
Released on: Feb. 4, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed error when executing action reconnect wifi device

Requirements

indigo 7

Release details
Released on: Feb. 4, 2018
Requires: Indigo v7.0.2+
Changes in this release

fixed: If your unifi device ip#s end with eg 192.168.1.1 and 192.168.1..11 the numbers were not correctly handled: .1 was also executed for .11 in:

..." | grep " + ipnumber ...

it is now

..." | grep '" + ipUmber +" ' " ...

Added a space to the search to make sure that .1 does not cover .11

added:

== the plugin will now read the controller dict and extract info for all unifi devices and will setup new devices automatically (will need to restart the plugin) . you don't have to manually add an AP sw etc to config .. you still can do it manually if you like though.

== added some more reports to get controller database info to the indigo logfile (devices, clients, network ...)

* NOT changed* have thought about reading the unifi controller db instead of reading each unifi device db (ap, switches, gw) BUT the Controller info is not timely, and some info is not present. Good for some static info like which unifi device is present ... And some of the item names like "ip" have different meanings in the dict extracts from the databases .. but I am still exploring if we can use some more info .

Requirements

indigo 7

Release details
Released on: Feb. 1, 2018
Requires: Indigo v7.0.2+
Changes in this release

added some more options to print info from controller - health - unifi system device info - client info

changed: The gateway has 3+ ethernet ports. the plugin took the LAN ethernet mac number (port#2) to identify the device. unifi internally uses the first port mac # (wan0) to id the device. By switching you will see another gw_ device (with the wan mac#) created. The old one will expire and not be used anymore. You can delete it.

Requirements

Indigo 7

Release details
Released on: Jan. 31, 2018
Requires: Indigo v7.0.2+
Changes in this release

added functions as menu or action:

  1. re- connect wifi clients: same as clicking the "reconnect" button in the wireless client listing. It disconnects and reconnects a wifi device
  2. (un) block clients: this function does the same as clicking on the bock / unblock button in client listing = disable lan access for that client

Before usage you need to set in config: 1. ip # of controller 2. socket # of controller (default = 8433) 3. site name (default = "default")

when you switch on debug connections you will see the curl commands and the full responses in the logfile

Requirements

Indigo 7

Release details
Released on: Jan. 31, 2018
Requires: Indigo v7.0.2+
Changes in this release

added a force update of symbols to make sure that up is green ;down = grey; expired = red at startup

Requirements

indigo 7

Release details
Released on: Dec. 2, 2017
Requires: Indigo v6.1.5+
Changes in this release

improved menu for power cycle of POE ports: - now shows also the device name of the attached "client" - or select directly the "unifi Client" attached to a switch / port - can be done in an action or in the plugin menu

Requirements

indigo 6

Release details
Released on: Dec. 2, 2017
Requires: Indigo v6.1.5+
Changes in this release

improved menu for power cycle of POE ports, now shows also the device name of the attached "client"

Requirements

indigo 6+

Release details
Released on: Nov. 27, 2017
Requires: Indigo v5.0.0+
Changes in this release

base release

The docu is on indigos web site

Requirements

indigo v6