Indigo Log errors

Posted on
Mon Nov 18, 2019 12:46 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Indigo Log errors

These are happening regularly, and often. I've double checked my USG login via command line, and it's correct.Same for the IP address.

Code: Select all
  uniFiAP                         myLogSet setting parameters -- logFileActive= ; logFile= /Library/Application Support/Perceptive Automation/Indigo 7.3/Preferences/Plugins/com.karlwachs.uniFiAP/plugin.log;  debugLevel= []
   uniFiAP Warning                 restart  apPrompt changed swPrompt changed VIDEO ipNumber   changed;
   uniFiAP                          resetDataStats called from postLoop
   uniFiAP                         runConcurrentThread stopping plugin due to:  ::::: config changed :::::
   Reloading plugin "uniFiAP 7.26.168"
   Stopping plugin "uniFiAP 7.26.168" (pid 80153)
   uniFiAP Error                   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Stopped plugin "uniFiAP 7.26.168"
   Starting plugin "uniFiAP 7.26.168" (pid 80921)
   uniFiAP                         initializing    ...
   uniFiAP                         path To files:          =================
   uniFiAP                         indigo                  /Library/Application Support/Perceptive Automation/
   uniFiAP                         installFolder           /Library/Application Support/Perceptive Automation/Indigo 7.3/
   uniFiAP                         plugin.py               /Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/
   uniFiAP                         Plugin params           /Library/Application Support/Perceptive Automation/Indigo 7.3/Preferences/Plugins/com.karlwachs.uniFiAP/
   uniFiAP Warning                 logger  enabled for     WARNING        ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     ERROR          ==> TEST ONLY
   uniFiAP Critical Error          logger  enabled for     CRITICAL       ==> TEST ONLY
   uniFiAP                         check                   /Library/Application Support/Perceptive Automation/Indigo 7.3/Logs/com.karlwachs.uniFiAP/plugin.log  <<<<    for detailed logging
   uniFiAP                         Plugin short Name       UniFi
   uniFiAP                         my PID                  ###21
   uniFiAP                         set params for indigo V 7.3
   Started plugin "uniFiAP 7.26.168"
   uniFiAP                         testing if variable enableTimeTracking_UniFi is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
   uniFiAP                         myLogSet setting parameters -- logFileActive= ; logFile= /Library/Application Support/Perceptive Automation/Indigo 7.3/Preferences/Plugins/com.karlwachs.uniFiAP/plugin.log;  debugLevel= []
   uniFiAP Error                   UNIFI executeCMDOnController error no json object: (wrong UID/passwd, ip number?) ...>><<
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to 192.168.0.1 port 8443: Connection refused
 Connection
   uniFiAP Error                   UNIFI executeCMDOnController error no json object: (wrong UID/passwd, ip number?) ...>><<
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to 192.168.0.1 port 8443: Connection refused
 Connection
   uniFiAP                          start   runConcurrentThread, initializing loop settings and threads ..
   uniFiAP Error                   UNIFI executeCMDOnController error no json object: (wrong UID/passwd, ip number?) ...>><<
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to 192.168.0.1 port 8443: Connection refused
 Connection
   uniFiAP                         initialized ... looping

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Wed Nov 20, 2019 1:00 am
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Indigo Log errors

What IP address do you have the plugin pointed at?

You wouldn't set the IP address to the USG, you would set it to the UniFi controller's IP (CloudKey or other system running the controller software.)

The USG won't contain the databases needed...

I haven't set up the UniFi plugin yet since I moved and my whole network is now UniFI stuff (USG Pro, switches, AC Pro APs, etc.) so I can't contribute too much at this point.

Posted on
Wed Nov 20, 2019 3:39 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: Indigo Log errors

That would do it!

I don't have a cloud key. I keep the controller sw running on a mac 24/7.

No idea how this got set wrong. My brain must be melting. Seems the plugin had been getting all its info from the AP, and none of it from the USG.

Speaking of USG's, I'm close, so close to getting symmetric gigabit ethernet, and looking hard at the Dream Machine to replace the USG. Will there be any issues in incorporating a Dream Machine into the plugin?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Wed Nov 20, 2019 3:52 pm
srkinard offline
Posts: 320
Joined: Apr 10, 2016
Location: Austin, Texas

Re: Indigo Log errors

The Dream Machine is basically a combo USG and CloudKey, so I would think it all will work as is.

Posted on
Wed Nov 20, 2019 5:28 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Indigo Log errors

well you can have both USG and the controller

the controller returns basic info
the USG performance / uptime info

Karl
Attachments
Screen Shot 2019-11-20 at 17.25.16.png
Screen Shot 2019-11-20 at 17.25.16.png (175.99 KiB) Viewed 1218 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests