Jump to content
Gen2 Devices: FW Update Required / Gen2 Geräte: FW-Update erforderlich ×

Modbus addresses for Shelly pro EM 50


Recommended Posts

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?

Link to comment
Share on other sites

  • 4 weeks later...

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.

Temp.jpg

Link to comment
Share on other sites

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). 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Erstelle neue...