Thank you for posting your snippet. I’m going to try it out. Would you mind attaching an image of exactly how you wired everything up?
Try TX to TX and RX to RX on the ESP/RS485-module connection
And TRY USING SOFTWARE UART! As JFK344 did, that finally fixed it for me:
uart:
id: mod_uart
tx_pin: D2 #this line
rx_pin: D1 #and this one, use these pins (others could work, but these are fine)
baud_rate: 9600
stop_bits: 1
How often is ESPhome actually sending the Modbus energy values over the API or MQTT to HA? Can this be configured?
I am having 4 of these SDM 72 D-M with modbus and can connect those in a series cause they are in the distribution panel, but the inverter is roughly 40 cable meters away on the other side of the house.
I would like to know if such esphome is capable to deal with all 4 energymeter at once. and deliver the sensors via LAN to the pi with Home Assistant
If you pick a capable ESP device it should work yes esphome itself is as capable as your computer so that is not the bottleneck
Where should I start to read in such case of multiple devices or sdm 72 dm ?
Thanks
This person seems to be in the same predicament:
Just google the type of KwH meter and I am sure youll find plenty of examples