-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Proposal] Reboot function call #188
Comments
Reboot isn't related to port & io interaction—why not just let user code shell out to |
Do we want people using linux or js? We provide a bunch of tessel services On Wed, Aug 3, 2016, 9:23 PM Rick Waldron notifications@github.com wrote:
|
Is rebooting directly from your JS code something that is frequently needed? |
It's something I do to my router and my nest and at least once to my drop On Wed, Aug 3, 2016, 9:28 PM Rick Waldron notifications@github.com wrote:
|
@reconbot How do you see if being used in your programs? Is it something called by a physical button (but not the on-board one) or from some kind of web UI?
|
If I'm a developer prototyping an app I don't see a major use case. If I'm a user of a tessel based app and the tessel is plugged in somewhere and hidden away and it starts to act funky then I see the value in this functionality. And if I'm a developer thinking of my user, then I see the value in the function call. I kind of think we should be able to provide programmatically all the functionality of the tessel. We've hidden the openwrt backend from normal use and I think we should keep it hidden and continue to provide a nice clean api. |
Some percentage of users have limited exposure to *nix (i.e. Windows and some Mac users) and as soon as you tell them to "just shell out to Assuming the use case is valid, it should be in the API. |
I'll spend some time investigating this |
- Closes ports before executing `reboot` Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
- Closes ports before executing `reboot` Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
- Closes ports before executing `reboot` Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
- Closes ports before executing `reboot` Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
I'd like to propose a
tessel.reboot()
function call on the tessel object. You can shell out to reboot, but that seems messy.The text was updated successfully, but these errors were encountered: