Files
mc-webui/docs
MarekWoandClaude Opus 5 0c7ad6c73b feat(device): reboot the device from the Device Info panel
Restarting the node meant opening the Console and typing `reboot`, or
reaching the hardware. Device > Info now carries the same action as a
button, with a confirm that says what it costs: the device leaves the
mesh for a few seconds and anything addressed to you in that window can
be lost.

POST /api/device/reboot wraps the DeviceManager.reboot_device() the
console command already used. The firmware acknowledges nothing and the
companion link goes down with it, so a 200 means "command written", not
"device is back" - the reconnect is _on_disconnected()'s job, and it
takes about five seconds over TCP.

The button is rendered by loadDeviceInfo() rather than sitting in
base.html, so it only exists on the branch where the device answered.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 07:23:11 +02:00
..