You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STATUS 0 OUTPUT HERE
22:32:17 CMD: status 0
22:32:17 MQT: stat/irrigation_valve_2/STATUS = {"Status":{"Module":1,"FriendlyName":["irrigation_valve_2"],"Topic":"irrigation_valve_2","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}}
I'm trying to connect SDM630-MODBUS to Sonoff Basic, I have the following configuration for gpio:
22:33:52 CMD: gpio
22:33:52 MQT: stat/irrigation_valve_2/RESULT = {"GPIO1":"78 (SDM630 Rx)","GPIO3":"77 (SDM630 Tx)","GPIO4":"0 (None)","GPIO14":"0 (None)"}
But could not find anything on the wiki showing the connection between SDM630 and sonoff serial interface, so not sure I'm missing any hardware to do the RS485 to serial on sonoff.
Really appreciate any help here.
Thanks,
Gabriel.
The text was updated successfully, but these errors were encountered:
RS-485 defines the voltage levels, so you absolutely need to have an RS-485 to TTL converter. There are some ways to do some things without one, but they lose the noise immunity of rs-485 and you have to know what you are doing or get lucky to make them work.
Perfect, thank you @Frogmore42 and @Jason2866, I managed to make the connection work using a MAX3486 I had here and did my own adapter with automatic TX/RX, it is working properly and as expected reporting to sonoff-tasmota.
Make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
:The text was updated successfully, but these errors were encountered: