UniFi WiFi AP: download

Posted on
Tue May 31, 2016 10:55 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

UniFi WiFi AP: download

====> new version from now on on the indigo plugin store: https://www.indigodomo.com/pluginstore/73/ <====












v 7.9.72
https://www.dropbox.com/s/5dmpsf5ipu60bbs/uniFiAP-v-7.9.72.zip?dl=0

the how to .. is in
http://forums.indigodomo.com/viewtopic.php?f=199&t=19365

discussion please in the discussion thread.


Karl


older versions:
https://www.dropbox.com/s/16qpdxhyg9cl5t7/uniFiAP-v-7.9.71.zip?dl=1
https://www.dropbox.com/s/nk5p2x1e48xmlw8/uniFiAP-v-7.9.70.zip?dl=1
https://www.dropbox.com/s/qo117fkakkdew68/uniFiAP-v-7.9.69.zip?dl=1
https://www.dropbox.com/s/cz74osnvjl7yl2z/uniFiAP-v-7.9.67.zip?dl=1
https://www.dropbox.com/s/xexpviicehaomhn/uniFiAP-v-7.9.65.zip?dl=
https://www.dropbox.com/s/ofmfx92dt95aao6/uniFiAP-v-7.9.64.zip?dl=1
https://www.dropbox.com/s/ot4dt4bkiyav622/uniFiAP-v-7.8.58.zip?dl=1
https://www.dropbox.com/s/ekl5ommcx1ucc90/uniFiAP-v-7.7.55.zip?dl=1
https://www.dropbox.com/s/d7pkv6a8r5h4qiw/uniFiAP-v-7.6.54.zip?dl=1
https://www.dropbox.com/s/km05z0xwfzvk4zz/uniFiAP-v-7.6.53.zip?dl=1
https://www.dropbox.com/s/7yocbxb5pulre67/uniFiAP-v-7.6.52.zip?dl=1
https://www.dropbox.com/s/y2gwb2zbpkr0vbf/uniFiAP-v-7.6.51.zip?dl=0
https://www.dropbox.com/s/hsprtu20s5e8882/uniFiAP-v-7.6.50.zip?dl=1
https://www.dropbox.com/s/ki1ui6gylmftt1m/uniFiAP-v-7.5.46.zip?dl=1
https://www.dropbox.com/s/e4xxpg2kqrx0e53/uniFiAP-v-7.5.45.zip?dl=0
https://www.dropbox.com/s/szzeftfppa4to7z/uniFiAP-v-7-5-44.zip?dl=1
https://www.dropbox.com/s/p84a7jj2pqbm22k/uniFiAP-v-7-4-43.zip?dl=1
https://www.dropbox.com/s/ci152wiafifnas6/uniFiAP-v-7-4-42.zip?dl=1
https://www.dropbox.com/s/abnt77e65r8hzoq/uniFiAP-v-7-4-39.zip?dl=1
https://www.dropbox.com/s/p5m1250n1ed1aer/uniFiAP-v-7-4-38.zip?dl=1
https://www.dropbox.com/s/2c7ucm16bwmbjb7/uniFiAP-v-7-4-37.zip?dl=0
https://www.dropbox.com/s/96vfeyz06to6u4x/uniFiAP-v-7-3-33.zip?dl=1
https://www.dropbox.com/s/tzqfm3bbysado6k/uniFiAP-v-7-2-32.zip?dl=1
https://www.dropbox.com/s/9n0ijxkfiw7fwmo/uniFiAP-v-7-1-31.zip?dl=1
https://www.dropbox.com/s/hwxt8fvi35nr96s/uniFiAP-v-7-0-30.zip?dl=1
https://www.dropbox.com/s/930s1wt8vgw3jgc/uniFiAP-v-7-0-29.zip?dl=1
https://www.dropbox.com/s/tiwjnnyaxw9dodq/uniFiAP-v-7-0-27.zip?dl=1
https://www.dropbox.com/s/l0yqz7s2ixat3op/uniFiAP-v-7-0-26.zip?dl=1
https://www.dropbox.com/s/l4rqsxu5do2fgn2/uniFiAP-v-7-0-25.zip?dl=0
https://www.dropbox.com/s/h14mwh2vuqfbx5b/uniFiAP-v-7-0-24.zip?dl=1
https://www.dropbox.com/s/x68rgh251hkysgm/uniFiAP-v-7-0-18.zip?dl=1
https://www.dropbox.com/s/rt6rzz5pj7xwgkq/uniFiAP-v-7-0-17.zip?dl=1
https://www.dropbox.com/s/vg4gfihansfhcir/uniFiAP-v-7-0-14.zip?dl=1
https://www.dropbox.com/s/6dabn0pgssebgco/uniFiAP-v-1-0-10.zip?dl=1
https://www.dropbox.com/s/ep0xhq48pc5x2bo/uniFiAP-v-1-0-8.zip?dl=0
https://www.dropbox.com/s/jyznavyypvjj1qy/uniFiAP-v-0-8-6.zip?dl=1
https://www.dropbox.com/s/45x4tq6tl5rlwlt/uniFiAP-v-0-7-1.zip?dl=1
https://www.dropbox.com/s/0zff91syc7v7thw/uniFiAP-v-0-6-2.zip?dl=1
https://www.dropbox.com/s/83h1n27ln3fiv9g/uniFiAP-v-0-6-1.zip?dl=1
https://www.dropbox.com/s/l2vky834l15c3fm/uniFiAP-v-0-5-1.zip?dl=1
https://www.dropbox.com/s/aer73rd9cnqhlwd/uniFiAP-v-0-2-5.zip?dl=1
https://www.dropbox.com/s/mobmo4rbyyf9egb/uniFiAP-v-0-2-3.zip?dl=1
Attachments
Screen Shot 2016-06-21 at 8.33.35 PM.png
Screen Shot 2016-06-21 at 8.33.35 PM.png (155.49 KiB) Viewed 23118 times
Screen Shot 2016-06-21 at 8.29.47 PM.png
Screen Shot 2016-06-21 at 8.29.47 PM.png (87.28 KiB) Viewed 23118 times
Screen Shot 2016-06-11 at 10.53.22 AM.png
Screen Shot 2016-06-11 at 10.53.22 AM.png (203.13 KiB) Viewed 23368 times
Screen Shot 2016-06-11 at 10.50.22 AM.png
Screen Shot 2016-06-11 at 10.50.22 AM.png (57.01 KiB) Viewed 23368 times
Screen Shot 2016-06-11 at 10.47.17 AM.png
Screen Shot 2016-06-11 at 10.47.17 AM.png (59.93 KiB) Viewed 23368 times
Screen Shot 2016-06-05 at 10.40.00 AM.png
Screen Shot 2016-06-05 at 10.40.00 AM.png (157.18 KiB) Viewed 23537 times

Posted on
Tue May 31, 2016 11:18 am
Korey offline
User avatar
Posts: 811
Joined: Jun 04, 2008
Location: Henderson, NV

Re: uniFi WiFi AP: download

Fantastic!

:D :D :D

Thanks Karl!

--
Korey

Posted on
Wed Jun 01, 2016 3:15 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.2.1

fixed:
- menu/configuration input now checks for empty fields
- removed some early debugging parameters
- worked on synchronizing the different inputs ( log files from x APs and the Dicts from the x APs) depending on timing devices could go up/down within 21-2 seconds (e.g. log file states down, while dict read about 1 second later still states up). Now there is a timer that watches the timings and should make sure that that will not happen.

added:
- added fingscan support (requires FS v >=4.19.1) Enable through an option in configuration
- added states:
== last StatusChange = time stamp when device went from up->down/expired or down/expired --> up
== txRate besides rxRate shown in Kbit units, eg 24000 is 24 Mbits
== better debug selections in config


Karl

Posted on
Wed Jun 01, 2016 5:29 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.2.2

fixed:
for SHORT ip numbers the error test was a false positive, now each test does a real test if each number is an integer and if we have 4 integers.
10.0.0.10 did not pass
192.168.1.3 did



Karl

this should do the right thing for all ip (version4) numbers
Code: Select all
   def checkIP(self, ip0):
        ipx = ip0.split(".")
        if len(ipx) != 4:
            return False
        else:
            for ip in ipx:
                try:
                    int(ip)
                except:
                    return False
        return True


Posted on
Thu Jun 02, 2016 4:41 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.2.5

added:
=you can change the Notes filed in device edit after the ip-number to anything you like. if empty it will be overwritten by the info from the APs
=option to send the log output to a file in ~/documents/unifi.
to switch on: enable log file to file at bottom of config

This is handy when you would like to understand how this thing works.

the following files will be created:
unifi.log -- out put from regular log file and system log file output from APs. when the log file is > 10MB it gets renamed to unifi-1.log and a new log file gets created. Two log files are kept.
dict-AP-x-Seq-y.txt <-- these are the dicts from the APs, each time a new dict gets read y gets incremented put to 10. then it starts again form 1

you can check the log file out put in a terminal with e.g.
cd ~/documents/unifi
tail -f unifi.log
tail -f unifi.log | grep ">>>" <-- this will only list the connect/ disconnect messages
tail -f unifi.log | grep " ---" <-- this will only list the system messages
tail -f unifi.log | grep "dict" <-- this will only list the log entries for dict retrieves

etc.

Karl

examples:

Code: Select all
 for ">>>"
 >>>> Jun  2 17:23:22 5-gameR daemon.info hostapd: ath1: STA 74:c2:46:b9:1a:7a IEEE 802.11: sta_stats
   >>>> Jun  2 17:23:22 5-gameR daemon.info hostapd: ath1: STA 74:c2:46:b9:1a:7a IEEE 802.11: disassociated
   >>>> Jun  2 17:23:22 5-gameR daemon.notice hostapd: AP-STA-DISCONNECTED 74:c2:46:b9:1a:7a

or for "  ---"

  ---- Jun  2 17:36:20 5-gameR authpriv.info dropbear[22732]: Exit (karlwachs): Disconnect received
   ---- Jun  2 17:37:20 3-Study authpriv.info dropbear[22837]: Child connection from 192.168.1.136:63721
   ---- Jun  2 17:37:22 3-Study authpriv.notice dropbear[22837]: Password auth succeeded for 'karlwachs' from 192.168.1.136:63721
   ---- Jun  2 17:37:22 3-Study authpriv.info dropbear[22837]: Exit (karlwachs): Disconnect received
   ---- Jun  2 17:37:22 4-kons authpriv.info dropbear[22837]: Child connection from 192.168.1.136:63726
   ---- Jun  2 17:37:24 5-gameR authpriv.info dropbear[22910]: Child connection from 192.168.1.136:63729
 

    dict from:192.168.1.5 hostname:5-gameR MAC:44:d9:e7:f9:c5:43 GHz:5  essid:5 channel:36  nStations:0  tx_power:23  radio:na
    dict from:192.168.1.5 hostname:5-gameR MAC:44:d9:e7:f9:c5:43 GHz:2  essid:2 channel:1  nStations:2  tx_power:30  radio:ng
    dict from:192.168.1.5 name:client-18:fe:34:a6:4d:5b MAC:18:fe:34:a6:4d:5b GHz:2 ip:192.168.1.177  txRate:52000 rxRate:1000  signal:-53  name:ESP_A64D5B  powerMgmt:True
    dict from:192.168.1.5 name:client-00:bb:3a:4f:8e:87 MAC:00:bb:3a:4f:8e:87 GHz:2 ip:192.168.1.138  txRate:19500 rxRate:1000  signal:-44  name:  powerMgmt:True
    getting dict for #3
    getting dict for #4

 

Posted on
Sat Jun 04, 2016 5:35 am
wiery offline
Posts: 288
Joined: Jun 02, 2008
Location: Ireland

Re: uniFi WiFi AP: download

Amazing work Karl, looking forward to installing later


Sent from my iPhone using Tapatalk

Posted on
Sat Jun 04, 2016 9:16 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

v 0.5.1 posted


fixed:
if your device name in the notes field started with a "-" it replicated the name every minute (_name_name_name..) not likely a common problem

added
+++new mode for the wifi clients:
== besides the regular mode with expiration timer to go to DOWN then to EXPIRED after a set time if no message (can now also be set individually for each device in device edit)
== "fastDown" mode. Device goes UP after a connect message received. it ONLY goes down after a "disconnect" message received. any info from the dicts is ignored for this mode.
this can be used to for switches and devices that do NOT go to sleep. you can test it on you phone by turning wifi on/off/on (must be 1 second apart) and see the reaction in the the status field.
+++ added new states:
== noise ( in dBm) should be compared to signal (signal - noise is ~RSSI)
== idle time gives you the # of seconds since last transmission from the device only updated with the dicts (i.e. 1/minutes depending on your setting in config)
+++ added some more features to the log file writing.
=== now the latest dict file is aways -0. 9 files are kept # 8 is the last
=== a little bit more management around what always goes to the indigo log file (basic start/ stop)


Karl

Posted on
Sat Jun 04, 2016 4:00 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

v 0.6.1 posted

fixed
-

added:
added neighbor wifi router info. It shows most of the available parameters in the AP- DICTS. If you have 2 or more APs they should show up too as neighbors.
Shown in the notes field with their SID

This gives you a good indication of the frequencies used and which things are around on a continuous basis. the RSSI value should be as low as possible from your neighbors. If they are > 15 you likely have a problem. (RSSI=10 is Signal/noise =10, 20=100, 30=1000, 1=1)

Karl

Found out that 2 of my neighbors have UNIFI equipment too. (the model and and model_display parameters are not blank)

Posted on
Sun Jun 05, 2016 6:00 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted 0.6.2

fixed:
error: uniFiAP in Line '689' has error=''key ipNumber not found in dict''

added
== option to ignore new neighbors
== added some info to the notes field for neighbor routers

Karl

Posted on
Sun Jun 05, 2016 7:25 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: uniFi WiFi AP: download

Cool.

Just bought a 3-pack of non-AC's for church on the back of the zero handover thread.

If they go well, I'll be getting one or two for home.

One of the church ones will accidentally come home for a month as its for an extension that doesn't exist yet ;) ;) ;)


Sent from my iPhone using Tapatalk

Posted on
Sun Jun 05, 2016 8:56 am
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: uniFi WiFi AP: download

howartp wrote:
Cool.

Just bought a 3-pack of non-AC's for church on the back of the zero handover thread.

If they go well, I'll be getting one or two for home.

One of the church ones will accidentally come home for a month as its for an extension that doesn't exist yet ;) ;) ;)


Sent from my iPhone using Tapatalk

One of the Commandments 11-15: "Thou shalt not covet thy church's APs."

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Jun 05, 2016 9:38 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: uniFi WiFi AP: download

Haha! :-)

I best bring home all my equipment that the Church has coveted then ;-


Sent from my iPhone using Tapatalk

Posted on
Sun Jun 05, 2016 9:44 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.7.1

added:
== symbols in status column for up=green, down= grey, expired= red
== added state "adhoc" in device types: neighbor = other wifi routers. This is to distinguish between regular router and you e.g. chrome cast that starts its own wifi for peer to peer communication
== expanded the parameter print in menu. now prints all parameters AND all devices with props and states

Karl

Posted on
Sat Jun 11, 2016 10:21 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.8.1


fixed:
some inconsistent state definitions (mac MAC etc)

changed:
device types are now
- WiFi
-DHCP
-Neighbor
-gateway
-Device-AP
-( in the future SWITCH + ..)

"Client" was replaced by "Wifi". When you upgrade the plugin the old "CLIENT" devices will still be there but inactive (dead) and new WiFi ones will be created. You need to rename them to your liking and delete the old "client" devices.
As there a more devices available now and more coming and they are all "clients" it made sense to distinguish them
Hope that is not too much trouble


added:
= "full" support for gateway with DHCP client info available (ip, uptime, "age", name, ..)
= added lookup for MAC number device vendor name (/usr/bin/curl http://api.macvendors.com mac# returns the vendor name) . This is done at startup, so the first time you load the plugin it might take a little bit longer to start.
= reduced the number of logins to AP and Gateway by doing a continuous loop on the AP and GW within EXPECT.
= reduced # of bytes send from AP and GW by removing leading spaces for the DICT dump with an sed filter (*)
= added besides fast down idleTime and AGE to trigger UP--> down. You now have a variety of options to check if a device is NOT up expiration time (common or individually) fast down/idletime/age. You need to figure out what works best for you.

Wifi devices will show up twice: once as a WIFI device and as a DHCP device and they behave differently as the information sources are different.

Wifi devices that stay connected even when they are asleep ( iPhones) can use either fast down (you turn off wifi) or expirationTime ( after xx seconds when nnot visible to wifi device)
another example are amazon dash buttons: When pressed to come alive send some packages and wait, still connected but don't send any more packages. you can use idleTime to trigger down


What is missing is the SWITCH info. ( If you have a unify switch) In my setup not all traffic comes by the gateway. Only internet Broadcasts and DHCP request. So a lan device might be not visible
to the Gateway if it only talks internally, besides requesting an IP number from the DHCP server. When I get the unify switch I will add that info.

Karl

(*)removing leading spaces for database formatted json dump with:
mca-dump | sed -e 's/^ *//'
>50% reduction, in my case 25k-40k --> less than 7k

Posted on
Sun Jun 12, 2016 6:49 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFi WiFi AP: download

posted v 0.8.4

this should fix the error "'Device' object has no attribute 'updateStateOnServers'"

Karl

ps
suggest to enable write logs to file in config. This gives a nice tool to check how the thing communicates and does not flood your indigo log file.
to open up the log file double click on on ~/documents/unifi/unifi.log

Who is online

Users browsing this forum: No registered users and 4 guests

cron