I installed a Emporia Vue Energy Monitor with 12 sensors that each read usage by:
minute
-daily
-monthly
I built my own energy tab in lovelace to view these figures based on the appliance they are monitoring…What I would like to do is add an additional entity for: LAST MONTH USAGE. I just want to compare the current month to the previous month and see how I’m tracking but I can’t figure out a way to tell HA at the end of the month to capture the current monthly data and store it as “previous month” for each of the 12 entities. I’ve got two days to figure this out until April 1st rolls around! lol…any thoughts?
Also - Running a basic HA Raspberry Pi setup with the default SQL database (nothing fancy)
But doesn’t the utility meter reset after the month is over? I need to capture the previous month so I can compare it to the current month. Maybe I missed something?
The Energy dashboard is able to display a sensor’s monthly stats but it depends on how it is configured, specifically its state_class. How are your sensors configured for state_class?
I’m not sure the energy panel is going to help me out since I want to track individual appliance consumption and not total consumption. Here is a portion of what my energy tab looks like now:
When I view the Energy chart in Year mode, it displays a stacked-bar graph. I can tap on a stacked-bar and it reports each device’s consumption (for the selected month). If that’s insufficient for your needs, you may want to consider storing sensor data in Influxdb (long-term storage) and graphing it with Grafana.
Thanks @123 , I’ll play around with it. I guess I was just hoping for populate my data all in one spot instead of jumping back and forth. The energy tab is nice but I like the ability to easily break down the month usage and cost in one place. Thanks again for your prompt response. It’s much appreciated.