spaceapid: adjustments to 3d printer state sensors #8

Merged
june merged 1 commit from dx/nix-infra:3d-printer-state-part-2 into main 2024-10-27 17:06:05 +01:00

View file

@ -25,13 +25,13 @@
] ]
} }
], ],
"3d_printer_state": [ "ext_3d_printer_busy_state": [
{ {
"sensor_data": { "sensor_data": {
"unit": "bool", "unit": "bool",
"location": "Loetschlauch", "location": "Loetschlauch",
"name": "mk4", "name": "mk4",
"description": "Prusa mk4 state" "description": "Prusa mk4 busy state"
}, },
"allowed_credentials": [ "allowed_credentials": [
"club-assistant" "club-assistant"
@ -42,7 +42,31 @@
"unit": "bool", "unit": "bool",
"location": "Loetschlauch", "location": "Loetschlauch",
"name": "mk3.5", "name": "mk3.5",
"description": "Prusa mk3.5 state" "description": "Prusa mk3.5 busy state"
},
"allowed_credentials": [
"club-assistant"
]
}
],
"ext_3d_printer_minutes_remaining": [
{
"sensor_data": {
"unit": "minutes_remaining",
"location": "Loetschlauch",
"name": "mk4",
"description": "Prusa mk4 minutes remaining"
},
"allowed_credentials": [
"club-assistant"
]
},
{
"sensor_data": {
"unit": "minutes_remaining",
"location": "Loetschlauch",
"name": "mk3.5",
"description": "Prusa mk3.5 minutes remaining"
}, },
"allowed_credentials": [ "allowed_credentials": [
"club-assistant" "club-assistant"