albauer
(Alexander Bauer)
December 4, 2020, 10:22am
1
Hi,
I am using OH3 M4.
The Unifi Binding throws an “java.lang.IllegalArgumentException” and is not working “COMM:ERROR”.
Error:
Unhandled exception while refreshing the UniFi Controller unifi:controller:bauers - java.lang.IllegalArgumentException: Buffering capacity 2097152 exceeded
Unifi Controller: 6.0.41 (Build: atag_6.0.41_14327)
Compacting controllers database didn’t solve the issue.
Any ideas?
Alexander
Dibbler42
(Thomas Bail)
December 4, 2020, 11:05am
2
Could you post your configuration, since i updated to 6…0.4? controller i didi not get any connection.
albauer
(Alexander Bauer)
December 4, 2020, 11:56am
3
@Dibbler42
Thing is configured in textfile “unifi.things”:
Bridge unifi:controller:bauers "UniFi Controller" @ "Unifi" [ host="172.20.1.20", port=8443, username="xxxxx", password="yyyy", refresh=10 ] {
Thing client OnePlus2_Alexander "Alexander OnePlus2 Private" [ mac="c0:ee:xx:xx:xx:xx", considerHome=180 ]
}
Unifi controller can be reached from machine running openhab:
PING 172.20.1.20 (172.20.1.20) 56(84) bytes of data.
64 bytes from 172.20.1.20: icmp_seq=1 ttl=63 time=4.11 ms
64 bytes from 172.20.1.20: icmp_seq=2 ttl=63 time=4.04 ms
Alexander
Dibbler42
(Thomas Bail)
December 4, 2020, 12:45pm
4
Thanks for the configuration. Mine is of the same kind so that seams not the problem.
Controller is reachable, but
And no information in the logs. I will try that again with debug loglevel
Seaside
(Seaside)
December 4, 2020, 12:49pm
5
For cloudkey unifi os is a big change with firmware.2.0.18 and above. I have fixed this for the unifiprotect binding, see details here:
opened 04:51PM - 18 Mar 20 UTC
Discussed here:
https://community.openhab.org/t/ubiquiti-unifi-binding-feature-discussion/14520/1013?u=mgbowman
bug
Dibbler42
(Thomas Bail)
December 4, 2020, 1:20pm
6
That is maybe the reason. Is there a development build og the binding to test thing. I run Cloud Key 2 plus with 2.0.22 an controller 6.041
albauer
(Alexander Bauer)
December 4, 2020, 1:26pm
7
Hi,
I’m not using UDM/ UDM-Pro or CloudKey. My controller “lives” in his own VM.
Interestingly it woks on my OH 2.5 installation …
Just saw, that an issue has been filed:
opened 09:59PM - 05 Nov 20 UTC
Hi,
I have been unable to use your binding for a while due to the error below:
21:54:33.763 [WARN ] [l.handler.UniFiControllerThingHandler] - Unhandled...
bug
Seems to be equivalent/ possible same root cause:
opened 03:29PM - 05 Feb 20 UTC
closed 08:54AM - 26 Apr 20 UTC
I am trying to connect openhab to my homematic setup (>100 HmIP Devices).
When i started with less devices it worked just...
bug
and proposed solution here:
java, jetty, jetty-9
Alexander