![]() |
|
M30 Extension MODBUS RTU Controller - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-M16 / M1 / MB / M30 (https://www.kincony.com/forum/forumdisplay.php?fid=50) +--- Thread: M30 Extension MODBUS RTU Controller (/showthread.php?tid=8144) |
M30 Extension MODBUS RTU Controller - markwj - 06-07-2025 I'm trying to connect another 6 channels to the M30 using an external modbus rtu energy meter. I've configured the external meter as ID 16 (0x10), 38400 baud, and can query it directly. But when I configure in yaml, I don't get any result. The relevant part of my config is as follows: Code: uart:Is this possible, and if so any ideas what I am doing wrong? I am just seeing 'NA' for the sensor and seemingly no polling. RE: M30 Extension MODBUS RTU Controller - markwj - 06-07-2025 Some further info: Tapping rs485 at 38400 baud on the screw terminals shows no traffic. Esphome is showing no response to the modbus rtu query to the extension device 16, while internal CTs continue to work just fine. It seems the modbus is not connected to those screw terminal RS485 connectors. P.S. I’m getting the 38400 baud from this post. The schematic doesn’t help much as it is hard to see where the RS485 pins are connected to, but they seem to be coming from the co-processor. https://www.kincony.com/forum/showthread.php?tid=4089 RE: M30 Extension MODBUS RTU Controller - markwj - 06-10-2025 I’ve found another thread here: https://www.kincony.com/forum/showthread.php?tid=5959 That has the answer “M30 RS485 port not connected with ESP32's gpio. it's just a MODBUS SLAVE device. if you MUST want use by ESPHome, connect this RS485 wire with other KinCony ESP32 board's RS485 port.” Which is not clear. The other thread I captioned says modbus is connected to ESP32 (via the co-processor). The schematic also seems to indicate the same. Can I get a clear reply? How is the RS485 port on M30 connected, and what are it’s capabilities? |