Comments (7)
The Dashboard shown in the screenshot in the readme.md was manually added.
- Create a new dashboard (or use the standard one)
- Click "Add new Card" and select "Entities"
- Add the sensor values you want to display. I (more or less randomly) divided them into momentary power, energy, battery and other.
Another approach is to copy my dashboard using the "raw configuration editor" (top right, the 3 dots)
insert
views:
- title: Home
cards:
- type: entities
entities:
- entity: sensor.mppt1_voltage
- entity: sensor.mppt1_current
- entity: sensor.mppt2_voltage
- entity: sensor.mppt2_current
- entity: sensor.total_dc_power
title: PV Gen- type: entities
entities:
- entity: binary_sensor.pv_generating
- entity: binary_sensor.battery_charging
- entity: binary_sensor.battery_discharging
- entity: binary_sensor.importing_power
- entity: binary_sensor.exporting_power
- entity: sensor.total_dc_power
- entity: sensor.export_power
- entity: sensor.load_power
- entity: sensor.battery_power
- entity: sensor.total_active_power
- entity: sensor.reactive_power
title: Power- type: entities
entities:
- entity: sensor.daily_pv_generation_battery_discharge
- entity: sensor.total_pv_generation_battery_discharge
- entity: sensor.daily_pv_generation
- entity: sensor.total_pv_generation
- entity: sensor.daily_exported_energy_from_pv
- entity: sensor.total_exported_energy_from_pv
- entity: sensor.daily_battery_charge_from_pv
- entity: sensor.total_battery_charge_from_pv
- entity: sensor.daily_direct_energy_consumption
- entity: sensor.total_direct_energy_consumption
- entity: sensor.daily_battery_discharge
- entity: sensor.total_battery_discharge
- entity: sensor.daily_imported_energy
- entity: sensor.total_imported_energy
- entity: sensor.daily_battery_charge
- entity: sensor.total_battery_charge
- entity: sensor.daily_exported_energy
- entity: sensor.total_exported_energy
title: Energy- type: entities
entities:
- entity: sensor.daily_battery_charge_from_pv
- entity: sensor.total_battery_charge_from_pv
- entity: sensor.battery_voltage
- entity: sensor.battery_current
- entity: sensor.battery_power
- entity: sensor.battery_level
- entity: sensor.battery_state_of_health
- entity: sensor.battery_temperature
- entity: sensor.daily_battery_discharge
- entity: sensor.total_battery_discharge
- entity: sensor.daily_battery_charge
- entity: sensor.total_battery_charge
title: Battery- type: entities
entities:
- entity: sensor.grid_state
- entity: sensor.running_state
- entity: sensor.system_state
title: Inverter states- type: gauge
entity: sensor.battery_level
min: 0
max: 100
severity:
green: 70
yellow: 40
red: 20
title: Energy Dashboard
from sungrow-shx-inverter-modbus-home-assistant.
Cool, thanks for the answer. Could you please add this file to the repository and the instructions to the readme for other people to see in the future?
from sungrow-shx-inverter-modbus-home-assistant.
When trying to copy your dashboard code I am getting:
YAMLException: duplicated mapping key (7:7) 4 | type: entities 5 | entities: 6 | entity: sensor.mppt1_voltage 7 | entity: sensor.mppt1_current -----------^ 8 | entity: sensor.mppt2_voltage 9 | entity: sensor.mppt2_current
Which version of HA are you using? When you copy the code from GitHub and use the "raw configuration editor" to paste it does it work for you?
from sungrow-shx-inverter-modbus-home-assistant.
hi @johschmitz,
sorry for my late reply.
It was my fault. When i copy my github snippet from above the identation gets lost.
Please try this file. Is it working? When it works, I'll add it to the git-code
from sungrow-shx-inverter-modbus-home-assistant.
I recommend to call it sungrow_dashboard.yaml not .txt.
I can try it later but I think if it works for you, you should already go ahead and add it.
from sungrow-shx-inverter-modbus-home-assistant.
Adding the content of your txt file to my dashboard yaml (starting with - title) worked for me, so you could add it as a .yaml file to the repository.
from sungrow-shx-inverter-modbus-home-assistant.
Done. Thanks for your feedback!
from sungrow-shx-inverter-modbus-home-assistant.
Related Issues (20)
- Some Entities are not available HOT 10
- 2 sensors not available in the tesla dashbaord by louis HOT 1
- Zwei Wechselrichter. Daten unterschiedlich in HA und iSolarCloud | Two inverters. Different data in HA and iSolarCloud HOT 18
- Strange outage HOT 1
- Force charge and all other modbus write registers don't work HOT 1
- Retrieved data through modbus not containing data of both inverters HOT 1
- Battery Capacity wrong HOT 9
- Battery dis/charging power sensors don't work. HOT 5
- Load 1 ON/OFF Mode Switch for the DO-port holding register 130011 or more complex DO-Configuration and Load Control Mode by using registers 13001-13016 HOT 3
- Entities are no longer available or jumping between available and unavailable HOT 28
- NO VALUE after Home Assistant >= 2024.04 HOT 68
- Second Inverter ist changing between unavailable and avalaible every few seconds
- Undocumented Holding Registers destroys SH10RT Config HOT 6
- Yearly Export jumps about 1100kWh on May 1st HOT 1
- Modbus no longer works HOT 7
- Some values ββare missing after updating to 2024.5.2 HOT 2
- Battery charging/discharging power using wrong registers? HOT 1
- sungrow update no battery forced mode HOT 2
- total_dc_power over a million watts HOT 3
- Self-consume mode not triggering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sungrow-shx-inverter-modbus-home-assistant.