Ubiquiti Unifi Binding Feature Discussion

ubiquiti
unifi
Tags: #<Tag:0x00007f51df689f10> #<Tag:0x00007f51df689da8>

(Matthew) #847

Hey guys, anybody else other than @porthos having any issues with build #100?

I’d like to open a PR with the changes I’ve made so far.


(Thomas Kranz) #848

have the same issue


                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.5.0-SNAPSHOT
                               Build #1557

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.
                                                                                                                                                                                                                     openhab> bundle:list|grep unifi
openhab> bundle:list|grep -i unifi
232 x Active x  80 x 2.5.0.201903170725    x UniFi Binding
openhab>


(Matthew) #849

That’s not build #100

Should be 2.5.0.201903111759


(Thomas Kranz) #850

I have downgraded now but still no communication with the controller


  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.5.0-SNAPSHOT
                               Build #1555

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> bundle:list|grep -i unifi
263 x Active x  80 x 2.5.0.201903111759    x UniFi Binding
openhab>

Bridge  unifi:controller:home "UniFi Controller" [ host="192.168.0.5", port=8444, username="openhab", password="habopen", refresh=10 ] {
	Thing wirelessClient ThomasHandy "HandyThomas" [ cid="Handy Thomas", site="default", considerHome=180 ]
	Thing wirelessClient JuttaHandy "Handy Jutta" [ cid="Handy Jutta", site="default", considerHome=180 ]
	Thing wirelessClient FlorianHandy "Handy Florian" [ cid="Handy Florian", site="default", considerHome=180 ]
	Thing wirelessClient RonjaHandy "Handy Ronja" [ cid="Handy Ronja", site="default", considerHome=180 ]	
	Thing wirelessClient JonathanHandy "Handy Jonathan" [ cid="Handy Jonathan", site="default", considerHome=180 ]
	Thing wirelessClient EmelieHandy "Handy Emelie" [ cid="Handy Emelie", site="default", considerHome=180 ]
	Thing wirelessClient DaniHandy "Handy Dani" [ cid="Handy Dani", site="default", considerHome=180 ]
	Thing wirelessClient MarkusHandy "Handy Markus" [ cid="Handy Markus", site="default", considerHome=180 ]
	Thing wirelessClient MarlonHandy "Handy Marlon" [ cid="Handy Marlon", site="default", considerHome=180 ]
	Thing wirelessClient EricHandy "Handy Eric" [ cid="Handy Eric", site="default", considerHome=180 ]
	Thing wirelessClient TraudelHandy "Handy Traudel" [ cid="Handy Traudel", site="default", considerHome=180 ]
}
Switch   ThomasHandy           "Thomas  [MAP(unifi.map):%s]"          		(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:ThomasHandy:online" }
Switch   JuttaHandy           	"Jutta  [MAP(unifi.map):%s]"          		(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:JuttaHandy:online" }
Switch   FlorianHandy          "Florian  [MAP(unifi.map):%s]"          		(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:FlorianHandy:online" }
Switch   JonathanHandy         "Jonathan  [MAP(unifi.map):%s]"          	(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:JonathanHandy:online" }
Switch   EmelieHandy           "Emelie  [MAP(unifi.map):%s]"          		(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:EmelieHandy:online" }
Switch   RonjaHandy           	"Ronja  [MAP(unifi.map):%s]"          		(fritzbox,Anwesenheit_Thomas)     	{ channel="unifi:wirelessClient:home:RonjaHandy:online" }

Switch   DaniHandy           	"Dani  [MAP(unifi.map):%s]"          		(fritzbox)     						{ channel="unifi:wirelessClient:home:DaniHandy:online" }
Switch   MarkusHandy           "Markus  [MAP(unifi.map):%s]"          		(fritzbox)     						{ channel="unifi:wirelessClient:home:MarkusHandy:online" }
Switch   MarlonHandy           "Marlon  [MAP(unifi.map):%s]"          		(fritzbox)     						{ channel="unifi:wirelessClient:home:MarlonHandy:online" }
Switch   EricHandy           	"Eric  [MAP(unifi.map):%s]"          		(fritzbox)     						{ channel="unifi:wirelessClient:home:EricHandy:online" }
Switch   TraudelHandy          "Traudel  [MAP(unifi.map):%s]"          		(fritzbox)     						{ channel="unifi:wirelessClient:home:TraudelHandy:online" }

(Matthew) #851

@porthos and @4u2fast does the controller show ONLINE in the PaperUI?

If it does, then it should have at least logged in to the controller which means it’s not a “trust” issue. Can you two enable DEBUG logging so that we can dig further and figure out what’s going on?


(Thomas Kranz) #852

Yes, it shows online
i have added Debug lines and restarted OH but nothing in the logs
unifi.json is created but empty


(Porthos) #853

Yes, it does. The controller and phones(things) are online. When I use 2.4.0 jar file everything works with no issues.