This commit is contained in:
Falko Richter 2024-07-10 13:30:44 +02:00
parent f4e3ca188c
commit 3e4f4266ef
2 changed files with 26 additions and 8 deletions

View File

@ -9,4 +9,12 @@ open questions:
* shoudl I change the cert?
* how do I validate the server is working?
* sample requests?
* what to expect on port `59661`?
* what to expect on port `59661`?
# setup tasmota
```
cd adapters
git clone https://gitlab.com/fabinfra/fabaccess/actors/tasmota.git
chmod +x tasmota/main.py
```

View File

@ -285,18 +285,28 @@
actors =
{
tasmota_1 =
{
module = "Shelly",
params =
tasmota_8365AF =
{
module = "Process",
params =
{
topic = "tasmota_8365AF"
cmd = "/usr/local/lib/bffh/adapters/tasmota/main.py",
args = "--host mqtt --tasmota 8365AF"
}
}
},
tasmota_8352F4 =
{
module = "Process",
params =
{
cmd = "/usr/local/lib/bffh/adapters/tasmota/main.py",
args = "--host mqtt --tasmota 8352F4"
}
},
},
actor_connections = [
{ machine = "MachineA1", actor = "tasmota_1" },
{ machine = "MachineA1", actor = "tasmota_8365AF" },
] : List { machine : Text, actor : Text },
initiators = {=},