2021-09-19 21:45:52 +02:00
|
|
|
-- { actor_connections = [] : List { _1 : Text, _2 : Text }
|
|
|
|
{ actor_connections = [{ _1 = "Testmachine", _2 = "Actor" }]
|
2020-12-22 02:43:15 +01:00
|
|
|
, actors =
|
|
|
|
{ Actor = { module = "Shelly", params = {=} }
|
|
|
|
}
|
2021-02-08 21:52:06 +01:00
|
|
|
, init_connections = [] : List { _1 : Text, _2 : Text }
|
|
|
|
--, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
|
2020-12-22 02:43:15 +01:00
|
|
|
, initiators =
|
|
|
|
{ Initiator = { module = "Dummy", params = {=} }
|
|
|
|
}
|
2021-02-08 21:52:06 +01:00
|
|
|
, listens =
|
|
|
|
[ { address = "::", port = Some 59661 }
|
|
|
|
]
|
2020-12-22 02:43:15 +01:00
|
|
|
, machines =
|
|
|
|
{ Testmachine =
|
|
|
|
{ description = Some "A test machine"
|
|
|
|
, disclose = "lab.test.read"
|
|
|
|
, manage = "lab.test.admin"
|
|
|
|
, name = "Testmachine"
|
|
|
|
, read = "lab.test.read"
|
|
|
|
, write = "lab.test.write"
|
2021-02-08 21:52:06 +01:00
|
|
|
},
|
|
|
|
Another =
|
|
|
|
{ description = Some "Another test machine"
|
|
|
|
, disclose = "lab.test.read"
|
|
|
|
, manage = "lab.test.admin"
|
|
|
|
, name = "Another"
|
|
|
|
, read = "lab.test.read"
|
|
|
|
, write = "lab.test.write"
|
|
|
|
},
|
|
|
|
Yetmore =
|
|
|
|
{ description = Some "Yet more test machines"
|
|
|
|
, disclose = "lab.test.read"
|
|
|
|
, manage = "lab.test.admin"
|
|
|
|
, name = "Yetmore"
|
|
|
|
, read = "lab.test.read"
|
|
|
|
, write = "lab.test.write"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
, mqtt_url = "tcp://mqtt:1883"
|
2021-09-19 21:45:52 +02:00
|
|
|
, db_path = "/tmp/bffh"
|
2020-12-22 02:43:15 +01:00
|
|
|
}
|