uniFi-WiFI-AP: discussions

Posted on
Fri May 18, 2018 4:12 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi-WiFI-AP: discussions

Ok that helps. It is restarting itself as it thinks “there are new devices ....”

Will check


And the version error is from indigoutilities that happens to check ITS version at that same period of time. And it finds the wrong version#



Sent from my iPhone using Tapatalk

Posted on
Fri May 18, 2018 4:46 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi-WiFI-AP: discussions

https://www.indigodomo.com/pluginstore/73/ v ...111 should fix that
Code: Select all
                for dev in indigo.devices.iter(self.pluginId+"props.isAP,props.isSwitch,props.isGateway"):  ### wrong
                for dev in indigo.devices.iter(self.pluginId+",props.isAP,props.isSwitch,props.isGateway"):  ### fixed

Karl

Posted on
Sun May 20, 2018 6:24 pm
roquej offline
User avatar
Posts: 609
Joined: Jan 04, 2015
Location: South Florida, USA

Re: uniFi-WiFI-AP: discussions

Karl,

V111 took care of the last issue. However, now we have:

"uniFiAP in Line '4304' has error='No JSON object could be decoded',receiving DICTs for 192.168.X.148; check unifi logfile; if this happens to often increase DICT timeout "

X.148 is an UniFi AP-AC-Pro

Thoughts?

JP

Posted on
Sun May 20, 2018 7:25 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi-WiFI-AP: discussions

How often?


Sent from my iPhone using Tapatalk

Posted on
Sun May 20, 2018 7:30 pm
roquej offline
User avatar
Posts: 609
Joined: Jan 04, 2015
Location: South Florida, USA

Re: uniFi-WiFI-AP: discussions

Only once so far. If it comes up again, will let you know.

JP

Posted on
Sun May 20, 2018 8:12 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi-WiFI-AP: discussions

once can happen , just some time out .. if it occurs again

check dict-AP#1-Seq-0.txt if that looks like a json dumps of a dict. some thing like this:
Code: Select all
{
  "antenna_table": [
    {
      "id": 4,
      "name": "Combined",
      "wifi0_gain": 3,
      "wifi1_gain": 3
    }
  ],
  "board_rev": 26,
  "bootid": 1,
  "bootrom_version": "unifi-v1.6.13.275-g65f82952",
  "cfgversion": "2f6904683eb85af6",
  "connect_request_ip": "192.168.1.4",
  "connect_request_port": "46559",
  "country_code": 840,
  "countrycode_table": [
    840,
    124,
    630
  ],
  "default": false,
  ...



And or set debug ssh on looks or
Code: Select all
/usr/bin/expect  "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/dictLoop.exp" usid pwd192.168.1.3 BZ.v xxxThisIsTheEndTokenxxx 60 40 "mca-dump | sed -e 's/^ *//'"   /var/log/messages


open terminal and copy and paste, use you userid and password and ip number

check out the response if it looks like a dict dump its ok :
Code: Select all
AP-0-study-BZ.v3.9.27# startxxxx

AP-0-study-BZ.v3.9.27# mca-dump | sed -e 's/^ *//'
{
"antenna_table": [
{
"id": 4,
"name": "Combined",
"wifi0_gain": 3,
"wifi1_gain": 3
}
],
"board_rev": 26,
"bootid": 1,
"bootrom_version": "unifi-v1.6.13.275-g65f82952",
"cfgversion": "b9f5a009cd1f2998",
"connect_request_ip": "192.168.1.3",
"connect_request_port": "44523",
"country_code": 840,
"countrycode_table": [
840,
124,
630
],
"default": false,
"discovery_response": false,
".....



Karl

Who is online

Users browsing this forum: No registered users and 2 guests