davidrapan / ha-solarman

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

Support of Deye SUN SG05LP1 #265

Open BoberMod opened 1 day ago

BoberMod commented 1 day ago

Is your feature request related to a problem?

I have Deye SUN-6K-SG05LP1-EU 6KW inverter. Currently, it's not listed in supported devices.

Logger firmware: LSW3_32U_5406_1.06.\ Logger serial number: 2975***

Describe the solution you'd like

I want to try the deye_hybrid.yaml config. As I understand it, it's a generic profile and can work with any Deye inverter. But according to message in wiki, I can't just choose deye_hybrid.yaml because if it's wrong, it will overwrite my settings:

Way more dangerous is when you load wrong profile (e.g. deye_hybrid.yaml instead of deye_sg04lp3.yaml). It will mess up with your values...

Is there a read-only mode to try?

Describe alternatives you've considered

I considered the original implementation of this integration by StephanJoubert and integration by kellerza.

davidrapan commented 1 day ago

Hi @BoberMod, this warning is for existing users to be careful when they (for any reason) delete and re-adding back their device. So they don't add it with incorrect profile which could populate existing history with nonsensical data.

If you as a new user do add device with profile which works but display incorrect data you can just delete it and remove history of the sensors using Developer tools -> STATISTICS -> Fix Issue on all entities which will delete it.

List with supported devices contains those which are confirmed from users and I'm sure that the integration works for many more which are not listed.

BoberMod commented 1 day ago

I can confirm that deye_hybrid.yaml works with my inverter. Thank you!\ The sensors that I needed for grid/battery usage work fine. However I found that program statuses (charging) are displayed incorrectly:

Inverter menu Configuration from integration
image image

All sensors and configurations in case someone needs this:

Sensors ![image](https://github.com/user-attachments/assets/21ef206c-3a4b-47c9-aee9-535677c95e0d) ![image](https://github.com/user-attachments/assets/c9e86a34-ab88-4e3b-b360-b0fb3fc6f598) ![image](https://github.com/user-attachments/assets/3828c325-5d22-4e71-a237-bb4bebbef9d1)
Configuration ![image](https://github.com/user-attachments/assets/3f80572e-e2cd-4168-903f-ae8158e018a0) ![image](https://github.com/user-attachments/assets/90b6aca9-9cf6-40d0-acd9-275d58182841) ![image](https://github.com/user-attachments/assets/e8d0fab3-ae12-4b3e-9b2a-d0f09385f213) ![image](https://github.com/user-attachments/assets/b21608f4-752c-4b87-93f2-e26bd2738a9b) ![image](https://github.com/user-attachments/assets/ab96fc18-a961-47b1-bacd-850d4d14fd7b)

I don't have attached generator and PV. Inverter connected to JK BMS using CAN.