Josar
(Josar)
October 26, 2017, 10:28pm
3
@Alexaas maybe the first link allready helps you.
If it still does not get executed you can take the long way with a rule, similar setup as the second link.
The long way may also help you debugging by logging the returned massage from the command line.
There are situations where you want to use the Exec Binding to trigger something. Sometimes you need the sudo privilege to do this. I would rather try some group specification to reduce the user rights to a minimum, but here is how i got openHAB to be able to execute sudo.
Try executing a command as openhab
sudo -u openhab sudo -l
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of other…
This is a example thread to show how the exec binding 2.x works with detailed explanations.
This tutorial only works since openHAB 2.3.0 Build #1212.
I set up a fresh installation of “Raspbian GNU/Linux 9 (stretch)” and installed OpenHAB just followed my own thread and found some more information i missed at the first time. It is based on the Tutorial from here .
First make sure you connect your transmitter with the Raspberry like follows. Have a look at the RPI pinout .
Pin ATAD Data to 11 - …