-
Notifications
You must be signed in to change notification settings - Fork 4
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
[BUG]: 8 - 10 plug out of 25 detected in discovery phase #12
Comments
@joostwestra which version of Plugwise-beta do you have installed? |
Thanks for looking into this. |
Please update to v0.34.6b2 (becomes visible via Redownload - enable Show beta-versions in HACS). Yes, the magic happens in the backend python-plugwise - stick.py. But there are a large numbers of connected files. |
Eventually again ended up with 8 plugs connected (with version v0.34.6b2:) I also have a bigger debug log. But that one is already 350Mb. |
@joostwestra Thanks for the log ! |
Thanks @brefra for looking into this. The logs are definitely looking cleaner with v0.34.8b0 However so far it appears that still too many timeouts are hit in the discovery phase. Will keep trying a combination of keeping it running and reloading to see if it will pick up more.| I attached some logs: [home-assistant_plugwise_2023-03-02T08 |
After some more testing it again appears to get stuck between 8-10 plugs with versions. |
@joostwestra after every restart of HA the Stick must rediscover/reconnect to all the devices in the network. |
Current stuck at 11 plugs after waiting for much over 24 hours. |
Is there anything more I should do myself to help? Fork repo and play with variables myself? Show that the same setup works with other libraries? |
Problem persists with release I also do not really see any additional stick related fixes verses xv0.34.8b0 Any recommendations on to further actions? |
update @brefra: |
Did a new deployment today. |
@joostwestra although I don't expect the problem to be solved, could you please try with beta-version 0.40.5a1 and report back?
|
@dirixmjm Good to see you are picking this up. It might take while for me to test this, because I am currently using the system with a smaller deployment and less "hops" that work more stable. |
@joostwestra version v0.40.5 has just been released. Please update and test. |
Describe the bug.
Only a portion of the plugs are detected. Looking at the logs it appears to be a timing and logic issue.
What appears to be happening is that on first discovery the plug do not al reply on time (probably that total timeout is too short).
A retry does not happen "to speed up discovery"
And then because the types are not yet known they are automatically assumed to be battery operated devices (which they are not).
The result later is that they are never picked up.
(the same network does work with OpenHab)
What version of Home Assistant Core has the issue?
2023.2.5
What was the last working version of Home Assistant Core?
none
What type of installation are you running?
Home Assistant Container
How did you install plugwise-beta?
HACS
What kind of Plugwise device is having issues?
USB: Stick
What firmware version is your Plugwise product at?
2011-05-13 09:17:07
Logging
No response
Diagnostics information
When trying to reproproduce It appears I even get a timing problem with added the circle+:
home-assistant_plugwise_2023-02-17T09-19-46.296Z.log
Additional information
I did a number of complete integration reinstalls:
First try: 10 Plugs
second try: 8 plugs
3 : no circle +
4 : no circle +
5 : no circle +
I am quite comfortable modifying python code and constant if you can give me a pointer on the dependencies.
The text was updated successfully, but these errors were encountered: