Sunsynk + Home Assistant

Not sure what you mean by "used the IP from Tailscale", but you should be able to use the HA IP address you use when on your internal network.

I was advertising the instance as an exit node on HA and used the IP to connect to it with no success.

I ended up just buying a subscription through Nabu Casa and I can access the instance remotely now.
 
I was advertising the instance as an exit node on HA and used the IP to connect to it with no success.

I ended up just buying a subscription through Nabu Casa and I can access the instance remotely now.
You should still be able to use your local network IP for HA. Using the exit node IP may only connect you to the Tailscale instance (I don't run my Tailscale in my HA so I am surmising here).

Either way, good that you are sorted.
 
I've got these two donuts :

View attachment 1600750

I have the top one in graph format but its reading "undefined" so need to figure out where the error is.
I also get undefinedkWh on the graphs, if you using slips dashboard he told me yesterday to wait around 24 hours to start populating and its normal if you don't have enough statistical data.
 
v2.11.0

:rocket:
Exciting New Features

  • feat: adds support for 3 phase inverter data. Setting the `three_phase: true` attribute will display additional 3 phase sensors. Requires entity attributes to be defined i.e. `inverter_current_L2`, `inverter_current_L3`, `inverter_voltage_L2`, `inverter_voltage_L3` , `grid_ct_power_L2`, `grid_ct_power_L3`, `load_power_L1`, `load_power_L2`, `load_power_L3`
  • docs: updates French Translation. Thanks @adnovea
 
v3.3.0

Exciting New Features

- feat: display Goodwe inverter status. Set inverter model to `goodwe` closes #108
- feat: display Goodwe battery status. See entity `battery_status closes #108

1698575092281.png

Patches & Bug Fixes

- fix: rounding of additional load values when `auto_scale: true` and value is less than 1000W
- docs: add Goodwe example. Thanks @mamo-nick
- docs: update Lux example

**Full Changelog**: v3.2.1...v3.3.0
 
Just converted from Solarman to Solar Assistant with the card. Battery animation is working inverse to what it should and can't see any power coming from the grid.

Anybody willing to share their working card config so I can compare?
You need to invert the battery in the yaml -
battery:
energy: 5120
max_power: 2500
shutdown_soc: 30
show_daily: true
invert_power: true
colour: green
full_capacity: 100
empty_capacity: 20
show_absolute: true
auto_scale: true
 
I recently updated to the latest version of sunsynk power flow card and found that my daily solar left today icon has disappeared.
entite for remaining solar is : remaining_solar: sensor.energy_production_today_remaining_2

1699605767448.png
 
I recently updated to the latest version of sunsynk power flow card and found that my daily solar left today icon has disappeared.
entite for remaining solar is : remaining_solar: sensor.energy_production_today_remaining_2

View attachment 1615593

There are new display modes in the v3 releases. I would advise you read them going forward as Slip adds pretty cool stuff.

display_mode: 2

Under Solar, the above code should bring it back.
 
There are new display modes in the v3 releases. I would advise you read them going forward as Slip adds pretty cool stuff.

display_mode: 2

Under Solar, the above code should bring it back.
Thanks, got it working now
 
Has anyone managed to get return to grid to work on the energy dash? Does not look like I have a sensor that I can put in there.

Would I need to create a sensor to get it to work? Looked everywhere but struggling to get any info on it.

After 7 hours of looking around and tinkering looks like I got it to work, just waiting for data to pull through with the below if anyone else needs it.

YAML:
- sensor:
      - name: "Return to Grid Today"
        unit_of_measurement: kWh
        device_class: energy
        state_class: total_increasing
        state: >
          {{ state_attr('sensor.sunsynk_grid', 'etodayTo') | default(0) | float }}
         
utility_meter:
  return_to_grid_today_daily:
    source: sensor.return_to_grid_today
    cycle: daily
 
Last edited:
Has anyone managed to get return to grid to work on the energy dash? Does not look like I have a sensor that I can put in there.

Would I need to create a sensor to get it to work? Looked everywhere but struggling to get any info on it.

After 7 hours of looking around and tinkering looks like I got it to work, just waiting for data to pull through with the below if anyone else needs it.

YAML:
- sensor:
      - name: "Return to Grid Today"
        unit_of_measurement: kWh
        device_class: energy
        state_class: total_increasing
        state: >
          {{ state_attr('sensor.sunsynk_grid', 'etodayTo') | default(0) | float }}
        
utility_meter:
  return_to_grid_today_daily:
    source: sensor.return_to_grid_today
    cycle: daily
I'm not sure what integration you are using but there is a register that gives you the daily grid export

YAML:
  - platform: modbus_controller            # 076 Day Grid Import
    modbus_controller_id: sunsynk
    name: "${friendly_name} Day Grid Import"
    id: sunsynk_esphome_day_grid_import
    register_type: holding
    address: 76
    unit_of_measurement: "kWh"
    accuracy_decimals: 1
    device_class: energy
    state_class: total_increasing
    value_type: U_WORD
    filters:
      - multiply: 0.1

  - platform: modbus_controller            # 077 Day Grid Export
    modbus_controller_id: sunsynk
    name: "${friendly_name} Day Grid Export"
    id: sunsynk_esphome_day_grid_export
    register_type: holding
    address: 77
    unit_of_measurement: "kWh"
    accuracy_decimals: 1
    device_class: energy
    state_class: total_increasing
    value_type: U_WORD
    filters:
      - multiply: 0.1
 
I'm not sure what integration you are using but there is a register that gives you the daily grid export

YAML:
  - platform: modbus_controller            # 076 Day Grid Import
    modbus_controller_id: sunsynk
    name: "${friendly_name} Day Grid Import"
    id: sunsynk_esphome_day_grid_import
    register_type: holding
    address: 76
    unit_of_measurement: "kWh"
    accuracy_decimals: 1
    device_class: energy
    state_class: total_increasing
    value_type: U_WORD
    filters:
      - multiply: 0.1

  - platform: modbus_controller            # 077 Day Grid Export
    modbus_controller_id: sunsynk
    name: "${friendly_name} Day Grid Export"
    id: sunsynk_esphome_day_grid_export
    register_type: holding
    address: 77
    unit_of_measurement: "kWh"
    accuracy_decimals: 1
    device_class: energy
    state_class: total_increasing
    value_type: U_WORD
    filters:
      - multiply: 0.1
Thanks wish I could use the modbus but using the elinter integration unfortunately so stuck with what I can use until I can get the correct stuff to use the modbus stuff.
 
Has anyone managed to get return to grid to work on the energy dash? Does not look like I have a sensor that I can put in there.

Would I need to create a sensor to get it to work? Looked everywhere but struggling to get any info on it.

After 7 hours of looking around and tinkering looks like I got it to work, just waiting for data to pull through with the below if anyone else needs it.

YAML:
- sensor:
- name: "Return to Grid Today"
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
state: >
{{ state_attr('sensor.sunsynk_grid', 'etodayTo') | default(0) | float }}

utility_meter:
return_to_grid_today_daily:
source: sensor.return_to_grid_today
cycle: daily

That’s odd this value should be available directly from the Sunsynk and I’m pretty sure I have it as such.

Will check tomorrow.
 
That’s odd this value should be available directly from the Sunsynk and I’m pretty sure I have it as such.

Will check tomorrow.
I do have Sunsynk Daily Grid Sell 77 but I could not use it in the energy dashboard, not sure if I could have somehow still used the sensor but the way I have it now works pretty great and tracking perfectly.
 
I do have Sunsynk Daily Grid Sell 77 but I could not use it in the energy dashboard, not sure if I could have somehow still used the sensor but the way I have it now works pretty great and tracking perfectly.

Total Grid Export is what you want.

Just like you use Total Grid Import.

Otherwise if there’s an issue with something going offline or not reporting the data will be buggered up.

Which is why I avoid utility meters entirely, they are just short term and doing what the Energy dashboard does natively.

If you have any kind of event and don’t use Total values you’re going to have broken longer term stats.

2e37c04996b8f86c15e0a236dabbdc4e.jpg
 
Total Grid Export is what you want.

Just like you use Total Grid Import.

Otherwise if there’s an issue with something going offline or not reporting the data will be buggered up.

Which is why I avoid utility meters entirely, they are just short term and doing what the Energy dashboard does natively.

If you have any kind of event and don’t use Total values you’re going to have broken longer term stats.

2e37c04996b8f86c15e0a236dabbdc4e.jpg
I don't have that sensor, which integration are you using? I have sensor.sunsynk_grid_total which I use for the import but do not see the export one which I think may be due to the integration I am using.

Currently using this one.
 
Top
Sign up to the MyBroadband newsletter
X