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 0000000..2bdbd4a Binary files /dev/null and b/config/bffh/.users.toml.swp differ 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: