Merge pull request #4 from vmario89/main

Update actors.ini
This commit is contained in:
Wolfram 2025-04-02 19:52:26 +02:00 committed by GitHub
commit faf9347e11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

@ -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}"
param_offMsg= "{\"id\": 1, \"src\": \"bffh\", \"method\": \"Switch.Set\", \"params\": {\"id\": 0, \"on\": false}"

2
initiators.ini Normal file
View File

@ -0,0 +1,2 @@
[dummy]
module = Dummy