ruuvitag-discovery
ruuvitag-discovery copied to clipboard
If no bluetooth packets are received within nn minutes exit( wdog_rc ) - 0.2.6 - resolve #28
If no bluetooth packets are received within nn(configuration parameter) minutes issue a critical message and reinitialize
See issue #38
Today I had to use shift-option and click on bluetooth icon to get extended bluetooth dropdown and did a "reset the bluetooth module"
I thought of something like that, but it's not possible. There are situations where it is normal to have no measures. And it's not so easy to "reinitialize", because there are many ways to launch the app (node index.js, docker, home assistant, ...).
The proper way to do that, would be to add an optional option to kill the process if no data is received in X seconds. And let the user choose his "watch" option (to relaunch the app), like pm2 in nodejs or supervisord in system.
Maybe just exit with an interesting return code after user defined watchDog timeout. Some users could then create a script that might execute "npm start" again based on that return code.
:-)
Is it only me (or mac os or mac bigsur) that has a problem?
I really appreciate your attitude that user options resolve many ideas that might be good but maybe not!.
I really appreciate your attitude that user options resolve many ideas that might be good but maybe not!.
Ok maybe my comment doesnt serve the proper github protocol but i have to say (and i say it only once) balda seems to be better coder listening what end users are saying.. a big thumbs up from me!