Current UnifAP plugin errors with UDM Pro.
Any chance you could look into this and maybe add support for the UDM Pro? Don't know if it is just a different path or if the
Also, another request that may be useful (if this can be done with Indigo) -- poll the device and copy down the backup file. on the UDM Pro, they're stored here: /data/unifi/data/backup. There is a meta.json with info on the backups there (manual for me now; auto probably in a few days).
Thanks!
Here's what startup looks like:
- Code: Select all
Feb 6, 2020 at 5:39:44 PM
uniFiAP myLogSet setting parameters -- logFileActive= ; logFile= /Library/Application Support/Perceptive Automation/Indigo 7.4/Preferences/Plugins/com.karlwachs.uniFiAP/plugin.log; debugLevel= ['all']
uniFiAP Warning restart GW ipNumber changed; VIDEO ipNumber changed;
uniFiAP resetDataStats called from postLoop
uniFiAP Warning getMessages: ListenProcess started for uType: SWdict; ip: 192.168.0.3 pid:12105
uniFiAP runConcurrentThread stopping plugin due to: ::::: config changed :::::
Reloading plugin "uniFiAP 7.26.169"
Stopping plugin "uniFiAP 7.26.169" (pid 11739)
uniFiAP Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Stopped plugin "uniFiAP 7.26.169"
Starting plugin "uniFiAP 7.26.169" (pid 12122)
uniFiAP initializing ...
uniFiAP path To files: =================
uniFiAP indigo /Library/Application Support/Perceptive Automation/
uniFiAP installFolder /Library/Application Support/Perceptive Automation/Indigo 7.4/
uniFiAP plugin.py /Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/
uniFiAP Plugin params /Library/Application Support/Perceptive Automation/Indigo 7.4/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.4/Logs/com.karlwachs.uniFiAP/plugin.log <<<< for detailed logging
uniFiAP Plugin short Name UniFi
uniFiAP my PID 12122
uniFiAP set params for indigo V 7.4
Started plugin "uniFiAP 7.26.169"
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.4/Preferences/Plugins/com.karlwachs.uniFiAP/plugin.log; debugLevel= ['all']
uniFiAP Error UNIFI executeCMDOnController error no json object: (wrong UID/passwd, ip number?) ...>>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"><link href="/2.css" rel="stylesheet"></head>
<body>
<div id="root"></div>
<script type="text/javascript" src="/vendor.270c6910.chunk.js"></script><script type="text/javascript" src="/main.0a9cc80e.js"></script></body>
</html>
<<
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 402 100 357 100 45 9153 1153 --:--:-- --:--:-- --:--:-- 10307
Connection
uniFiAP Error UNIFI executeCMDOnController error no json object: (wrong UID/passwd, ip number?) ...>>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"><link href="/2.css" rel="stylesheet"></head>
<body>
<div id="root"></div>
<script type="text/javascript" src="/vendor.270c6910.chunk.js"></script><script type="text/javascript" src="/main.0a9cc80e.js"></script></body>
</html>
<<
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 402 100 357 100 45 13222 1666 --:--:-- --:--:-- --:--:-- 15461