Page 1 of 1

Indigo Log errors

PostPosted: Mon Nov 18, 2019 12:46 pm
by Different Computers
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

Re: Indigo Log errors

PostPosted: Wed Nov 20, 2019 1:00 am
by srkinard
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.

Re: Indigo Log errors

PostPosted: Wed Nov 20, 2019 3:39 pm
by Different Computers
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?

Re: Indigo Log errors

PostPosted: Wed Nov 20, 2019 3:52 pm
by srkinard
The Dream Machine is basically a combo USG and CloudKey, so I would think it all will work as is.

Re: Indigo Log errors

PostPosted: Wed Nov 20, 2019 5:28 pm
by kw123
well you can have both USG and the controller

the controller returns basic info
the USG performance / uptime info

Karl