[smartmeter] Binding causes openHAB to crash
See original GitHub issueI’ve installed openhab 2.4 stable.
When i define a sml reader thing (smartmeter 2.4 binding) my complete openhab crashes and restarts itself. This happens as long as the thing exists (openhab start -> 30 seconds -> openhab restart). When i delete the smartmeter sml thing everything is fine.
I went back and deleted the new smartmeter binding and installed a jar for openhab 2.3 from marketplace smartmeter binding -> Everything runs smooth with this.
Current Behavior
2018-12-29 17:33:13.058 [WARN ] [ding.smartmeter.internal.MeterDevice] - Failed to read: The source did not signal an event for 30 seconds and has been terminated.. Closing connection and trying again in 2 seconds...; smartmeter:meter:23055963
java.util.concurrent.TimeoutException: The source did not signal an event for 30 seconds and has been terminated.
at io.reactivex.internal.operators.flowable.FlowableTimeoutTimed$TimeoutSubscriber.onTimeout(FlowableTimeoutTimed.java:139) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.operators.flowable.FlowableTimeoutTimed$TimeoutTask.run(FlowableTimeoutTimed.java:170) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:260) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:225) [240:org.openhab.binding.smartmeter:2.4.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2018-12-29 17:33:27.620 [WARN ] [org.apache.felix.fileinstall ] - \usr\share\openhab2\addons does not exist, please create it.
2018-12-29 17:33:27.642 [WARN ] [org.apache.felix.fileinstall ] - Root path does not exist: E:\usr\share\openhab2\addons
2018-12-29 17:33:31.799 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-12-29 17:33:35.320 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
Steps to Reproduce (for Bugs)
- Create new Smartmeter thing
Your Environment
- Version used: 2.4 stable
- Windows 10 1809
Issue Analytics
- State:
- Created 5 years ago
- Comments:34
Top Results From Across the Web
Smartmeter binding causes OH crash - Bindings - openHAB ...
I've installed openhab 2.4 stable. When i define a sml reader thing my complete openhab crashes and restarts itself. This happens as long...
Read more >[smartmeter] Binding hangs after protocol error #6762 - GitHub
Hello, I am using the smartmeter binding version 2.5.0. ... IR Reader catch up some wrong characters which lets the smartmeter parser crash....
Read more >Support for reading Dutch Smart Meter (electricity/gas) (P1 port)
Domoticz and OpenHAB already both support the system. Lack of support is for me the only reason not to switch to home assistant....
Read more >openHAB - Bountysource
This workaround was added in https://github.com/openhab/org.openhab.binding.zwave/pull/1222 by @bodiroga. The workaround causes serial port detection issues ...
Read more >Open-source Network Monitoring Center for Mobile Devices
of bindings openHAB users can e.g. access Asterisk commu-. nications software or connect to ... It also makes sure that the state is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@s4ndst0rm: thanks for confirmation and the good bug report with your support.
@melvinisken: can you please also verify if it’s working for you now?
Hi, since a few months my binding only works for a few minutes than it stop working.
Someone with the same bug or with an hint? Updates (now 2.5.7) / reboots / reconfigure don’t work.
My log: `2020-07-29 22:32:02.256 [ERROR] [ding.smartmeter.internal.MeterDevice] - Meter listener failed java.lang.IllegalArgumentException: ID segment '�-0-0-0_255’ contains invalid characters. Each segment of the ID must match the pattern [A-Za-z0-9-]*. at org.eclipse.smarthome.core.common.AbstractUID.validateSegment(AbstractUID.java:97) ~[bundleFile:?] at org.eclipse.smarthome.core.common.AbstractUID.<init>(AbstractUID.java:75) ~[bundleFile:?] at org.eclipse.smarthome.core.common.AbstractUID.<init>(AbstractUID.java:58) ~[bundleFile:?] at org.eclipse.smarthome.core.thing.UID.<init>(UID.java:57) ~[bundleFile:?] at org.eclipse.smarthome.core.thing.type.ChannelTypeUID.<init>(ChannelTypeUID.java:50) ~[bundleFile:?] at org.openhab.binding.smartmeter.internal.SmartMeterChannelTypeProvider.getChannelType(SmartMeterChannelTypeProvider.java:91) ~[bundleFile:?] at org.openhab.binding.smartmeter.internal.SmartMeterChannelTypeProvider.valueChanged(SmartMeterChannelTypeProvider.java:74) ~[bundleFile:?]
… at io.reactivex.internal.operators.flowable.FlowableCreate$NoOverflowBaseAsyncEmitter.onNext(FlowableCreate.java:403) [bundleFile:?] at org.openhab.binding.smartmeter.internal.iec62056.Iec62056_21SerialConnector$1.newDataMessage(Iec62056_21SerialConnector.java:103) [bundleFile:?] at org.openmuc.j62056.Iec21Port$ModeDReceiver.run(Iec21Port.java:71) [bundleFile:?]`