brazoayeye Posted May 28 Share Posted May 28 I can connect to my shelly using access point, and I can read http://192.168.33.1/rpc/Modbus.GetConfig? {"enable":true}  If I try to connect using modbus using modbus_cli as described I always have "Invalid address" from the software I tried many addresses from https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/EM/#modbus-registers or https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/EMData/#modbus-registers but always with the same result modbus -B mixed 192.168.33.1:502 i@1020/f -v Parsed 0 registers definitions from 1 files â < ff 15 00 00 00 06 ff 04 03 fc 00 02 > â < ff 15 00 00 00 03 ff 84 02 > 9 bytes 1020: Invalid address modbus -B mixed 192.168.33.1:502 i@31020/f -v Parsed 0 registers definitions from 1 files â < 4a 3e 00 00 00 06 ff 04 79 2c 00 02 > â < 4a 3e 00 00 00 03 ff 84 02 > 9 bytes 31020: Invalid address modbus -B mixed 192.168.33.1:502 h@1020/f -v Parsed 0 registers definitions from 1 files â < 0e e5 00 00 00 06 ff 03 03 fc 00 02 > â < 0e e5 00 00 00 03 ff 83 02 > 9 bytes 1020: Invalid address What should I do? Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
brazoayeye Posted June 3 Author Share Posted June 3 For that device right addresses are listed on https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/EM1/ Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
SL69 Posted July 1 Share Posted July 1 Hello, I also try to read EM1:0 voltage in Modbus register 32003 but I receive "Illegal data address" from SHELLY PRO EM 50. The value is OK with HTTP. Here is a screen copy of Wireshark capture.. Thanks in advance for your help. Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
SL69 Posted July 8 Share Posted July 8 Finally, I scan all address of the device with FC04 and I find "Device Info" at register0 and 4 values starting at register2004 (EM0 : tension / current / active power / apparent power - for EM1 = EM0 addresses + 20). Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.