Skip to content

global mpp scan manual (holding register 30230) - code for an automation/switch? #261

Discussion options

You must be logged in to vote

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":

      - name: Global mpp scan manual raw
        unique_id: sg_global_mpp_scan_manual_raw
        device_address: !secret sungrow_modbus_slave
        address: 30229 # reg 30230
        input_type: holding
        data_type: uint16
        precision: 0
        state_class: measurement
        scan_interval: 10

Code section "Input Select":

  set_sg_global_mpp_scan_manual:
    name: Global mpp scan manual
    options:
      - "Enabled"
      - "Disabled"
    icon: mdi:export

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tttooommmeeekkk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants