Watts Happening
I call it like I see it.
- Joined
- May 3, 2022
- Messages
- 815
Probably a super specific question here, but I'm tinkering with using Home Assistant to get all of our smart devices into a single app/control center. As I set up a new "dashboard" or "view" yesterday I added gauges to keep an eye on the pertinent solar data and I thought I was good to go, but today I realized the data for solar production is cumulative and not daily.
Basically I want the gauge to show how much production the system has generated for the day, what it appears I'm getting is how much production the system has generated cumulatively since Home Assistant started talking to Solar Assistant. I can't make sense of which "entity" to use to get daily production vs cumulative production. Any ideas?
I know the data exists because Solar Assistant shows me my production daily, so it must be getting that information somehow, I just need to figure out how to display it. Basic screenshots below, when I got up and going this morning it was showing 23kWh, which was true for yesterday, but it did not reset today.
Extra info you probably don't need, but if people are interested in Home Assistant (HA) this is how mine is set up:
Initially I ran HA in a Docker image on my Unraid server, it has a ton of resources and is always running so it was a quick and easy process. I then quickly learned there were some relatively important things you couldn't do with it when run as a Docker container, specifically run HACS (Home Assistant Community Store) which is basically where all sorts of cool integrations and community contributions live, you really DO want this. So I then deployed it as a Virtual Machine on the same Unraid server which was pretty darn easy. This gives you a lot more granular control and far easier backups.
You can absolutely run Home Assistant on something like a Raspberry Pi, which is very power efficient but for me would just be another device to add. I'd also highly recommend getting an Unraid server set up if you have any form of an old computer laying around, it really can be the core of your smart home in many ways, far beyond solar/HA.
This is the configuration of that particular "card"
And here's a screenshot of what Solar Assistant says for the day, you can see it's showing both daily and weekly values. I'd love to be able to use both if possible.
Basically I want the gauge to show how much production the system has generated for the day, what it appears I'm getting is how much production the system has generated cumulatively since Home Assistant started talking to Solar Assistant. I can't make sense of which "entity" to use to get daily production vs cumulative production. Any ideas?
I know the data exists because Solar Assistant shows me my production daily, so it must be getting that information somehow, I just need to figure out how to display it. Basic screenshots below, when I got up and going this morning it was showing 23kWh, which was true for yesterday, but it did not reset today.
Extra info you probably don't need, but if people are interested in Home Assistant (HA) this is how mine is set up:
Initially I ran HA in a Docker image on my Unraid server, it has a ton of resources and is always running so it was a quick and easy process. I then quickly learned there were some relatively important things you couldn't do with it when run as a Docker container, specifically run HACS (Home Assistant Community Store) which is basically where all sorts of cool integrations and community contributions live, you really DO want this. So I then deployed it as a Virtual Machine on the same Unraid server which was pretty darn easy. This gives you a lot more granular control and far easier backups.
You can absolutely run Home Assistant on something like a Raspberry Pi, which is very power efficient but for me would just be another device to add. I'd also highly recommend getting an Unraid server set up if you have any form of an old computer laying around, it really can be the core of your smart home in many ways, far beyond solar/HA.
This is the configuration of that particular "card"
And here's a screenshot of what Solar Assistant says for the day, you can see it's showing both daily and weekly values. I'd love to be able to use both if possible.