schema icon indicating copy to clipboard operation
schema copied to clipboard

3D Printers

Open dakhnod opened this issue 6 years ago • 4 comments

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?

dakhnod avatar Oct 14 '19 15:10 dakhnod

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/

dbrgn avatar Oct 14 '19 16:10 dbrgn

Both, the progress, temperature etc

dakhnod avatar Oct 14 '19 16:10 dakhnod

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?

dbrgn avatar Oct 14 '19 16:10 dbrgn

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"
      }
    ]
  }
  ...
}

gidsi avatar Oct 14 '19 17:10 gidsi