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

Restart timer plus plus #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

btsimonh
Copy link

@btsimonh btsimonh commented Feb 26, 2023

A variety of improvements which allow the client to reconnect in different circumstances.
e.g. on pigpiod restart, turning wifi off on laptop, and then back on again, etc.
Not tested with laptop sleep.
Also adds an option to keep node alive, addresses #42
Also, if timeout is -1, it will try forever.

br,
Simon

…e process alive whilst retrying to connect

(cherry picked from commit 9e6a61f5838ef31e2e83f4bb6418411a4884d790)
re-start notifications on reconnect.
Bugfix - on removing a notification, make the new monitored bits from the remaining notifications, else we could remove a bit we are still interested in.
On connect/reconnect/new notification, always send a msg with tick and levels.
Add pigpio.glitchSet(gpio, steady, cb) - so that this feature can be used independent of gpio classes.

(cherry picked from commit 46941b55ede01a9d99a84d86468cca46cd19b3d5)
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

Successfully merging this pull request may close these issues.

1 participant