From 68ea1721989249e3b681bca5234d1f4971dc9241 Mon Sep 17 00:00:00 2001 From: SunboX Date: Fri, 5 Jan 2024 08:46:00 +0100 Subject: [PATCH] SL setup test --- adapters/tasmota | 1 + config/bffh/.users.toml.swp | Bin 0 -> 1024 bytes config/bffh/bffh.dhall | 18 ++++++++++++++++-- docker-compose.yaml | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) create mode 160000 adapters/tasmota create mode 100644 config/bffh/.users.toml.swp diff --git a/adapters/tasmota b/adapters/tasmota new file mode 160000 index 0000000..3969228 --- /dev/null +++ b/adapters/tasmota @@ -0,0 +1 @@ +Subproject commit 396922846c1fa898503780754b4afc95bdacc71d diff --git a/config/bffh/.users.toml.swp b/config/bffh/.users.toml.swp new file mode 100644 index 0000000000000000000000000000000000000000..2bdbd4a94d4740b38c52a810c92c06cdab2b46ad GIT binary patch literal 1024 zcmYc?$V<%2S1{ExVL$;btPBikiAgA8xHv#{iOI>S#l^T3K*f{u^U^ZY^^?-lGW1J} ZQ;UlAO7e4a2xuCW9u0xf5TIEI008!>5Xk@l literal 0 HcmV?d00001 diff --git a/config/bffh/bffh.dhall b/config/bffh/bffh.dhall index 76b9859..8291b67 100644 --- a/config/bffh/bffh.dhall +++ b/config/bffh/bffh.dhall @@ -283,11 +283,25 @@ }, }, - actors = {=}, + actors = { + tasmota_F09A4C = { + module = "Process", + params = { + cmd = "/usr/local/lib/bffh/adapters/tasmota/main.py", + args = "--host mqtt --tasmota F09A4C" + }, + }, + }, - actor_connections = [] : List { machine : Text, actor : Text }, + actor_connections = [ + { + machine = "MachineA1", + actor = "tasmota_F09A4C" + }, + ] : List { machine : Text, actor : Text }, initiators = {=}, init_connections = [] : List { machine : Text, initiator : Text }, } + diff --git a/docker-compose.yaml b/docker-compose.yaml index 4b67ce0..fec1c25 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: # - "./config/dnsrobocert:/etc/dnsrobocert" bffh: - image: registry.gitlab.com/fabinfra/fabaccess/bffh:development + image: registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.3-pre2 pull_policy: always restart: always ports: