Extended Solar Dashboard #128
AutoLotion
started this conversation in
Show and tell
Replies: 1 comment
-
|
Hi AutoLotion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This implementation of a solar dashboard gives a bit more overview of a solar system than the built in PV page. It is in use every day in the kitchen / living room and gives a fast view for example during cooking or before start the dishwasher, to make sure there is enough power available. And that without opening a PC or tablet.
The main Features of the dashboard are detailed view of power and energy values in the four basic components:
Additional features are:
Implementation
The implementation was done with the “Divoom Pixoo 64 Home Assistant Integration”. Many thanks to gickowtf, great work.
Over the last nine months, various versions of the solar dashboard were created, starting with a very simple structure using the standard page configuration. The layout was adjusted several times to provide the best overview and make optimal use of the limited number of pixels with the given font. Later, the desire arose to display and animate the flow and direction of the electrical power.
For this reason, the code was rewritten and converted to a templatable component so that the positions of all components could be calculated. Either relative to a fixed point or relative to another component.
Furthermore, macros were implemented for a better overview and to make it easier to configure the different component types. A global list is used to configure and collect all elements/subcomponents. This also applies to the macros. At the end of the configuring, this list is output to the templatable component.
All icons in the solar dashboard are loaded by Base64 representation, so no files need to be loaded. Only this code is necessary.
For the animation of the power flow and direction the seconds from the system time are used. To make the animation appear reasonably smooth, the page duration property should be set to 1 second.
A live demo of the animations in the solar dashboard can be viewed in the attached movie.
Solar_Dashboard.mp4
To adapt this Solar Dashboard search for "= states('sensor." and replace the Entity IDs by your Entity IDs in your Home Assistant configuration.
Beta Was this translation helpful? Give feedback.
All reactions