Hi, I'd like to report a potential compatibility issue with OH 4.0. The binding seems to connect to the thermosats without issue, however in the log I observe the below error, and it looks like the binding is not able to pull data from wavin (which I'm not sure if due to the below error):
2023-08-11 22:46:58.456 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoSuchMethodError: 'void org.openhab.core.library.types.DecimalType.(long)'
at org.openhab.binding.zmartmodbus.internal.protocol.converter.ModbusBaseConverter.fromModbusToState(ModbusBaseConverter.java:95) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory.lambda$0(ModbusFactory.java:230) ~[?:?]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory.updateDataSet(ModbusFactory.java:188) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory$2.onNext(ModbusFactory.java:169) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory$2.onNext(ModbusFactory.java:1) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController.lambda$6(ModbusController.java:190) ~[?:?]
at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableFilter$FilterSubscriber.tryOnNext(FlowableFilter.java:74) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableFilter$FilterSubscriber.onNext(FlowableFilter.java:52) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch(FlowablePublish.java:562) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onNext(FlowablePublish.java:246) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.drain(FlowableCreate.java:547) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.onNext(FlowableCreate.java:471) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController$6.modbusMessage(ModbusController.java:85) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusHandler$1.onNext(ModbusHandler.java:107) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusHandler$1.onNext(ModbusHandler.java:1) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController.lambda$4(ModbusController.java:184) ~[?:?]
at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch(FlowablePublish.java:562) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onNext(FlowablePublish.java:246) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.drain(FlowableCreate.java:547) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.onNext(FlowableCreate.java:471) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController$5.modbusAction(ModbusController.java:65) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusActionFeed.lambda$3(ModbusActionFeed.java:88) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusActionFeed.execFastActions(ModbusActionFeed.java:87) ~[?:?]
at org.openhab.binding.zmartmodbus.handler.ModbusBridgeHandler$3.run(ModbusBridgeHandler.java:207) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
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:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Hope somebody can help with a fix! Thank you and appreciated!
Hi, I'd like to report a potential compatibility issue with OH 4.0. The binding seems to connect to the thermosats without issue, however in the log I observe the below error, and it looks like the binding is not able to pull data from wavin (which I'm not sure if due to the below error): 2023-08-11 22:46:58.456 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: java.lang.NoSuchMethodError: 'void org.openhab.core.library.types.DecimalType.(long)'
at org.openhab.binding.zmartmodbus.internal.protocol.converter.ModbusBaseConverter.fromModbusToState(ModbusBaseConverter.java:95) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory.lambda$0(ModbusFactory.java:230) ~[?:?]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory.updateDataSet(ModbusFactory.java:188) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory$2.onNext(ModbusFactory.java:169) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusFactory$2.onNext(ModbusFactory.java:1) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController.lambda$6(ModbusController.java:190) ~[?:?]
at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableFilter$FilterSubscriber.tryOnNext(FlowableFilter.java:74) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableFilter$FilterSubscriber.onNext(FlowableFilter.java:52) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch(FlowablePublish.java:562) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onNext(FlowablePublish.java:246) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.drain(FlowableCreate.java:547) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.onNext(FlowableCreate.java:471) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController$6.modbusMessage(ModbusController.java:85) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusHandler$1.onNext(ModbusHandler.java:107) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusHandler$1.onNext(ModbusHandler.java:1) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController.lambda$4(ModbusController.java:184) ~[?:?]
at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch(FlowablePublish.java:562) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onNext(FlowablePublish.java:246) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.drain(FlowableCreate.java:547) ~[?:?]
at io.reactivex.internal.operators.flowable.FlowableCreate$BufferAsyncEmitter.onNext(FlowableCreate.java:471) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.controller.ModbusController$5.modbusAction(ModbusController.java:65) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusActionFeed.lambda$3(ModbusActionFeed.java:88) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131) ~[?:?]
at org.openhab.binding.zmartmodbus.internal.factory.ModbusActionFeed.execFastActions(ModbusActionFeed.java:87) ~[?:?]
at org.openhab.binding.zmartmodbus.handler.ModbusBridgeHandler$3.run(ModbusBridgeHandler.java:207) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
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:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Hope somebody can help with a fix! Thank you and appreciated!