Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POW R2 no sensor value update #1455

Open
buitre-buitaker opened this issue Jul 28, 2024 · 5 comments
Open

POW R2 no sensor value update #1455

buitre-buitaker opened this issue Jul 28, 2024 · 5 comments
Labels
question Further information is requested

Comments

@buitre-buitaker
Copy link

Hi!

I installed the integration from HACS and it works nicely, but the sensors for my POW R2 (voltage, power, current,...) only updates if I toggle the state of the Led property. I think that this way I force to update them.

The devices are updated up to the last firmware version and I have installed latest HA version.

Thank you

Please, if you need more info, give me instructions to provide them.

@AlexxIT AlexxIT added the question Further information is requested label Jul 29, 2024
@buitre-buitaker
Copy link
Author

Thank you, does it mean that it is not possible to get the voltage, current and power updated with a refresh interval in homeassisntant during local operation? Thanks

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 5, 2024

Based on your description, it's possible:
https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#force-update

async def async_update(self):
if led := self.device["params"].get("sledOnline"):
# device response with current status if we change any param
await self.ewelink.send(
self.device, params_lan={"sledOnline": led}, cmd_lan="sledonline"
)
else:
await self.ewelink.send(self.device)

@gluca
Copy link

gluca commented Sep 8, 2024

I have the same problem with a Sonoff PSF-X67 (A rack power switch with differential). Power is updated only when eWelink app is open on my phone. I've already:
re-authenticate from the integration,
logged out and in from eWelink app.

I do not have other HA instances nor eWelink addon (i am using HA with docker). homeassistant.update_entity does nothing.

I am quite sure is a recent behaviour (i am running HA 2024.9)

@OlegVekhov
Copy link

Hello! I have may be the similar problem, but more specific. Not depended on opened app, the POW values of my device freezes randomly. Sometimes toggling switch from HA integration helps, sometimes not.

Changed working mode to cloud only, no luck - the same problems.

Read > https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#sonoff-pow , found that in cloud mode integration should pull values from cloud. Looks like this not true )

For example take look at screenshot - working time of sensor was very long (at least 10 hours). and then it's freezed

The logs is in the attachment

screenshot

sonoff-01J9W1WZW7TQ04RQT1XDM92BYN-Плита-ed84bdaaf99dfe9952f4961119748ba6.json

home-assistant_sonoff_2024-10-12T11-33-31.694Z.log.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants