letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.3k stars 2.22k forks source link

Add M-Bus (Meter-Bus) support #1108

Open tuxmartin opened 6 years ago

tuxmartin commented 6 years ago

Hi, please add M-Bus support.

The Meter-Bus is a standard for reading out meter data from electricity meters, heat meters, gas meters, etc. The M-bus standard deals with both the electrical signals on the M-Bus, and the protocol and data format used in transmissions on the M-Bus. The role of libmbus is to decode/encode M-bus data, and to handle the communication with M-Bus devices.

Please look at:

https://en.wikipedia.org/wiki/Meter-Bus https://i.ebayimg.com/00/s/MzJYMzI=/z/4-QAAOSw~epZiD6J/$_86.JPG https://www1.itron.com/local/Spain%20Product%20Portfolio/GA-CYBLEMBUSSTD-01-EN-10-14-GAS.pdf https://www.mwatechnology.com/products/gsd8-water-meter-wired-mbus-module/

C library https://github.com/rscada/libmbus and hardware for reading data - https://openenergymonitor.org/forum-archive/node/1944.html (message "Submitted by TrystanLea on Fri, 29/05/2015 - 14:40").

Thanks!

TD-er commented 6 years ago

Do you also have a specific meter in mind? (with datasheet + protocol)

beicnet commented 6 years ago

1). MBus C Library + Protocol 2). MBus Hardware + Interfacing (PDF) 3). MBus Mqtt Logger (Arduino) 4). The 1). ported as Arduino Library with Example

TD-er commented 6 years ago

@mstjerna That's MODBUS, not M-bus. That's for "the other thread" ;)

nardev commented 6 years ago

@tuxmartin any progress about this?

tuxmartin commented 6 years ago

@nardev no :-(

hakanakh commented 5 years ago

Hello friends. is there an improvement in this issue? I used the above circuit diagram. I used the USB-TTL PL2303 for the PL2303 circuit. I'm sending data to the M-BUS client, but I can't get a reply. can you help.

tonhuisman commented 1 year ago

This issue seems no longer relevant because of long non-reply, and can be closed.

TD-er commented 1 year ago

Nope, still an open issue