-
Notifications
You must be signed in to change notification settings - Fork 403
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
POWR320D randomly Turn Off when Energy entity is enabled in HA #1351
Comments
Why doesn't anyone read the docs? https://github.com/AlexxIT/SonoffLAN#issues |
Sorry for that. I below are log files. It got automatically Turned Off @ 13:57:35 |
I think your device has problems with WiFi. It goes offline a lot |
so, why it works well when "Energy" entity of this particular device is disabled in HA. Also, it reset all the counters on device when it Turns Off. Same device at same place worked well for 10 days when "Energy" entity was disabled. |
Try to collect 24 hours log for this device with disabled energy entity |
I kept Energy entity disabled for more than 25 hrs. No auto turn off and no settings on device was changed by it self. Debug Logs attached. |
Well. Only two errors for 10 hours. Not a big deal. |
but those two errors did not Turned Off the circuit nor it reset anything. while the energy entity is Turning Off and reset the value of the device. How should it be resolved ? |
Just don't use energy entity. Probably it can't be solved from integration side |
To use this power meter in Energy Dashboard of HA, device must have Energy Entity enabled. Since this is power meter, having it in Energy Dashboard is basic requirement |
ok, need some more clarity. it says
So lets say if i put this code into config.yaml then it will automatically pull the data every hour (3600sec) and i can use it in energy dashboard. and |
Also it says that you can collect energy via Hass. Using only device power sensor. |
Also you can try to check only cloud mode for component. And only local mode. Maybe problem with energy only via cloud/local. Your device support local energy requests. But I don't have this model for local tests. |
I just tried. |
@sanketgroup I have the same issue - thought it was the device, but as soon as I disabled the integration it stopped. Log Shows: "Device Triggered" |
I have few questions: "Read Me" says Question: Is really true that it loads from cloud every hour by default. Because my device log does not say that. It is trying to get data from cloud every few seconds rather 3600 seconds. So default does not match with actual log. It suggests one option as follow:
Question2: above code utilize 'Energy' entity, so it requires me to enable Energy entity, and so it will have the same problem again (Turning Off the device), so how can i use this option? |
Same issue for me. I've removed the integration from HA since the automatic switch off was a big issue for my usage. |
First, thank you very much AlexxIT! |
To be clear, they are POWR320D and POWR316D |
Hello
POWR320D Firmware: 1.1.1
SonoffLAN: 3.6.0
If I enable the "Energy" entity of POWR320D in HA, the device is getting turned off automatically at random few minutes.
Under HA Logbook (basic), there is no command being sent to the device from HA but device it self Turn off by it self.
This issue happens only when Energy Entity is enabled.
If i turn it off, device stay on without any issue.
Surprisingly it also reset the Device's internal stored readings such as "Energy Day" and "Energy Month"
Pls help to resolve this issue.
Thanks
The text was updated successfully, but these errors were encountered: