modbus2mqtt
modbus2mqtt copied to clipboard
multiple slaves on same rs485 bus
I have multiple slaves on same rs485 bus, slave ID 1 and slave ID 2. (both SDM120 meters) The register definition is like this: DEFAULT,,2,>f:%.1f,1,1,4 voltage,0 power,12 DEFAULT,,,>f:%.2f current,6 Pfactor,30 freq,70 TotalPower,342 DEFAULT,,2,>f:%.1f,1,2,4 voltage2,0 SolarVoltage,0 SolarPower,12 DEFAULT,,,>f:%.2f Solarcurrent,6 SolarTPower,342
It reads the first meter without error. Then start with second meter gives an error on first value (voltage2,0) then reads the rest of second meter without error.
Any way to specify a wait time between read first meter and start to read the second meter?
Thanks for this great piece of software, Jan
Has been fixed in https://github.com/mbs38/spicierModbus2mqtt