Maybe my bundle update procedure is wrong. Try stopping and uninstalling the existing bundle and restart OH. Then do a bundle:install [url] followed by a bundle:start "UniFi Binding" and see if that helps.
Actually, I believe your update procedure is fine. I can see a difference betwenn the version yesterday and the one from today. The previous one would kill the complete āControlā tab in the Paper UI, with the one from today, I just get a broken line for the āapā item. And, of course, the NPE stays
Iām running the same version in Docker using the linuxserver/unifi image
2 for 2 - I do the same thing and thatās the user Iāve been developing / testing with.
I added more TRACE logging to dump the raw JSON content coming back from the controller. Please update to the latest and configure your userdata/etc/org.ops4j.pax.logging.cfg like so:
@roryd I donāt see why it wouldnāt as the cloud key is just an embedded platform running what I believe is the same controller software. Are you having issues getting the latest binding working?
I havenāt been able to get the things to show as online. Iāve set up the things, items and sitemap files and also set up the unifi.log but although the items appear in the log file, none of them seem to be seen as attached to the network. Iām using the 1438 binding version from today, but I still canāt get it to work.
@roryd Did you enable TRACE level logging as shown here? If so, do you see JSON output in the unifi.log file? If you donāt mind sharing, Iād be happy to look through your log. You can send it via PM and please include your unifi.things and unifi.items definitions.
Without seeing the log file Iām afraid thereās not much more I can do to help you.
I have one device without a host name in my network (ānetatmoā) which shows the MAC of my AP as āAccess Pointā information, and the NullPointerException from the mqtt log is fixed too.
My other device (my phone) is not in the network right now, and all data for it is shown as ā-ā in the Paper UI. I will see what happens when I get home tonight.
After updating to todays version Iām getting JSON data aswel, and I get 20 clients found (I also have a unifi switch).
But the mac addresses I configured as things are not found, even though I can see them in the /sta JSON output.
I tried to specify the site, or leave it empty, but the result stays the same.
A cool addition would be to add the found clients to the inbox on the paperui?
I could always try and discover https://ubnt:ubnt@unifi:8443 since thatās the default
I highly doubt anyone using OH would ever leave it open like that ā¦ but you never know.
No, donāt try to discover the controller, we should configure that using the configure button on the binding ;), but after that discover the wired and wireless clients.
I believe it comes down to you two having wired clients and all my work has been under the assumption of wireless clients. Iām getting a USW-8 at the office soon so Iāll be able to better support both wired and wireless clients in the future.