Replies: 8 comments 2 replies
-
I don’t know about the write registers but: Slave number is 1 … for my Deye SG04LP3 It works fine! |
Beta Was this translation helpful? Give feedback.
-
When I look at the services provided by solarman I only see. |
Beta Was this translation helpful? Give feedback.
-
it should also work via device ` - action: solarman.write_holding_register |
Beta Was this translation helpful? Give feedback.
-
It only works with device, the GUI translates the friendly device name to device id for you. if you look at the service call I showed above then the yaml is .
|
Beta Was this translation helpful? Give feedback.
-
When I try writing to 0x1200 (so 4608 decimal) after a few seconds I get an error saying "Failed to perform the action solarman.write_holding_register. The value contained in the request data field is not an allowable value for the server." This is using sofar_wifikit.yaml with a Sofar ME3000SP. I get the same error whether I use Mode 6 (single register) or Mode 16 (multiple). I think the register should be valid. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. It seems to read fine. Also contains the value I was expecting. |
Beta Was this translation helpful? Give feedback.
-
I don't know how, but I just tried using 16 (multiple) and it worked this time. It definitely gave an error earlier. Hmmm... (Unless I did a stupid typo - I don't think so, but I guess I might have transposed digits). Again, thank you for your help. |
Beta Was this translation helpful? Give feedback.
-
Hello David, how can I write the registers.
I use such an automation to write the wallbox registers via Modbus. (See yaml code below).
Does it work the same way with the Deye Iverters?
What is the name of the hub for Deye sg04lp3? Slave number is 1 or 0?
`- id: '1680707528756'
alias: Setze Ladestrom
description: ''
trigger:
entity_id:
condition: []
action:
data:
hub: modbus heidelberg wallbox
address: 261
slave: 1
value:
Beta Was this translation helpful? Give feedback.
All reactions