Closed jeremyparks closed 3 years ago
Just to clarify, you're saying add this as an action button on the hub page, so the phone can instruct the hub to shut down via bluetooth? That shouldn't be too hard to add, I just want to make sure I have the workflow right. I was thinking about maybe allowing the hubs to be pull commands from the service as it posts its data. It'd be a little faster and less clunky than bluetooth, but I haven't built the framework for it yet.
Yeah, got the idea from Octoprint. You can shutdown the pi from the interface. Since the pi runs as headless it is nice to have the option to shutdown (poweroff).
It would be similar to reboot that you already have.
On Fri, Mar 5, 2021, 5:27 PM MarkBryanMilligan notifications@github.com wrote:
Just to clarify, you're saying add this as an action button on the hub page, so the phone can instruct the hub to shut down via bluetooth? That shouldn't be too hard to add, I just want to make sure I have the workflow right. I was thinking about maybe allowing the hubs to be pull commands from the service as it posts its data. It'd be a little faster and less clunky than bluetooth, but I haven't built the framework for it yet.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarkBryanMilligan/LanternPowerMonitor/issues/14#issuecomment-791810477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHVYANG3EZPNOZAEBG726TTCFZFRANCNFSM4YV42W6Q .
This is done. Android app is released, hub software needs to be updated to 1.0.2 for it to work. Commit
I noticed when moving my pi there was no button to shut down. It is better to shut down than just pull the plug to avoid data corruption.