Unifi binding

Tags: #<Tag:0x00007efeddc6b118> #<Tag:0x00007efeddc6b028> #<Tag:0x00007efeddc6ae98>

Hello,

I’ve installed the unifi binding and I couldn’t get it to work. This is my item:

Server_Jeroen.items:

Contact	Server_Jeroen "Jeroen [MAP(unifi.map):%s]" <presence> (gUnifi) {channel="unifi:client:Unifi_Controller:Server_Jeroen:online"}

and my Thing:

Unifi_Controller.things:


Bridge unifi:controller:Unifi_Controller "Unifi Controller:hier" [host="192.168.1.5", username="username", password="xxxx", port=8443, refresh=10]
{
    Thing client Server_Jeroen "Jeroen"	[mac="10:44:00:95:c0:b6", considerHome=180]
}

and my sitemap:

Text item=Server_Jeroen

I can’t figure out what i"m doing wrong. I used a contact and even a switch but it doesn’t work.

Hi,

Consider taking out your pwd+Login from your post.

Try

Bridge unifi:controller:home "Unifi Controller:hier" [host="192.168.1.5", username="x", password="y", port=8443, refresh=10]

this is the only thing I have different from your configuration.

Kurt

just a note (I haven’t tested this myself): the binding will not monitor LAN hosts… only WLAN ones

Ref: Ubiquiti Unifi Binding Feature Discussion

You can use the network binding if you want to monitor your server

I believe this is true.

It seems to only pull clients from aps, rather than all, for if you have a USG/switch.

Thanks Kurt I did remove my username and password. That was a bit stupid.

@Dim the item Server_Jeroen is my phone. So it’s a wireless client