ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

1 min sensor doesn't catch spikes in power

Open cliffjao opened this issue 1 year ago • 7 comments

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.

Screenshot_20240117-081855

Screenshot_20240117-081922

cliffjao avatar Jan 17 '24 16:01 cliffjao

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.

magico13 avatar Jan 17 '24 16:01 magico13

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.

Screenshot_20240117-095446

cliffjao avatar Jan 17 '24 17:01 cliffjao

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 ?

npstewart87 avatar Jan 23 '24 04:01 npstewart87

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!)

Esprit1st avatar Jan 23 '24 21:01 Esprit1st

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 ;)

alexwhittemore avatar Mar 05 '24 21:03 alexwhittemore

Which, I've just gotten word, they absolutely and unequivocally will not do: image image

alexwhittemore avatar Mar 09 '24 00:03 alexwhittemore

that's fine we don't need 1s sensors - we just want the 1m one to catch spikes

warmfire540 avatar Mar 09 '24 00:03 warmfire540

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.

DabblerIOT avatar Jul 24 '24 16:07 DabblerIOT