davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
54 stars 16 forks source link

Modbus Register System Work Mode #143

Open Mights001 opened 1 week ago

Mights001 commented 1 week ago

Hi, i add this Modbusregister under Work Mode Group for the Systemwork Mode, but it does not work and the Inverter is not Changing the Settings. The Register Number is the right one with Esphome it works.

  - name: System Work Mode
    update_interval: 300
    platform: "select"
    state_class: ""
    uom: ""
    scale: 1
    rule: 1
    registers: [0x008E]
    options: ["Selling First", "Zero to Load", "Zero to CT"]
    lookup:
      - key: 0x0000
        value: "Selling First"
      - key: 0x0001
        value: "Zero to Load"
      - key: 0x0002
        value: "Zero to CT"

And i a also add this Registers for Solar Sell Settings. Can you add this to your Repo. because if is coming a update i lost this Registers and i wants to have also the latest changes from you, this is why i not want to make my own YAML

  - name: "Max Power Solar Sell"
    update_interval: 300
    class: "power"
    state_class: "measurement"
    uom: "W"
    scale: 1
    rule: 1
    registers: [0x008F]
    configurable:
      min: 0
      max: 15600
    icon: "mdi:transmission-tower-export"

  - name: "Max Solar Power"
    update_interval: 300
    class: "power"
    state_class: "measurement"
    uom: "W"
    scale: 1
    rule: 1
    registers: [0x0154]
    configurable:
      min: 0
      max: 15600
    icon: "mdi:transmission-tower-export"

And one more in the deye_sg04lp3.yaml the Max. Batterie Current is now 185A can you change this in your Repo. to 240A because the most Inverters are 12KW

THX

davidrapan commented 1 week ago

Hey @Mights001, thanks for the info! I'll test it with my device and add it here.

toruonu commented 5 days ago

I see that this has been committed to .11, but it's not pushed as a release and hence HACS doesn't recognize that there is an update. Can you please do that as the work mode register is really needed to make sure battery power can be exported to grid as well.

davidrapan commented 22 hours ago

v24.09.16