Hello Karl,
The variable is not showing the IP address. Below is what it shows when I connected a new cell phone to my network.
UniFi_c4:9a:02:40:70:63/c4:9a:02:40:70:63/
Am I missing something?
Edmond
plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
UniFi =============plugin config Parameters========
debugLevel []
logFile /Users/karlwachs/indigo/unifi/UniFi.log
enableFINGSCAN False
enableBroadCastEvents all
ignoreNeighborForFing True
expirationTime 120 [sec]
sleep in main loop 4.0 [sec]
cpu used: 0:03.85
====== used in ssh userid@switch-IP, AP-IP, USG-IP to get DB dump and listen to events
UserID xxx
PassWd xx
promptOnServer -GW dict :~
promptOnServer -AP dict BZ.v
promptOnServer -SW dict US.v
promptOnServer -GW ctrl :~
promptOnServer -AP tail BZ.v
promptOnServer -GW tail :~
promptOnServer -SW tail US.v
GW tailCommand /usr/bin/tail -F /var/log/messages
GW dictCommand mca-dump | sed -e 's/^ *//'
SW tailCommand /usr/bin/tail -F /var/log/messages
SW dictCommand mca-dump | sed -e 's/^ *//'
AP tailCommand /usr/bin/tail -F /var/log/messages
AP dictCommand mca-dump | sed -e 's/^ *//'
read DB Dict every {GW:60,AP:60,SW:120} [sec]
restart listeners if NoMessage for 180[sec]
====== CONTROLLER WEB ACCESS , set parameters and reporting
curl data={WEB-UserID:..,WEB-PassWd:..} https://controllerIP: ..--------------
WEB-UserID xx
WEB-PassWd xx
Mode: off, ON, reports only ON
Controller port# 8443
Controller site Name# default
Controller API WebPage /api/s/
get blocked client info from Cntr every 20[sec]
====== VIDEO / camera NVR stuff ----------------------
= get camera DB config and listen to recording event logs
ssh NVR-UNIXUserID@NVR-IP
NVR-UNIXUserID xx
NVR-UNIXpasswd xx
promptOnServer -VD dict vbox-unifi
promptOnServer -VD tail vbox-unifi
VD tailCommand /usr/bin/tail -F /var/lib/unifi-video/logs/motion.log
VD dictCommand not implemented
= getting snapshots and reading and changing parameters
curl data={WEB-UserID:..,WEB-PassWd:..} https://NVR-IP#: .... for commands and read parameters
requests(http://IP-NVR:7080/api/2.0/snapshot/camera/**camApiKey**?force=true&width=1024&apiKey=nvrAPIkey,stream=True) for snap shots
NVR-WEB-UserID xx
NVR-WEB-passWd xx
NVR-API Key 0yBmxxz2QCi8ISvCP
AP ip# enabled / disabled
192.168.1.3 True
192.168.1.4 True
192.168.1.5 True
192.168.1.6 False
192.168.1.x False
SW ip#
192.168.1.10 True
192.168.1.11 True
192.168.1.12 True
192.168.1.13 True
192.168.1.19 True
192.168.1.15 True
192.168.1.16 True
192.168.1.17 True
192.168.1.18 True
192.168.1.19 True
192.168.1.7 False
192.168.1.1 True USG/UGA gateway/router
192.168.1.9 Controller / cloud Key IP#
192.168.1.60 Video NVR-IP#
----------------------------------------------------
UniFi =============plugin config Parameters======== END
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, mostly cosmetics
3. fixed un-ignore device menu option
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
Users browsing this forum: No registered users and 5 guests