Hello,
I want to use a DummyShutter with shell-execute. I created two rules but it doesn’t work.
" error [pimatic]: Error on evaluation of rule condition of rule rollo-badezimmer-hoch: undefined
15:09:40error [pimatic]: rule rollo-badezimmer-hoch error executing an action: undefined
15:09:40error [pimatic-shell-execute]: [ShellActionHandler] Error: Command execution failed with exit code 1 (Error: Command failed:)"
This are the rules:
"if position of rollo is up then execute "php tcp.php 192.168.2.105 2x4x1"
if position of rollo is down then execute “php tcp.php 192.168.2.105 2x5x1"”
And this is the config:
"{
“id”: “rolloHoch”,
“name”: “Rollo Hoch Status”,
“class”: “ShellSensor”,
“attributeName”: “rolloHoch-state”,
“attributeType”: “number”,
“command”: “php /home/pi/tcp.php 192.168.2.105 3x4”,
“interval”: 1000
},
{
“id”: “rolloRunter”,
“name”: “Rollo Runter Status”,
“class”: “ShellSensor”,
“attributeName”: “rolloRunter-state”,
“attributeType”: “number”,
“command”: “php /home/pi/tcp.php 192.168.2.105 3x5”,
“interval”: 1000
},
{
“id”: “rollo”,
“class”: “DummyShutter”,
“name”: “Rollo”
},"