Hi guys,
Hi guys, I have a mqtt systemd service that I need to restart when an item state is closed, Is this possible?
Cheers
Matt
Hi guys,
Hi guys, I have a mqtt systemd service that I need to restart when an item state is closed, Is this possible?
Cheers
Matt
Have a look at this thread: OpenHAB sudo [Exec Binding]
Preparation of sudo and systemctl restart is explained there.
Hi
Assuming that the permissions are set correctly, so that your openHAB user can execute a command.
You should just be able to use the
execCommandLine
feature within the rule.
Look through a thread like this for more information
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.