SML Reader - how to integrate

sudo -u openhab jstack 23519 > /home/holger/jstack_f_output worked.
openhab ist the user running openhab2.

See attached output.
jstack_f_output.xml (135.2 KB)

Anything, else?

The binding was already executed before you created the output, right?
Can you check the smartmeter bindings state? You can do this in the karaf console with bundle:list.

What just came in my mind: which version of OH are you using? The binding just works with a quite recent snapshot version of OH 2.4 (~2 weeks old)

Yes it was already executed.
The bindings state is still active:

214 β”‚ Active   β”‚  80 β”‚ 1.12.0                 β”‚ openHAB Serial Binding
216 β”‚ Active   β”‚  80 β”‚ 0.10.0.oh230           β”‚ YahooWeather Binding
218 β”‚ Active   β”‚  80 β”‚ 2.4.0.201810311653     β”‚ Smartmeter Binding

But I’am running the 2.3 release build.

                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.3.0
                               Release Build

I’am not sure if it’s a good idea to run a snapshot as a OH-newbie.
I think I’ll wait for the 2.4 release and try the binding then again.
Next week I’ll get my first Z-Wave switches, exciting other stuff to shorten the waiting time.

@msteigenberger: Many thanks for supporting me. And many thanks for sharing your binding. I’m looking forward to the 2.4 release.

My problem was:

Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR org.eclipse.smarthome.io.transport.serial.SerialPort.setFlowControlMode(I)V

With an Update to Version 2.4. my error is fixed, SML Binding works really good now.

@msteigenberger, thanks for your helping and the right tip. (checking my logs)

@DennisVonDerBey: I think I found your problem. If you had a slow refresh rate, a buffer was filled with the readings (as the meter is always sending values without requesting). Depending on the size of the buffer, it could happen that several hundreds of SML files are in the buffer and the binding is always only reading the oldest one. The more the buffer filled, the more you’re behind.
I now read out the whole buffer on every refresh rate and only take care of the last SML file. Hope you can test this.
Thanks!

Having the same buffer lag issue here.

I now read out the whole buffer on every refresh rate and only take care of the last SML file. Hope you can test this.

Is this something that can be changed in the preferences somewhere? Or will there be a new version of the binding in the marketplace?

There is a new version of the binding build and available in the marketplace:

It should directly fix the issue.

I removed my old meterreader 2.3.0 jar-file from my addons-folder and added the new smartmeter 2.4.0 jar-file to it.

But now nothing is working anymore because of the changed name of the binding.

If i want to add my meterreader in paper ui, i get a β€œzwave usb dongle tpuart…” is this the right thing to add? But there is nothing to set up the thing like before?

Can you tell me, how to make a things file on my own? I canΒ΄t find a manual to do this.

What is the link to the readme.md ???

You can still add things like before. Seems like the binding was not started (maybe because of a not resolved dependency). Can you share the log?

debian@debian:~$ ssh openhab@localhost -p 8101
Password authentication
Password:

                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.4.0-SNAPSHOT
                               Build #1412

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID β”‚ State    β”‚ Lvl β”‚ Version                β”‚ Name
────┼──────────┼─────┼────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 20 β”‚ Active   β”‚  80 β”‚ 5.3.1.201602281253     β”‚ OSGi JAX-RS Connector
 21 β”‚ Active   β”‚  80 β”‚ 2.7.0.v20170129-0911   β”‚ Gson: Google Json Library for Java
 22 β”‚ Active   β”‚  80 β”‚ 15.0.0                 β”‚ Guava: Google Core Libraries for Java
 23 β”‚ Active   β”‚  80 β”‚ 3.0.0.v201312141243    β”‚ Google Guice (No AOP)
 24 β”‚ Active   β”‚  80 β”‚ 3.18.1.GA              β”‚ Javassist
 26 β”‚ Active   β”‚  80 β”‚ 3.5.4                  β”‚ JmDNS
 28 β”‚ Active   β”‚  80 β”‚ 1.0.0                  β”‚ Units of Measurement API
 30 β”‚ Active   β”‚  80 β”‚ 1.1.0.Final            β”‚ Bean Validation API
 31 β”‚ Active   β”‚  80 β”‚ 2.0.1                  β”‚ javax.ws.rs-api
 32 β”‚ Active   β”‚  80 β”‚ 3.2.0.v201101311130    β”‚ ANTLR Runtime
 35 β”‚ Active   β”‚  80 β”‚ 3.2.1                  β”‚ Commons Collections
 36 β”‚ Active   β”‚  80 β”‚ 1.1                    β”‚ Commons Exec
 37 β”‚ Active   β”‚  80 β”‚ 2.2.0                  β”‚ Commons IO
 38 β”‚ Active   β”‚  80 β”‚ 2.6                    β”‚ Commons Lang
 47 β”‚ Active   β”‚  80 β”‚ 4.2.1                  β”‚ Apache Karaf :: OSGi Services :: Event
 63 β”‚ Active   β”‚  80 β”‚ 4.6.0                  β”‚ Apache XBean OSGI Bundle Utilities
 64 β”‚ Active   β”‚  80 β”‚ 4.6.0                  β”‚ Apache XBean :: Classpath Resource Finder
 65 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF Common
 66 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF Ecore
 67 β”‚ Active   β”‚  80 β”‚ 2.11.0.v20160420-0247  β”‚ EMF Change Model
 68 β”‚ Active   β”‚  80 β”‚ 2.12.0.v20160420-0247  β”‚ EMF XML/XMI Persistence
 69 β”‚ Active   β”‚  80 β”‚ 3.8.0.v20160509-1230   β”‚ Common Eclipse Runtime
 70 β”‚ Active   β”‚  80 β”‚ 3.6.100.v20160223-2218 β”‚ Extension Registry Support
 80 β”‚ Active   β”‚  80 β”‚ 9.4.11.v20180605       β”‚ Jetty :: Proxy
 94 β”‚ Active   β”‚  80 β”‚ 0.4.1.v20180515-1321   β”‚ org.eclipse.lsp4j
 95 β”‚ Active   β”‚  80 β”‚ 0.4.1.v20180515-1321   β”‚ org.eclipse.lsp4j.jsonrpc
 96 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Config Core
 97 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Configuration Discovery
 98 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Configuration mDNS Discovery
 99 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Config Dispatcher
100 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Config XML
101 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core
102 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Audio
103 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Binding XML
104 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core ID
105 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Persistence
106 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Scheduler Service
107 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Semantics
108 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Thing
109 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Thing XML
110 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Transformation Service
111 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core Voice
112 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Console
113 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Console for OSGi runtime Karaf
114 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome HTTP Interface Bundle
115 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome JavaSound I/O, Fragments: 182
116 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Monitor
117 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Net I/O Bundle
118 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome REST Interface Bundle
119 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Core REST API
120 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome REST mDNS Announcer
121 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome REST Interface JAX-RS optimization Bundle
122 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Sitemap REST API
123 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome SSE REST API
124 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Voice REST API
125 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
126 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Web Audio Support
127 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Model Core
128 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Item Model
129 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Item Model IDE
130 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Item Model Runtime
131 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Language Server
132 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Persistence Model
133 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Persistence Model IDE
134 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Persistence Runtime
135 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Rule Model
136 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Rule Model IDE
137 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Rule Runtime
138 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Script
139 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Script Model IDE
140 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Script Runtime
141 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Sitemap Model
142 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Sitemap Model IDE
143 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Sitemap Runtime
144 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Thing Model
145 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Thing Model IDE
146 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Thing Model Runtime
147 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Json Storage Service
148 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome UI
149 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome UI Icons
150 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Classic IconSet
151 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xtend Runtime Library
152 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xtend Macro Interfaces
153 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext
154 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xtext Common Types
155 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext IDE Core
156 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1821  β”‚ Xtext Utility
157 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xbase Model
158 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1833  β”‚ Xbase Generic IDE Services
159 β”‚ Active   β”‚  80 β”‚ 2.14.0.v20180522-1629  β”‚ Xbase Runtime Library
174 β”‚ Active   β”‚  80 β”‚ 1.9.6                  β”‚ MIME streaming extension
176 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm
177 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm.commons
178 β”‚ Active   β”‚  80 β”‚ 6.2.0                  β”‚ org.objectweb.asm.tree
179 β”‚ Active   β”‚  90 β”‚ 2.4.0.201811041257     β”‚ openHAB Core
180 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ openHAB Karaf Integration
182 β”‚ Resolved β”‚  80 β”‚ 2.4.0.201811041257     β”‚ openHAB Sound Support, Hosts: 115
183 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ openHAB Dashboard UI
188 β”‚ Active   β”‚  80 β”‚ 1.0.2                  β”‚ Units of Measurement Common Library
189 β”‚ Active   β”‚  80 β”‚ 1.0.8                  β”‚ Units of Measurement Implementation for Java SE
190 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811042004     β”‚ Smartmeter Binding
191 β”‚ Active   β”‚  80 β”‚ 1.8.3                  β”‚ openHAB db4o Persistence
192 β”‚ Active   β”‚  80 β”‚ 0.10.0.201808271132    β”‚ Eclipse SmartHome OpenWeatherMap Binding
193 β”‚ Active   β”‚  80 β”‚ 2.2.0.201712101325     β”‚ LogReader Binding
194 β”‚ Active   β”‚  80 β”‚ 1.6.0                  β”‚ Commons Codec
195 β”‚ Active   β”‚  80 β”‚ 3.3.0                  β”‚ Commons Net
196 β”‚ Active   β”‚  80 β”‚ 4.2.3                  β”‚ Apache HttpClient OSGi bundle
197 β”‚ Active   β”‚  80 β”‚ 4.2.3                  β”‚ Apache HttpCore OSGi bundle
198 β”‚ Active   β”‚  80 β”‚ 3.1.0.7                β”‚ Apache ServiceMix :: Bundles :: commons-httpclient
199 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ openHAB 1.x Compatibility Layer
200 β”‚ Active   β”‚  80 β”‚ 2.1.0                  β”‚ json-path
201 β”‚ Active   β”‚  80 β”‚ 3.14.0                 β”‚ nrjavaserial
202 β”‚ Active   β”‚  80 β”‚ 2.2                    β”‚ json-smart
203 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Astro Binding
204 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome FSInternetRadio Binding
205 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome NTP Binding
206 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome WeatherUnderground Binding
207 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Configuration UPnP Discovery
208 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Configuration USB-Serial Discovery
209 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Configuration USB-Serial Discovery Linux sysf Scanning
210 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Config Serial
211 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome IoT Marketplace Extension Service
212 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Serial Transport
213 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Serial Transport for RXTX
214 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Serial Transport extension for RXTX RFC2217
215 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome UPnP Transport Bundle
216 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Exec Transformation Service
217 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome JavaScript Transformation Service
218 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome JSonPath Transformation Service
219 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Map Transformation Service
220 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome RegEx Transformation Service
221 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Scale Transformation Service
222 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome XPath Transformation Service
223 β”‚ Active   β”‚  75 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Xslt Transformation Service
224 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Basic UI, Fragments: 246
225 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome WebApp UI, Fragments: 247
226 β”‚ Active   β”‚  80 β”‚ 0.10.0.201810290804    β”‚ Eclipse SmartHome Paper UI, Fragments: 250
227 β”‚ Active   β”‚  80 β”‚ 2.4.0                  β”‚ JUPnP Library
228 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB Mail Action
229 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB EcoTouch Binding
230 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Exec Binding
231 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB Expire Binding
232 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Feed Binding
233 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB Fritzbox Binding
234 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB FritzboxTr064 Binding
235 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB HTTP Binding
236 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB KNX Binding
237 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Xiaomi Mi Smart Home Binding
238 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Milight Binding
239 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Network Binding
240 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ SqueezeBox Binding
241 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ ZWave Binding
242 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ openHAB Cloud Connector Bundle
243 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ Feed Transport bundle
244 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB MapDB Persistence Bundle
245 β”‚ Active   β”‚  80 β”‚ 1.13.0.201811010308    β”‚ openHAB RRD4j Persistence Bundle
246 β”‚ Resolved β”‚  75 β”‚ 2.4.0.201811041257     β”‚ openHAB Basic UI Fragment, Hosts: 224
247 β”‚ Resolved β”‚  75 β”‚ 2.4.0.201811041257     β”‚ openHAB Classic UI Fragment, Hosts: 225
248 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ HABmin User Interface
249 β”‚ Active   β”‚  80 β”‚ 2.4.0.201811041257     β”‚ HABPanel User Interface
250 β”‚ Resolved β”‚  75 β”‚ 2.4.0.201811041257     β”‚ openHAB Paper UI Theme Fragment, Hosts: 226
openhab>

Is this the right log?

I made a openhab-reboot, but in the logfile of the start-process there was nothing with smartmeter.

EDIT:
Now i did a manual search and now the new smartmeter things are online!

Thanks!

But can you explain me, how i can set the divider? I get too big values.

Here are my items:

Number	stromzaehler1_erzeugung	"StromzΓ€hler PV Erzeugung [%.3f kWh]"	<solarplant>	(gStromzaehler)	{ channel="smartmeter:meter:b041fbf8:1-0_1-8-0" }
Number	stromzaehler1_ungenutzt	"StromzΓ€hler PV ungenutzt [%.3f kWh]"	<solarplant>	                { channel="smartmeter:meter:b041fbf8:1-0_2-8-0" }
Number	stromzaehler1_leistung	"StromzΓ€hler PV Leistung [%.3f kW]"     <solarplant>	(gStromzaehler)	{ channel="smartmeter:meter:b041fbf8:1-0_16-7-0" }

All values are x1000 to big.

And additional, can you give me the link of the github-page from this binding, to read the readme.md?

Nice sideeffect of the new version: My meterreaders work again, no more error of the nrjavaserial 3.14 after some time. Now the readers give new values since my last posting.

But still with the wrong values… (x1000)

Here is the readme:

In your item definition you have to use Number:Energy. That is also mentioned in the readme.

Ok, now i can read the readme.md, thanks.

The bad sing is, the nrjavaserial is still hanging up after some time, now my powermeters are offline again… But they worked much longer then with the old version…

I had tried this before, but i still got only Wh and W instead of kWh and kW. Maybe i have to make a server reboot?

Very bad…

Now my smartmeters will not work again. But they worked today a few hours ago…

Here the information from the log:

2018-11-05 20:42:17.925 [DEBUG] [martmeter.internal.SmartMeterHandler] - Initializing Smartmeter handler.

2018-11-05 20:42:17.925 [DEBUG] [martmeter.internal.SmartMeterHandler] - config port = /dev/ttyUSB0

2018-11-05 20:42:17.925 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.smartmeter.internal.SmartMeterHandler@4e68b3ec': A null service reference is not allowed.

java.lang.NullPointerException: A null service reference is not allowed.

	at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:622) ~[?:?]

	at org.openhab.binding.smartmeter.internal.sml.SmlSerialConnector.<init>(SmlSerialConnector.java:63) ~[?:?]

	at org.openhab.binding.smartmeter.internal.sml.SmlSerialConnector.<init>(SmlSerialConnector.java:74) ~[?:?]

	at org.openhab.binding.smartmeter.internal.sml.SmlMeterReader.createConnector(SmlMeterReader.java:146) ~[?:?]

	at org.openhab.binding.smartmeter.internal.MeterDevice.<init>(MeterDevice.java:72) ~[?:?]

	at org.openhab.binding.smartmeter.internal.sml.SmlMeterReader.<init>(SmlMeterReader.java:69) ~[?:?]

	at org.openhab.binding.smartmeter.internal.sml.SmlMeterReader.createInstance(SmlMeterReader.java:52) ~[?:?]

	at org.openhab.binding.smartmeter.internal.MeterDeviceFactory.getDevice(MeterDeviceFactory.java:35) ~[?:?]

	at org.openhab.binding.smartmeter.internal.SmartMeterHandler.initialize(SmartMeterHandler.java:110) ~[?:?]

	at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source) ~[?:?]

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]

	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.201810290804]

	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.201810290804]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]

	at java.lang.Thread.run(Thread.java:748) [?:?]

Looks like it runs now without the slow refresh rate. Data looks updated when compared to the meter display.
Did you update after Oct 28th again? Because I had the buffer lag issue after updating on Nov 2nd. After binding reinstallation today it looks fine now. The eclipse marketplace shows last update on Oct 28th. However…
Many thanks for your work! It’s appreciated. Keep up!

Latest update is from november 5th (today).

Could you post the link?

I only checked this one which says Oct 28th

Oh, this was my fault… Created on 2017.5.1 is not november 5th… You are right.