davidrapan / ha-solarman

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

DEYE SUN-8K-G05 yaml file #263

Open folny opened 1 week ago

folny commented 1 week ago

Hi I have a deye sun-8k-g05 inverter and I can't read the power on PV1 and PV2, what are the addresses to read the power ?. Does anyone have a yaml file for this inverter where all the parameters can be read ?.

davidrapan commented 1 week ago

Hi @folny, so any of the already present deye_* profiles does not work?

folny commented 1 week ago

Hi

I can't read some registers, for example the power of inputs PV1 and PV2 and many other registers.

davidrapan commented 1 week ago

Enable debug logging and attach the file here.

folny commented 1 week ago

Okay, I'll add the debug file tomorrow.

folny commented 1 week ago

Hi

So I played around a bit today and it seems the data is now correct but I would like to know how I can read the values ​​from the smart meter connected to the inverter so I can find out the household consumption and the energy that goes from the grid and into the grid. Deye Data

davidrapan commented 1 week ago

Try it with deye_hybrid.yaml profile then. String and Hybrid profiles are essentially the same but the String has fewer registers read.

folny commented 1 week ago

I have already tried this option, but the data I need is incorrect.

Deye Data 2

folny commented 1 week ago

So I managed to get the values ​​of the total household consumption, I now need to get the current power from the smart meter and everything will be fine.

  - name: "Load Power"
    class: "power"
    state_class: "measurement"
    uom: "W"
    scale: 1
    rule: 2
    registers: [0x00c6,0x00c7]
davidrapan commented 1 week ago

What about 203, 204?

folny commented 1 week ago

Yes, it should be those registers, but I didn't have time to try it today, I'll try it tomorrow and let you know.

folny commented 1 week ago

So today I added more registers to the file and it seems that everything is working as it should. So I'm adding my file here and I hope it helps someone in the future.

deye_sun_g05_power_flow_card.zip

Deye Power Panel

davidrapan commented 6 days ago

I think that Load Power should be unsigned.

feat: Load & Grid Power for Deye String

folny commented 5 days ago

There are more irrelevant values ​​but I left them there.