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

Home Assistant / MQTT: AMSreader current hour used resets to 0 more than one time every hour. #679

Closed
offeloffen opened this issue Nov 22, 2023 · 9 comments

Comments

@offeloffen
Copy link

Describe the bug
AMSreader current hour used resets to 0 more than one time every hour.

To Reproduce
All the time.
Screenshot_20231121_082841_Chrome

Expected behavior
Should reset to 0 every hour.
Even If it should be interrupt in the Internet connection, it should go back to the accumulated value when reconnect? 🤔
(The accumulation works as expected in the WEB user interface)
Screenshot_20231122_162454_Home Assistant

Screenshots
Screenshot_20231122_153225_Chrome

Hardware information:

  • Country: Norway
  • Meter: Aidon
  • Encryption enabled [yes/no]
  • AMS reader: Pow-U+

Relevant firmware information:

  • Version: 2.2.23
  • MQTT: yes
  • MQTT payload type: Home Assistant
  • ENTSO-E API enabled: no

Additional context
Add any other context about the problem here.

@gskjold
Copy link
Member

gskjold commented Nov 22, 2023

Sounds like your Pow-U reboots frequently. Is power saving set to "Maximum" in you config? Also, "Allow 802.11b modes" should be disabled.

@john-arvid
Copy link

I have the same issue as @offeloffen , power saving is set to "Maximum", testing now by disabling the "Allow 802.11b modes".

@offeloffen
Copy link
Author

Thank you for quick answer!

Power saving was in "Minimum" and "Allow 802.11b modes" was enabled.
I changed those two now and it seems like it fixed the problem.

I'll wait one more day before closing issue.

@ArnieO
Copy link
Contributor

ArnieO commented Nov 23, 2023

Disabling "Allow 802.11b modes" has cured reboot issues for many users.

@offeloffen
Copy link
Author

So. After a day this is A LOT better, but still reboots some times...
bilde
Wonder why is still happends.. :/
bilde

I will try to set the power saving to Minimum again and if it helps.

@john-arvid
Copy link

Same here, much less reboots but I have had atleast 1 the last 24 hours.
Skjermbilde 2023-11-23 192933

@gskjold
Copy link
Member

gskjold commented Nov 24, 2023

Obviously something is disturbing power saving on your devices. Are you pulling JSON from the device API or running a constant ping on the device or any other network related traffic?

@john-arvid
Copy link

I agree, there must be something causing the reboots.
In my case I don't have anything set up other than mqtt, no service/device is polling the amsreader.
I'm using unifi for my wireless network, but I only have one wifi AP.
No multicast device other than some google speakers, and I don't use them often (so not much user created traffic).

@offeloffen
Copy link
Author

[FIXED]

After I've disabled the "Allow 802.11b legacy rates" it's stable.
Screenshot_20231201_085759_Chrome.jpg

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

No branches or pull requests

4 participants