diff --git a/actors.ini b/actors.ini index 38b354a..f86e503 100644 --- a/actors.ini +++ b/actors.ini @@ -1,7 +1,10 @@ +[dummy] +module = Dummy + [tasmota] module = Process -param_cmd = "/usr/local/lib/bffh/adapters/tasmota/main.py" -param_args = "--host mqtt --tasmota $actor_id" +param_cmd = "/usr/local/lib/bffh/adapters/tasmota/env/bin/python3" +param_args = "/usr/local/lib/bffh/adapters/tasmota/main.py --host MQTT_SERVER_HOST --user MQTT_SERVER_USER --password MQTT_SERVER_PASSWORD --tasmota $actor_id" [shelly] module = 'Shelly' @@ -11,4 +14,4 @@ param_topic = "shellyplug-$actor_id" module = "MqttSwitch" param_topic = "shellyplus1pm-$actor_id/rpc", param_onMsg = "{\"id\": 1, \"src\": \"bffh\", \"method\": \"Switch.Set\", \"params\": {\"id\": 0, \"on\": true}" -param_offMsg= "{\"id\": 1, \"src\": \"bffh\", \"method\": \"Switch.Set\", \"params\": {\"id\": 0, \"on\": false}" \ No newline at end of file +param_offMsg= "{\"id\": 1, \"src\": \"bffh\", \"method\": \"Switch.Set\", \"params\": {\"id\": 0, \"on\": false}" diff --git a/initiators.ini b/initiators.ini new file mode 100644 index 0000000..d800fd8 --- /dev/null +++ b/initiators.ini @@ -0,0 +1,2 @@ +[dummy] +module = Dummy