mruettgers / SMLReader

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

Using pin RX #12

Closed emmrichd closed 3 years ago

emmrichd commented 3 years ago

Hello,

thank you for sharing this project! I wanted to use the RX pin, but I don't get any data. The head is working for sure, since I used it with esp-link. Also, the LED flashes. On mqtt-side, I get the "Hello" message, but no data from my EMH meter. Does this pin not work for your software? Have I chosen the wrong pin name? Compilation tells me success. Regards, Dieter

mruettgers commented 3 years ago

Hey Dieter,

the TX&RX pins are used for being attached to a serial console for debugging output. Internally they might also be used for flashing, but I'm not sure about that.

Do you have another GPIO pin available for testing? What type of ESP8266 device are you using?

Michael

emmrichd commented 3 years ago

Hello,

thanks for the quick reply. It is a Wemos D1 mini. No problem, I move to D2, I just have to resolder it. Thanks. Dieter

emmrichd commented 3 years ago

Ok, fixed it, works now, thanks.