Starting a brew with a button and sending notifications

#1

Hi there,
I’m wondering if it would be possible to set up a dedicated hardware button to start and stop a temperature profile brew with BrewBlox?
Also it possible to set up a notification via email for example, send an image capture of the temperature graph every ‘x’ hours or at the end of a brew to an email address?

#2

I’m afraid we don’t have any hardware buttons left on the Spark that could serve as dedicated start/stop button.

Graph rendering is done in the browser. If you leave the UI open, your browser will declare it inactive after a while. This disables any notification timers.
We could add support for email notifications in the backend, but this would not include graphs.

#3

Oh I see.

Is it possible to start a temperature profile from command line? Maybe that way I can somehow write a python script to run the command which is triggered by an arduino based button? Just thinking aloud.

#4

Absolutely. The UI sends JSON HTTP requests to the service. No reason you can’t do that from commandline.

Check the network tab while editing blocks to see what’s sent.

1 Like
#5

Okay cool. Thank you. I’ll try to dig into that.

#6

Have fun!

Our debugging api may also prove useful. Go to PI_ADDRESS/spark-one/api/doc to view all HTTP endpoints of the spark service.

#7

@Bob_Steers Perhaps a ‘Flic button’ can be incorporated. Don’t have one, though. Just a thought.

cheers,
Douwe