From 014d3ca1aee0184cfe22586627d6bd03d10bd82a Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Thu, 21 Nov 2024 15:24:11 +0100 Subject: [PATCH] Update actors.ini adjustments for proper setup --- actors.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actors.ini b/actors.ini index 38b354a..8942843 100644 --- a/actors.ini +++ b/actors.ini @@ -1,7 +1,7 @@ [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 +11,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}"