Establish Restart Domoticz in Menu

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
imautohuttraeger
Posts: 407
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Establish Restart Domoticz in Menu

Post by imautohuttraeger »

Today, the menu "setup / more options" includes

Restart System and Shutdown System (related to the OS)

I would additionally like to have at least

Restart Domoticz

Maybe also Stop Domoticz and Start Domoticz, but I think it would only make sense, if a click on "Start" is working on a stoped Domoticz (as the page of a stopped Domoticz would actually be kind of non-responsive, or would it work on kind of such a freezes page?)
Stop, look and listen.
gerardvs
Posts: 98
Joined: Sunday 04 January 2015 0:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest-1
Location: /dev/null
Contact:

Re: Establish Restart Domoticz in Menu

Post by gerardvs »

How would you start Domoticz if it is stopped and therefore the webinterface is not able to communicate with the system.
You could make a os script which stops and starts Domoticz and use a dummy button to execute. A separate stop and start will need an extra interface to the os like a minimal webserver or if you want really minimal use netcat. Security is gone in that way.
User avatar
madpatrick
Posts: 889
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2026.1
Location: Netherlands
Contact:

Re: Establish Restart Domoticz in Menu

Post by madpatrick »

Sounds like a good idea to have a restart Domoticz button in the menu
A reboot button is to my opion not required as i don't want to stop a server with a button which is accessable by users so easy

Maybe a better place could be in the config/settings menu
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2026.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
User avatar
imautohuttraeger
Posts: 407
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: Establish Restart Domoticz in Menu

Post by imautohuttraeger »

@MadPatrick
I agree: Today's controling of the OS via Domoticz is not helpful. Maybe a complete exchange from "System" to "Domoticz" would be reasonable.
Stop, look and listen.
User avatar
imautohuttraeger
Posts: 407
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Germany
Contact:

Re: Establish Restart Domoticz in Menu

Post by imautohuttraeger »

@gerardvs
Indeed. Most likely only Restart Domoticz makes sense.
Stop, look and listen.
Post Reply