Open dakhnod opened 4 years ago
What do you mean with "the state"? Whether they're turned on? How long they're printing?
We currently publish the webcam feed through the SpaceAPI: https://status.crdmp.ch/
Both, the progress, temperature etc
This will probably be quite space-specific, both what data you publish and what you do with it.
You should start specifying and using custom fields (prefixed with ext_
as per https://spaceapi.io/docs/). If a few spaces find this cool and start using the fields as well, we can discuss standardizing them.
Other opinions, @rnestler @gidsi?
Hmm, 3d printers are quite common, so far i can't think of a space who doesn't have one.
And im pretty sure we can have something quite generalized for the start, something like:
{
...
"sensors": {
"3dprinter": [
{
"name": "my-fancy-printer",
"time_left": 120,
"cam": "https://url-to-y.our/webcam"
}
]
}
...
}
I would love to see the state of our 3D printers through the api,
not sure where exactly to put them in the json, though.
Could that be included?