2020-12-15 13:04:21 +01:00
|
|
|
{ actor_connections = [{ _1 = "Testmachine", _2 = "Actor" }]
|
|
|
|
, actors =
|
2020-12-16 12:01:22 +01:00
|
|
|
{ Actor = { module = "Shelly", params = {=} }
|
2020-12-15 13:04:21 +01:00
|
|
|
}
|
|
|
|
, init_connections = [{ _1 = "Initiator", _2 = "Testmachine" }]
|
|
|
|
, initiators =
|
2020-12-16 12:01:22 +01:00
|
|
|
{ Initiator = { module = "Dummy", params = {=} }
|
2020-12-15 13:04:21 +01:00
|
|
|
}
|
|
|
|
, listens = [{ address = "localhost", port = Some 59661 }]
|
|
|
|
, 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"
|
|
|
|
} }
|
|
|
|
, mqtt_url = "tcp://localhost:1883"
|
|
|
|
}
|