mruettgers / SMLReader

ESP8266 based smart meter (SML) to MQTT gateway
GNU General Public License v3.0
292 stars 68 forks source link

Waiting for Sequence #16

Closed realfire23 closed 2 years ago

realfire23 commented 3 years ago

Not getting any further than Hello From XXX running SMlReader.

In the debug it is waiting for Sequence. Tried a couple of BPW 40 :(

Tried with Nodemcu and wemos d1

mruettgers commented 3 years ago

What's the model of the meter you are trying to read?

realfire23 commented 3 years ago

hi,

thank you for the fast reply.

Its a Landis+Gyr E220.

mruettgers commented 3 years ago

Did you unlock your meter by entering the PIN code provided by the provider via a flashlight?

I'm working on a new version of SMLReader that will allow debugging (including outputting RAW data read by the phototransistor) via web interface. And I'm also planning to build a small application that will make a ESP8266 emulating a meter by providing SML data via an LED.

realfire23 commented 3 years ago

The pin has been entered.

Iam pretty sure Iam messing something up :D so debugging possibilities are always welcome.

Just to be sure: Do I need to disable the pin, because I only enterred the ping once and the meter gets back into normal mode after 120 seconds.

emmrichd commented 3 years ago

Hello realfire,

your meter does not "speak" SML. It speaks what is often referred to as "D0" or IEC62056-21, which is roughly speaking an ASCII version of SML, which SMLReader does not understand, yet. Depeding on what you are trying to achieve, a workaround might be Tasmota or ESPLink. Regards, Dieter

realfire23 commented 3 years ago

Hello realfire,

your meter does not "speak" SML. It speaks what is often referred to as "D0" or IEC62056-21, which is roughly speaking an ASCII version of SML, which SMLReader does not understand, yet. Depeding on what you are trying to achieve, a workaround might be Tasmota or ESPLink. Regards, Dieter

where did you get that info ? according the specs I have it uses SML. Furthermore Volkszaehler and homemmatic integrated the meter already via sml ( as far as I understood of course)

emmrichd commented 3 years ago

Hello, you might be right. with the second look, I also saw the SML note in the manual. I guessed because according to this list: https://www.loxone.com/enen/info/smart-energy-meter-list/ most of Landis+Gyr meters don't use SML.

emmrichd commented 2 years ago

I can confirm that Landis+Gyr E220 works with SMLReader. This is not a software issue. topic can be closed.