decidron-simulator / backend /app /data /decidron /sample_commands.json
NeonClary
Add Decidron network simulator
808ab9a
Raw
History Blame Contribute Delete
596 Bytes
[
{
"name": "HighTempAlert",
"sensor": "temperature",
"match": "gte:85",
"output": "Trigger failsafe review",
"actuator": "actuator-1"
},
{
"name": "CriticalTempReconfigure",
"sensor": "temperature",
"match": "gte:95",
"output": "Spin up redundant Decidron D3 and couple it to the failsafe actuator",
"network_ops": [
{ "op": "add_node", "node": { "id": "D3", "label": "Decidron D3", "type": "decidron" } },
{ "op": "add_edge", "from": "temperature", "to": "D3" },
{ "op": "add_edge", "from": "D3", "to": "actuator-1" }
]
}
]