StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
624 stars 112 forks source link

Slow update of current consumption #182

Closed dodg3r closed 4 years ago

dodg3r commented 4 years ago

Hi.

My dev installation is on beta 8 and my prod installation is on 0.1.6.

In my prod installation current consumption is delayd with about 50 seconds when I turn on/off lights/switches. In my dev installation its almost instant. When I updated my dev to 0.1.6 the same delays occured

What to do ?

Someone else with same issue ?

catalinbordan commented 4 years ago

Same issue here too. the update is for every minute.

chemelli74 commented 4 years ago

Should we continue on #158 ?

Simone

dodg3r commented 4 years ago

Why continue in 158 ? Everything works except for power consumption as I descriped above. In 158 state updates of lovelace is slow ? That works for me.

chemelli74 commented 4 years ago

Sorry, didn't get that is only power slow. Can you all check on http://x.x.x.x/status if it's refreshed more often than once per minute ?

Simone

dodg3r commented 4 years ago

Hi. If I check the status of the plugs power consumption it changes instant. But it takes exactly 1 minute for lovelace to change.

chemelli74 commented 4 years ago

Hi. If I check the status of the plugs power consumption it changes instant. But it takes exactly 1 minute for lovelace to change.

Can you please try enabling debug log and check if CoAP message is received istantly or is delayed ?

It may be a fw issue, like we just discovered for Shelly Dimmer.

Simone

chemelli74 commented 4 years ago

Shelly's official support informed me that current consumption for CoAP is updated as follow:

At this point, I'm going to close this issue.

Simone