nix-infra/config/hosts/public-web-static/spaceapid-config/ccchh-dynamic.json
dequis 919652f09c
spaceapid: add 3d printer state sensors (bool)
The schema only allows numeric values so I'm leaving the time to finish
field out of this for now.
2024-10-21 17:49:03 +02:00

62 lines
1.3 KiB
JSON

{
"dynamic": {
"sensors": {
"temperature": [
{
"sensor_data": {
"unit": "°C",
"location": "Innenhof",
"description": "Sensor im Innenhof (erreichbar durch das Flurfenster)"
},
"allowed_credentials": [
"club-assistant"
]
}
],
"humidity": [
{
"sensor_data": {
"unit": "%",
"location": "Innenhof",
"description": "Sensor im Innenhof (erreichbar durch das Flurfenster)"
},
"allowed_credentials": [
"club-assistant"
]
}
],
"3d_printer_state": [
{
"sensor_data": {
"unit": "bool",
"location": "Loetschlauch",
"name": "mk4",
"description": "Prusa mk4 state"
},
"allowed_credentials": [
"club-assistant"
]
},
{
"sensor_data": {
"unit": "bool",
"location": "Loetschlauch",
"name": "mk3.5",
"description": "Prusa mk3.5 state"
},
"allowed_credentials": [
"club-assistant"
]
}
]
},
"state": {
"open": {
"allowed_credentials": [
"dooris-hauptraum"
]
}
}
}
}