I did look into monitor.sh long time ago and yes, it does look a bit of a mess to configure…
I guess I’ll have to do it at some point…
I have noticed on my test that the state_map wasn’t working… at least not all the time… So for night/day I do use a template sensor, you might want to use the same…
Just make it return 1 or 0 depending if it’s home or away
Hello everyone,
I got two questions for you.
Is it possible to group by week or by month?
Is it possible to display multiple entities on a bar chart?
I use utility_meter integration to know my energy consumption at home for five different power sensors.
I would love to see per week/month the usage of each sensor and compare them to each other.
Anybody knows how to achieve that?
No, you could group by a rolling seven days period but I guess you want it to be sunday-sunday.
For a rolling 7-days set points_per_hour to 0.005952380952381 (1/168) and hours_to_show to 168 times amount of weeks you want to display.
Yes, you can list several entities under the entities option.
Regarding the graph you want to do, I think I know what you would like and I have been working on something like this quite a bit, not sure you saw my post here: Lovelace: mini graph card
If you want my whole config is on GitHub at this URL: https://github.com/SeLLeRoNe/HA-Config
You can look into it and take inspiration (or literally copy the code) for your goals.
It doesn’t visualize both min,avg and max graph but only one.It happens with every entity,i tried to create a new card,clear cache but no way.
My config is the same as in the example on github page and never a problem before 0.9.1.
- type: custom:mini-graph-card
entities:
- entity: sensor.dark_sky_temperature
aggregate_func: max
name: Max
color: #e74c3c
- entity: sensor.dark_sky_temperature
aggregate_func: min
name: Min
- entity: sensor.dark_sky_temperature
aggregate_func: avg
name: Avg
color: green
name: Temp outside daily (last week)
hours_to_show: 168
group_by: date
This is exactly why I decided to start logging the version number.
I’ve had many HACS users reporting issues with getting the latest version to load properly even though HACS says it’s installed, from my understanding reinstalling the card usually fix it.