global mpp scan manual (holding register 30230) - code for an automation/switch? #261
-
Sometimes my SH10RT does not initialize one of my two pv-strings in the morning. So I would like to solve it with an one-time manual global scan via HA. Here is where I found the hint to the existing register: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I solved it by my own and edited my local modbus_sungrow.yaml (comparing to the coding for other undocumented registers in this yaml-file). Here is my coding if someone has the same requirement. Code section "Sensors":
Code section "Input Select":
Code section "Automation":
The inverter deactivates (disables) the switch by its own (after 1 second) so it is more a pushbutton-function. YAML-Code HA-GUI Automation:
If someone knows a way how to solve it more simple or sees any problems with this coding... please comment! |
Beta Was this translation helpful? Give feedback.
-
hey, looks very good! Can you make a Pullrequest, so I can merge it in the latest version? one minor thing: Can you translate your comments to english? BR :) |
Beta Was this translation helpful? Give feedback.
-
Hey Martin, I am not really familar with this formalities on github because I changed it on my local modbus_sungrwo.yaml file version dated 2023-11-12 (2). The reset automation is actually not part of the pullrequest because I created this via the home assistant user interface, so it is only part of mine HA automations.yaml Nevertheless I tried a translation into English:
Best regards |
Beta Was this translation helpful? Give feedback.
-
I have created a new version #270 based on the actual version of the yaml to keep things rolling. |
Beta Was this translation helpful? Give feedback.
I solved it by my own and edited my local modbus_sungrow.yaml (comparing to the coding for other undocumented registers in this yaml-file). Here is my coding if someone has the same requirement.
Code section "Sensors":
Code section "Input Select":
…