You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't that script cause a rig to reboot all day if you leave it at home and walk away with the pump? Seems we should instead detect and reboot only for things that represent unambiguous problems with the rig, not just the pump being out of range.
The reason will be displayed to describe this comment to others. Learn more.
i only use this on a mobile rig that i power up if it will be used.
sometimes my pump-log fails because it contains binary characters (miscommunication between CC1111 TI USB and pump). I'll try to find the good counterpart of grep "spidev5.1 already in use" for the failing TI USB part. Should I extend radio-reboot branch for that?
74cc011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @scottleibrand
I think this mechanism can also be used for the TI USB that sometimes disappears, see #354
I also have a whatdog script that checks pump-session age, which I scheduled 3 times an hour:
74cc011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I extend the radio-reboot branch, or do you first bring it to dev branch?
74cc011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't that script cause a rig to reboot all day if you leave it at home and walk away with the pump? Seems we should instead detect and reboot only for things that represent unambiguous problems with the rig, not just the pump being out of range.
74cc011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i only use this on a mobile rig that i power up if it will be used.
sometimes my pump-log fails because it contains binary characters (miscommunication between CC1111 TI USB and pump). I'll try to find the good counterpart of
grep "spidev5.1 already in use"
for the failing TI USB part. Should I extend radio-reboot branch for that?74cc011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.