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

Remote WARNING:peripherals:Attempt to unsubscribe while port value updates are off: RemoteButton on port 0x0 #137

Open
Eggmanplant opened this issue Jun 26, 2024 · 5 comments

Comments

@Eggmanplant
Copy link

Eggmanplant commented Jun 26, 2024

WARNING:peripherals:Attempt to unsubscribe while port value updates are off: RemoteButton on port 0x0
This annoys me when trying to use the remote.

@undera
Copy link
Owner

undera commented Jun 26, 2024

Hi
It's a bit short of a context. Is the warning itself annoying or some functionality does not work?

The warning would normally only produce if you try to call unsubscribe() on a port that you did not subscribe() first.

Without seeing your code it is hard to guess the possible reason.

@Eggmanplant
Copy link
Author

The program stops. This error is from the controller demo.

@undera
Copy link
Owner

undera commented Jul 2, 2024

Which controller demo do you mean?

@Eggmanplant
Copy link
Author

I mean demo_handset.py from examples. Sorry for late reply, I was focused on moving to Codeberg.

@undera
Copy link
Owner

undera commented Nov 3, 2024

Looking at the code of that demo, the unsubscribe only happens after 30 seconds of sleep in program. The message would mean that the subscribe were not successfull.
You'd need to look at detailed debug log of communication to tell what exactly happens.

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

2 participants