davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
115 stars 25 forks source link

The sensors do not update automatically #91

Closed manuel833 closed 3 months ago

manuel833 commented 3 months ago

The sensors only update when the integration is reloaded.

solarman_pv1

davidrapan commented 3 months ago

Hi @manuel833, didn't you accidentally turn of the polling?

Anyway I will really need debug logs.

manuel833 commented 3 months ago

Where can I find polling? home-assistant_solarman_2024-08-17T17-03-14.083Z.log

davidrapan commented 3 months ago

When you click on the 3 dots next to the device and then under System options.

But it's obvious from the log that the issue is somewhere else. I'll look into it. 😉

What device model and what profile are you using?

manuel833 commented 3 months ago

sofar hyd 10ktl-3ph sofar_g3hyd.yaml

Solarman 24.08.16 Core: 2024.8.2 Supervisor: 2024.08.0 Operating System: 13.0

davidrapan commented 3 months ago

Hey @manuel833,

Open sofar_g3hyd.yaml profile file and on the 15 row you will find:

        class: ""

Change it to:

        class: "enum"
        options: ["waiting", "detection", "grid-connected", "emergency power supply", "recoverable fault", "permanent fault", "upgrade", "self-charging"]

Notice the added row.

And let me know if it helps. 😉

davidrapan commented 3 months ago

Oh I just noticed it also has:

        state_class: "measurement"

If you will still have issues change it to:

        state_class: ""
manuel833 commented 3 months ago

The Solarman Inverter status is now working and the sensors are also functioning. Thank you.

davidrapan commented 3 months ago

v24.08.17 also fixes the issue. 😉