Anyone know if there is an API call or some other way to perform a soft restart of zwave-js-ui when running it as a stand-alone docker container, rather than an Addon?
When the controller goes unavailable I’d like to automate a restart. In the UI for zwave-js-ui, pressing the restart button executes a javascript function and I don’t know if it’s possible to perform that from outside the UI
async restart() {
if (await this.confirm("Restart", "Are you sure you want to restart ZUI?", "warning", {
width: 400
}))
try {
const t = await Vs.updateConfig(!1);
this.showSnackbar(t.message, t.success ? "success" : "error")
} catch (t) {
xt.error(t)
}
}
Alternatively I could restart the entire container with an API call to Portainer but I’d rather go this route if possible.