Replies: 12 comments
-
Hi, when you use load balancing mode it's an issue with two masters. SmartEVSE sends multiple requests every two seconds - you have to try multiple times to get a valid response. Have you tried communication when load balancing and smart/solar mode is disabled? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback, yes I did not much better results. I was hoping to change parameters from remote, any ideas ? |
Beta Was this translation helpful? Give feedback.
-
Maybe wrong byte order. Set it on the SmartEVSE to fixed configuration and read value again. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
No, all values from SmartEVSE are 16bit unsigned integer -> 20 registers = 40 bytes |
Beta Was this translation helpful? Give feedback.
-
That is also what I thought, but it was not working. Data of registers 0,21 0,3, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 63,234, 121,245, 63,180, 28,153, 62,123, 167,51, Phase 1: 63,234,121,245 = 1,83 I did (for Node-Red) use: var V1 = new Buffer ( [msg.payload[31], msg.payload[32], msg.payload[33], msg.payload[34] ] ); var msg1 = {payload:V1}; return [msg1,msg2,msg3]; And then convert msg1/2/3 these to floating. However I cannot find this information back in the documentation? Or do I read the wrong documents? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I mixed it up. SmartEVSE are 16bit integers, Sensorbox has 32bit float. |
Beta Was this translation helpful? Give feedback.
-
Can you explain more detailed? What is the modbus server and what is the client? I assume the SmartEVSE (master) does do the request ([10,4,0,0,0,20,241,126] CRC), and the Sensorbox does reply and writes into the SmartEVSE with eg data: |
Beta Was this translation helpful? Give feedback.
-
The master (SmartEVSE) requests the data from the Sensorbox , or other modbus kWh meter. The measurement data from the Sensorbox 1.5/2.0 is in float32 (one float32 for each phase)
|
Beta Was this translation helpful? Give feedback.
-
Clear overview thanks that makes much sense. In my example for register 0 and 1: |
Beta Was this translation helpful? Give feedback.
-
That's version 2, also indicates grid type and grid rotation: |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to read registers via Modbus RTU from the EVSE with iobroker and a USB-modbus converter.
All works well reading the SDM630 I connected as well but I don't get any values for the EVSE.
As an example I try to read the register 0x00C0 Configuration value 0 socket, value 1 fixed.
I've set in the menu of the EVSE the configuration to fixed cable, still reading this register comes with value 0.
Probably the register setting is wrong in iobroker, is it a input register, a coil or a holding register ?
Since these registers are in HEX format I need to convert them, 192 right ?
Maybe the issue is that the EVSE is a Master and probably the iobroker (raspi 4) as well ?
Thanks for your feedback!
Beta Was this translation helpful? Give feedback.
All reactions