mgbowman / openhab-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
13 stars 2 forks source link

Add experience channel #8

Closed mgbowman closed 4 years ago

mgbowman commented 4 years ago

Discussed here:

https://community.openhab.org/t/ubiquiti-unifi-binding-feature-discussion/14520/1023?u=mgbowman

mgbowman commented 4 years ago

This is now supported

# unifi.things
Bridge unifi:controller:home "UniFi Controller" [ host="unifi", port=8443, username="$username", password="$password", refresh=10 ] {
    Thing wirelessClient matthewsPhone "Matthew's iPhone" [ cid="$mac", site="default", considerHome=180 ]   
}

# unifi.items
Number MatthewsExperience "Experience: [%d%%]" { channel="unifi:wirelessClient:home:matthewsPhone:experience" }

I will update the README shortly.

mgbowman commented 4 years ago