mkaiser / Sungrow-SHx-Inverter-Modbus-Home-Assistant

Sungrow SH Integration for Home Assistant for SH3K6, SH4K6, SH5K-20, SH5K-V13, SH3K6-30, SH4K6-30, SH5K-30, SH3.RS, SH3.6RS, SH4.0RS, SH5.0RS, SH6.0RS, SH5.0RT, SH6.0RT, SH8.0RT, SH10RT, SH5.0RT-20, SH6.0RT-20, SH8.0RT-20, SH10RT-20, SH5.0RT-V112, SH6.0RT-V112, SH8.0RT-V112, SH10RT-V112, SH5.0RT-V122, SH6.0RT-V122, SH8.0RT-V122, SH10RT-V122, SH4.6R
376 stars 95 forks source link

2 sensors not available in the tesla dashbaord by louis #252

Closed CesMak closed 1 month ago

CesMak commented 9 months ago

Hey there,

thanks for that aweasome work! I just tested it with my SH10RT-V112 via LAN.

I have these issues: image

  1. here a cost and consumption sensor is mentioned but it is not given in the modbus.yaml file

    • entity: sensor.daily_imported_energy_cost_3
    • entity: sensor.daily_exported_energy_compensation_3 I guess I can modify these to somehow show my cost savings here?! And enter my cost factor 0.35ct/kWh somwehere in the template?
  2. No Idea why this super cool grafik does not work... dashboard also by louis Answer by myself: HACS with Tesla plugin needs to be installed:

    • When installed go to HACS->Frontend->Explore & add repositories
    • search for "tesla style"
    • click on the tesla-style-solar-power-card
    • Install repository
    • Restart HA
  3. Moreover I get this problem as well: image

  4. Another nice view to have would be a pie: image

anyone knows how I have to modify the dashboad? I guess I need to do some calculations as well to show the month, year statistics?

Thanks for your help :) Markus

mastameista commented 8 months ago

For your first issue re imported energy cost & exported energy compensation, see templates.yaml

      - name: "Daily imported energy cost"
        unit_of_measurement: €
        device_class: energy
        state: >
          {{ (states('sensor.total_imported_energy_cost')) | float |round(2) }}

      - name: "Daily exported energy compensation"
        unit_of_measurement: €
        device_class: energy
        state: >
          {{ (states('sensor.total_exported_energy_compensation')) | float |round(2) }}

Use these entities in your Dashboard. Cost / compensation factors are taken from sensor.total_exported_energy_compensation and sensor.total_imported_energy_cost. These are hidden entities created by home assistant, after you added your factors in the Energy Dashboard configuration.

Re your second issue -> yes, you need the tesla card

For your third issue re Inverter State See: https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant/issues/88#issuecomment-1646593261 Use input_select.set_sg_start_stop_mode instead.

Re pie charts -> sry, can help you. There may be custom lovelace cards for that in HACS.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.