ha-emporia-vue
ha-emporia-vue copied to clipboard
1 min sensor doesn't catch spikes in power
The 1 minute sensor doesn't catch spikes in power but the Emporia app does. In the example below, there's a spike up to 110 W at around 9:20PM but the HA axis below tops out at 18W.
Double check the data in Home Assistant. You're looking at the statistics view, not the raw view, which filters the data into buckets. Click the Show More option and see if the spike shows up there.
It may also not show up since Home Assistant is showing the history of the data it's received when you view historical data, but the Emporia app queries their database which can receive updates for past data and doesn't just return the latest info. In Home Assistant we can't update past data, so if the spike is a correction to past data in the Emporia database there's no way we can capture it.
Double check the data in Home Assistant. You're looking at the statistics view, not the raw view, which filters the data into buckets. Click the Show More option and see if the spike shows up there.
It may also not show up since Home Assistant is showing the history of the data it's received when you view historical data, but the Emporia app queries their database which can receive updates for past data and doesn't just return the latest info. In Home Assistant we can't update past data, so if the spike is a correction to past data in the Emporia database there's no way we can capture it.
The spike isn't present in Show More either.
I noticed there's a 1 second sensor in the config files but I've never seen the 1 second sensor show up as an entity. Was this intentional ?
Emporia says that the 1s sensor shouldn't be used for an extended time because it puts stress onto the server. So using that server in HA is not a great idea, since it would poll non-stop 24/7. It's likely Emporia wouldn't be happy and eventually act in an unfavorable way to the HA community. (Just my thoughts!)
Emporia says that the 1s sensor shouldn't be used for an extended time because it puts stress onto the server. So using that server in HA is not a great idea, since it would poll non-stop 24/7.
Seems like very compelling logic for Emporia to add a local channel option so this integration doesn't NEED to constantly poll the cloud ;)
Which, I've just gotten word, they absolutely and unequivocally will not do:
that's fine we don't need 1s sensors - we just want the 1m one to catch spikes
How it is working now, is how the emporia device works. Nothing we can do to change this. You could flash with esp32home and sort it out that way.