Hello Markus,
I’m counting the same problem described by @dilisi. Shortly I got the “UNINITIALIZED” status for Shely HT sensors after system (RPI) reboot and the OH will not receive sensor’s updates . You can find details in my last post on the community:
Unknown status for Shelly H&T Sensor after reboot.
I found until now that if I’ll restart the OH2 service after a system reboot, the define ShellyThings will change the state in “ONLINE”. But If I will again restart the OH2 service the state will again become “UNKNOWN” and I received the following error:
2020-02-29 20:34:42.145 [hingStatusInfoChangedEvent] - ‘shelly:shellyht:f2b672’ changed from INITIALIZING to UNKNOWN
2020-02-29 20:34:42.156 [hingStatusInfoChangedEvent] - ‘shelly:shellyht:f2b670’ changed from INITIALIZING to UNKNOWN
==> /var/log/openhab2/openhab.log <==
2020-02-29 20:34:47.322 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.authorizationFailed(ShellyBaseHandler.java:616) ~[?:?]
at org.openhab.binding.shelly.internal.handler.ShellyBaseHandler.lambda$0(ShellyBaseHandler.java:134) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_222]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
Please let me know if I should use your developed builds (The official 2.5 SNAPSHOT build or your private 2.5 DEV build ) considering that I’m using now openHAB 2.5.1-2 (Release Build). Please let me know how to proceed next…
Thank you in advance!