volkszaehler / mbmd

ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters
BSD 3-Clause "New" or "Revised" License
235 stars 82 forks source link

SBC ALE3 Problems #48

Closed kugelkopf123 closed 4 years ago

kugelkopf123 commented 4 years ago

I own a SBC ALE3 Modbus. Unfortunately, I do not manage to read this Meter. I tried it both: via Tasmota (SmartMeter) on a Wemos D1 Mini and via the MbMd software on a Raspberry Pi3b. On the Raspi both, via internal UART interface and via a USB2UART converter. I get no response from the SBC back on my RS485 converter. (https://hacktronics.co.in/rs232485-usb-ttl-converters/scm-ttl-to-rs485-converter-485-to-uart-serial-port-automatic-flow-control-module) I have already swapped the wires, tried at both ends with and without 120ohm terminator, as well as simply swapped TX / RX between RS485adapter and Pi.

Has anyone ever had experience with this meter?

The supply line is about 1m Shield TP.

andig commented 4 years ago

I cannot comment on possible electrical problems, but some things to double-check are:

The mbmd implementation is totally untested afaik as Saia wasn't willing to provide any help or test sample. If you want I could try remotely if you want to provide access via pm (cpuidle@gmx.de).

andig commented 4 years ago

Solved with different adapter.

andig commented 4 years ago

@kugelkopf123 seems I have a similar problem now. Device not responding to by rs485/tcp converter. Which one did you end up using?

kugelkopf123 commented 4 years ago

@andig Sometimes the ALE3 is a bit bitchy. I have the feeling that if you fill him up with data / requests that he doesn't understand, he simply won't answer anymore. At least this was my initial experience, if you leave him alone for a short time and the baud rate and parity are correct, he replied properly.

Further Information: Link Howto Link Tasmota SML

andig commented 4 years ago

@kugelkopf123 the ALE should auto-detect baud rate and parity. I've tried with 9600 and 8E1 and 8N1 both, no luck. Can you confirm these are working for you?

kugelkopf123 commented 4 years ago

@kugelkopf123 the ALE should auto-detect baud rate and parity. I've tried with 9600 and 8E1 and 8N1 both, no luck. Can you confirm these are working for you?

@andig Yes. It works with 9600 8E1. Are you shure that you use the right ID within the request messages?

andig commented 4 years ago

Yes, id is correct. Guess I‘ll need to recheck the wires installation.