UtilitechAS / amsreader-firmware

ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
Other
380 stars 72 forks source link

additional baud rate for smart meters with infrared interface #373

Closed tqma1 closed 1 year ago

tqma1 commented 1 year ago

i want to use it with the Siemens TD-3511 smart meter which has an infrared interface which uses the following parameters: 300 baud, 7 bits, 1 stop bit and even parity can you please implement this?

Best regards, Thomas

gskjold commented 1 year ago

Added in release that will be release any minute now. No guarantees it works with your setup though, not heard of any that use it with IR. But I see it uses IEC62056-21, so there is a possibility

ArnieO commented 1 year ago

@tqma1 It will be interesting to know if the firmware works on an optical interface - please get back and give us an update!

tqma1 commented 1 year ago

Thanks for your quick response and adapting!Until now I did not get it to work, but i do not unterstand why.An other solution is working:AMIS Lesermitterbaur.atThe code can be found at the end of the page.Maybe there is a need for this smartmeter to use also the rx from the infrared adapter?Best regards,Thomas Am 07.12.2022 um 12:30 schrieb ArnieO @.***>: @tqma1 It will be interesting to know if the firmware works on an optical interface - please get back and give us an update!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

gskjold commented 1 year ago

http://www.mitterbaur.at/amis-leser.html

A quick skim through the source code, I see some serial.write, so it may need to request the data from the meter

tqma1 commented 1 year ago

i have found it in the description from the smart meter - there is the need of a request telegram And with this request telegram you can switch to an higher baud rate (19200)

tqma1 commented 1 year ago

So it will not work with my smart meter but great work from you!

ArnieO commented 1 year ago

So it will not work with my smart meter but great work from you!

That is right. This firmware will (currently) only work on meters configured for "Data push".