Page 1 of 1
Wireless temperature controller now running(and tweeting)
Posted: Wed Jan 22, 2014 5:40 pm
by blacktip
So, when I was digging around the Everwood site, I came across this:
https://www.everwoodavebrewshop.com/pro ... hermowell/" onclick="window.open(this.href);return false; This is perfect for what I wanted to do with the large mouth carboy that is on order, except I can use a standard carboy and start right now!
Technical interlude:
I've re-flashed my Beaglebone Black with Debain Wheezy, because I find Ubuntu/Angstrom irritating. I also added and EDIMax USB wireless adapter to the platform, which installed without a hitch. I had a static discharge on the USB port when removing the keyboard to plug in the wireless card, which hung the entire bus, but we'll call that user error. I mashed together a device tree compiler file to run a DS18B20+ one-wire temperature sensor, which was a bit more of a hassle, but eventually it compiled and ran.
With the sensor wired up to a breadboard, I decided to do the obvious, publish the probe results to twitter. The first automaton of Automata Brew Works is now online:
https://twitter.com/automata_bw" onclick="window.open(this.href);return false;
Plan on wiring the relay for the heating belt tonight.
Re: Wireless temperature controller now running(and tweeting
Posted: Wed Jan 22, 2014 7:17 pm
by LiverDance
Anyone know what he just said

Re: Wireless temperature controller now running(and tweeting
Posted: Wed Jan 22, 2014 7:23 pm
by LeafMan66_67
LiverDance wrote:Anyone know what he just said

Sounded impressive!
Re: Wireless temperature controller now running(and tweeting
Posted: Wed Jan 22, 2014 7:51 pm
by bluenose
this needs a pie chart
Re: Wireless temperature controller now running(and tweeting
Posted: Wed Jan 22, 2014 8:06 pm
by adams81
Well done. Is this monitoring only or can you make remote temp changes?
Sent from my GT-I9000 using Tapatalk
Re: Wireless temperature controller now running(and tweeting
Posted: Wed Jan 22, 2014 8:14 pm
by LeafMan66_67
adams81 wrote:Well done. Is this monitoring only or can you make remote temp changes?
Sent from my GT-I9000 using Tapatalk
That was going to be my question - what do you do if you notice a problem while at work? Nice job!
Re: Wireless temperature controller now running(and tweeting
Posted: Thu Jan 23, 2014 12:25 am
by blacktip
Well, I work from home, so it's easy to intervene. Now that you've brought it up though, it shouldn't be too hard to add some sort of remote interface for making changes on the fly. The other thing that I thought might be useful is to set a schedule of changing temperatures to maximize yeast performance.
I've also pulled together a quick and dirty notification service that makes use of popover.net. Right now it only does the temperature probe, but that could be modified to do daily summaries(power cycles, average temp), and send them right to my phone.
Re: Wireless temperature controller now running(and tweeting
Posted: Thu Jan 23, 2014 12:27 am
by blacktip
Screenshot of the phone app.
Re: Wireless temperature controller now running(and tweeting
Posted: Mon Jan 27, 2014 5:52 pm
by blacktip
All wired up. Currently controlling a lamp.
Re: Wireless temperature controller now running(and tweeting
Posted: Mon Jan 27, 2014 7:03 pm
by blacktip
Trial underway, 9.125 degrees.
Re: Wireless temperature controller now running(and tweeting
Posted: Mon Jan 27, 2014 7:47 pm
by chalmers
Neat! Does it respond to tweets? If I ping it, will it send the current status?
Re: Wireless temperature controller now running(and tweeting
Posted: Tue Jan 28, 2014 10:39 am
by blacktip
It currently does not listen for requests, mainly because my friends would flood the controller, just to be jerks. The controller uses a Python library called Tweepy to post; I'm sure with some modifications it could behave in a half-decent manner to respond to requests. Further testing last night caused it bomb. Hard. I've improved the code, and now it should post reliably at the 47th minute of each hour.
I went out for the evening, and tested it coming up to 12 degrees, and then it turned off. The basement isn't that cold, so it just sped up the temperature increase.
Re: Wireless temperature controller now running(and tweeting
Posted: Tue Jan 28, 2014 12:00 pm
by RubberToe
I'm finally getting around to checking this out. Great job!
This stuff is right up my alley. I have a server rack and all my gear only a few feet form my ferm chambers. I also have an old Beagleboard collecting dust and a usb triggered relay somewhere. I see a lot of value in graphing the fermentation temp via munin / RRD / whatever.
I've seen some USB temp probes online somewhere too, might be useful.
Re: Wireless temperature controller now running(and tweeting
Posted: Tue Jan 28, 2014 1:07 pm
by blacktip
I'm planning on using d3.js and generate the graph on the fly from a SQLite DB. Munin can be a bit abusive to underpowered boxes when generating graphs. Munin-node is fine, but the daemon can be a bit of a beast.
Major caveats with the BB: the BB and the BBB are very different: pinouts, header locations, etc. Not all of the pins are active by default, some are reserved for "capes". So you have to dig around to find what is what. A USB sensor would be a whole lot less hassle, but means that you need to add a hub into the mix.
Re: Wireless temperature controller now running(and tweeting
Posted: Tue Jan 28, 2014 1:18 pm
by RubberToe
Yeah, got a couple of hubs, I'd have to stuck with USB for the gear I have.
Minun daemon on another machine, yes. Munin-node plugins are dead simple to write as well.