StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
577 stars 203 forks source link

Sofar HYD5000-ES Battery Type and SoH #221

Open slaughtered-lamb opened 1 year ago

slaughtered-lamb commented 1 year ago

Hi

For your fantastic integration to work correctly with my Sofar HYD5000-ES I must make the following changes to the sofar_hyd3k-6k-es.yaml

- name: "Battery SoH"
  class: "battery"
  state_class: "measurement"
  uom: "%"
  scale: 1
  rule: 2
  registers: [0x0237]
  icon: 'mdi:battery'

- name: "Battery Type"
  class: ""
  state_class: ""
  uom: ""
  scale: 1
  rule: 1
  registers: [0x10B0]
  icon: 'mdi:battery'
  lookup: 
  -  key: 0x0000
     value: "AMASS"
  -  key: 0x0001
     value: "LG SMART"
  -  key: 0x0002
     value: "PYLON"
  -  key: 0x0003
     value: "CATLL"
  -  key: 0x0004
     value: "Alpha. ESS"
  -  key: 0x0005
     value: "General Lithium"
  -  key: 0x0006
     value: "DEFAULT"

Hope this helps Thanks Karl

warner83 commented 1 year ago

What error did you have?

slaughtered-lamb commented 1 year ago

There was no error, just incorrect information

On 26/03/2023 11:55, Carlo Vallati wrote:

What error did you have?

— Reply to this email directly, view it on GitHub https://github.com/StephanJoubert/home_assistant_solarman/issues/221#issuecomment-1484059780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU2VA4XJLGXT3IPXBROVVXDW6AVBJANCNFSM6AAAAAAVCI2KFI. You are receiving this because you authored the thread.Message ID: @.***>

Nusserdt commented 1 year ago

I have a HYD 5000-EP / 5kW and the solar integration with sofar_hyd3k-6k-es.yaml profile returns me only unknown values:

image

I also wondering about the local web interface of the wlan stick. The values are totally wrong:

image

Firmware version: LSW3_15_270A_1.53

The web view (https://home.solarmanpv.com/plant/infos/data) of the logger works totally fine stead.

image

Very confusing.

I also try to take a different profile sofar_g3hyd.yaml and I get some correct values out of it. But sofar_hyd3k-6k-es.yaml seems not to work for me.