Hi all, and firstly thanks (especially Seaside) for the time and effort you’ve put into developing and supporting this binding.
I’m hoping for some help though. So far I’ve only managed to get it to work for a short period of time, and it seems to just stop functioning after the first event it sees. Completely removing devices and the binding, and re-installing seems to get it back up and running, but then it just lasts for a single event again, and then is completely non-functional again.
Here’s some output I hope might help. There seems to be some issue with Java, but it’s the recommended version for Openhab I believe, and trying a later version didn’t seem to help (made quite a mess actually).
[openhab.log Note: I’ve de-identified the login credentials]
2022-07-05 10:04:45.773 [INFO ] [otect.internal.model.UniFiProtectNvr] - Initializing the binding, with config: UniFiProtectNvrThingConfig [host=..., username=, password=*******, refresh=60, eventsTimePeriodLength=30, thumbnailWidth=640.0, imageFolder=/var/lib/openhab/tmp, g4SnapshotWidth=3840, g4SnapshotHeight=2160, defaultSnapshotWidth=1920, defaultSnapshotHeight=1080, g4SnapshotWidthAsString=3840, g4SnapshotHeightAsString=2160, defaultSnapshotWidthAsString=1920, defaultSnapshotHeightAsString=1080]
2022-07-05 10:05:46.214 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoSuchMethodError: ‘void org.openhab.core.library.types.DecimalType.(java.lang.Number)’
at org.openhab.binding.unifiprotect.internal.thing.UniFiProtectNvrThingHandler.refreshChannel(UniFiProtectNvrThingHandler.java:301) ~[?:?]
at org.openhab.binding.unifiprotect.internal.thing.UniFiProtectNvrThingHandler.refreshNvrChannels(UniFiProtectNvrThingHandler.java:232) ~[?:?]
at org.openhab.binding.unifiprotect.internal.thing.UniFiProtectNvrThingHandler.refresh(UniFiProtectNvrThingHandler.java:210) ~[?:?]
at org.openhab.binding.unifiprotect.internal.thing.UniFiProtectNvrThingHandler.run(UniFiProtectNvrThingHandler.java:172) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
2022-07-05 10:06:13.009 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘unifiprotect:g3camera:096b8c1ec5:68D79AE4B6A8’ to inbox.
2022-07-05 10:06:13.009 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘unifiprotect:g4doorbell:096b8c1ec5:68D79ACF5891’ to inbox.
2022-07-05 10:06:13.010 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘unifiprotect:g3camera:096b8c1ec5:68D79AE4B21F’ to inbox.
2022-07-05 10:15:02.008 [WARN ] [l.thing.UniFiProtectBaseThingHandler] - Failed to find event fo eventId: 62c40f06026a850387028453 cacheSize: 1
2022-07-05 10:15:02.056 [WARN ] [l.thing.UniFiProtectBaseThingHandler] - Failed to find event fo eventId: 62c40f06026a850387028453 cacheSize: 1
[java --version]
openjdk 11.0.15 2022-04-19 LTS
OpenJDK Runtime Environment Zulu11.56+19-CA (build 11.0.15+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.56+19-CA (build 11.0.15+10-LTS, mixed mode)
[openhab-cli info]
Version: 3.2.0 (Build)
User: openhab (Active Process 183786)
User Groups: openhab tty dialout audio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
OPENHAB_CONF | /etc/openhab | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab | openhab:openhab
[Unifi]
UniFi OS UDM Pro 1.12.22
Protect 2.0.1
Any suggestions much appreciated.
Cheers