! ````
[
{
"id": "7419bfb6.fe762",
"type": "exec",
"z": "e608e40d.eacc3",
"command": "python /opt/test/iobroker.rfid/script/rfid.py",
"addpay": false,
"append": "",
"useSpawn": false,
"timer": "",
"name": "python /opt/test/iobroker.rfid/script/rfid.py",
"x": 440,
"y": 200,
"wires": [
[
"6a522737.9a8b58"
],
[
"4aeaa22d.0f8e24"
],
[
"c1e524b1.858bf"
]
]
},
{
"id": "6a522737.9a8b58",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 750,
"y": 143,
"wires": []
},
{
"id": "c1e524b1.858bf",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 820,
"y": 240,
"wires": []
},
{
"id": "4aeaa22d.0f8e24",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 890,
"y": 180,
"wires": []
},
{
"id": "57b8f669.2b64f",
"type": "inject",
"z": "e608e40d.eacc3",
"name": "",
"topic": "",
"payload": "true",
"payloadType": "bool",
"repeat": "",
"crontab": "",
"once": true,
"x": 130,
"y": 220,
"wires": [
[
"7419bfb6.fe762"
]
]
}
]
Hier der Code im Debug steht rein gar nix.
Habe nun mal den Debug auf dem Injekt gesetzt und geschaut ob da was kommt und das tut es. also läuft das exec nicht wie vermutet
EDIT: So geht es und es kommt eine Ausgabe! Ob es alles richtig ist weiß ich allerdings noch nicht :mrgreen:
>! ````
[
{
"id": "7419bfb6.fe762",
"type": "exec",
"z": "e608e40d.eacc3",
"command": "python",
"addpay": false,
"append": "/opt/test/iobroker.rfid/script/rfid.py",
"useSpawn": true,
"timer": "",
"name": "python /opt/test/iobroker.rfid/script/rfid.py",
"x": 440,
"y": 200,
"wires": [
[
"44e6c2bc.2f9934"
],
[
"cf0e0d61.e0f6b"
],
[
"a81ff54e.6a04f8"
]
]
},
{
"id": "57b8f669.2b64f",
"type": "inject",
"z": "e608e40d.eacc3",
"name": "",
"topic": "",
"payload": "true",
"payloadType": "bool",
"repeat": "",
"crontab": "",
"once": true,
"x": 130,
"y": 220,
"wires": [
[
"7419bfb6.fe762"
]
]
},
{
"id": "44e6c2bc.2f9934",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 800,
"y": 160,
"wires": []
},
{
"id": "cf0e0d61.e0f6b",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 900,
"y": 200,
"wires": []
},
{
"id": "a81ff54e.6a04f8",
"type": "debug",
"z": "e608e40d.eacc3",
"name": "",
"active": true,
"console": "true",
"complete": "true",
"x": 880,
"y": 340,
"wires": []
}
]