From 014d3ca1aee0184cfe22586627d6bd03d10bd82a Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Thu, 21 Nov 2024 15:24:11 +0100 Subject: [PATCH 1/3] 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}" From 91299efcef62ff39b894ace127da6e3286d008db Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 11 Dec 2024 10:58:14 +0100 Subject: [PATCH 2/3] Update actors.ini add dummy actor --- actors.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actors.ini b/actors.ini index 8942843..f86e503 100644 --- a/actors.ini +++ b/actors.ini @@ -1,3 +1,6 @@ +[dummy] +module = Dummy + [tasmota] module = Process param_cmd = "/usr/local/lib/bffh/adapters/tasmota/env/bin/python3" From cf3a20f0769df7c8a8db5669d05360a0e0d7e373 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Wed, 11 Dec 2024 10:59:25 +0100 Subject: [PATCH 3/3] Create initiators.ini add dummy initiator --- initiators.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 initiators.ini 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