JDSym
Members
-
Joined
-
Last visited
Reputation Activity
-
JDSym reacted to martinisonline in My Sunsynk 8Kw & data collection setupCorneSchutte, what I'm thinking is:
The registers have a 16bit length, which means they can handle values from 0 up to 65535. On this specific register, one unit represents 0.1KWh so the maximum value the register can record is 6.553,5 KWh. So, when this value is reached, the register goes to 0 and the "high word" or the register 80 increments.
Saying this, it will work fine until it reaches the 6,55 MWh. After that it will reset to 0 if we don't take into account the register number 80!
Maybe I'm wrong, but this is my understanding
-
JDSym got a reaction from Sc00bs in My Sunsynk 8Kw & data collection setupI agree with you.
Something I also changed in my own integration was to change all measurements with a kWh unit to include the word "energy" instead of "power".
For example, instead of naming the entity "Day_GridSell_Power Wh" as in the official documents, or "grid_export_day" as in some integrations, I named it grid_energy_export_day which I think makes a lot more sense.
-
JDSym got a reaction from kellerza in My Sunsynk 8Kw & data collection setupI agree with you.
Something I also changed in my own integration was to change all measurements with a kWh unit to include the word "energy" instead of "power".
For example, instead of naming the entity "Day_GridSell_Power Wh" as in the official documents, or "grid_export_day" as in some integrations, I named it grid_energy_export_day which I think makes a lot more sense.
-
JDSym got a reaction from slipx in My Sunsynk 8Kw & data collection setup@slipx this is how I'm currently doing it:
- bind: >-
return hass.states["sensor.sunsynk_battery_output_power"].state < "0" ?
hass.states["sensor.sunsynk_battery_output_power"].state*-1 + ' W' :
hass.states["sensor.sunsynk_battery_output_power"].state + ' W'
Not elegant at all, but it works.
-
JDSym got a reaction from slipx in My Sunsynk 8Kw & data collection setupHi @slipx
Thanks for the great job you've done with this card!
I took it one step further and made the battery icon and lightning bolt smart.
When the battery is charging the lightning bolt appears. The bars in the battery changes based on the current SoC of the battery.
I achieved this by overlaying three battery icons and only showing the relevant one (same way as you did with the status indicator).
-
JDSym reacted to slipx in New Home Automation Setup Advice@JDSym @JTUBB I've uploaded the dashboard to GitHub. I've also added some new views. Remember to install all the necessary components and update your sensor names.
I've been using an ESP32 running ESPHOME without issues.
https://github.com/slipx06/Sunsynk-Home-Assistant-Dash