Datalogging / storing data

Applications that run on PC/Mac.
User avatar
Broph
Posts: 116
Joined: Fri Oct 16, 2009 1:19 am
Bot?: No
Location: Illinois
Contact:

Datalogging / storing data

Post by Broph » Sat Mar 20, 2010 8:52 am

I received my second BCS a week ago, because my 1st BCS in bolted to my brewstation (photo below), and have been using it to monitor the temperature inside the carboy of my latest brew which is stored in my basement. I have a thermowell and temp sensor from Brewers Hardware. It's been an interesting last few days monitoring the temps... I was wondering if in a future version of the BCS if the data logging function could store the data on a network drive, or maybe a memory card that could plug into the BCS. Also if it would be possible to have the data file log in a different format (data being logged downward rows instead of left to right). In addition if the temperatures that are logged have a decimal point.

Carboy with the thermowell, sensor and airlock.
carboy.jpg
carboy.jpg (200.3 KiB) Viewed 7239 times
Brewstation and control panel bolted to side.
brewstation.jpg
brewstation.jpg (52.71 KiB) Viewed 7239 times
Inside the control panel
al9000_inside.jpg
al9000_inside.jpg (98.57 KiB) Viewed 7239 times
Thomas Brophy
AleForce Homebrewery

User avatar
ECC
Posts: 676
Joined: Fri Sep 12, 2008 12:29 pm
Bot?: No
Contact:

Re: Datalogging / storing data

Post by ECC » Sun Mar 21, 2010 12:03 pm

Broph.

All good ideas. I agree, its kind of a pain to have the data in columns instead of rows. Unfortunately that's the way that the Open Flash Chart guys specified it, which is what the BCS uses to graph data. Its possible that one could rewrite the interface since it's open source software.

Storing data on the network is also a great idea. There are some roadblocks (or at least difficulties) with the BCS writing a file directly onto another computer on the network. It would, however, be very easy to write a small utility to poll the BCS and dump out a file (in any format). Or a small server script that would listen to the BCS for updates. I'm still looking for volunteers to help write a few BCS utilities, please PM/email me if interested.

User avatar
Broph
Posts: 116
Joined: Fri Oct 16, 2009 1:19 am
Bot?: No
Location: Illinois
Contact:

Re: Datalogging / storing data

Post by Broph » Wed Mar 24, 2010 6:39 am

Thanks. Your post has given me some ideas. If I can figure out a way to get something working I will share that with you.

Thanks again for all of your work on the BCS, and after seeing your latest post on things to come it sounds like you are getting ready to open up the flood gates of more functionality.

Tom
Thomas Brophy
AleForce Homebrewery

SpokaneBrewer
Posts: 13
Joined: Thu Oct 17, 2013 6:28 pm
Bot?: No
Location: Spokane, Washington

Re: Datalogging / storing data

Post by SpokaneBrewer » Thu Jun 18, 2015 12:32 pm

Here is a cool app that has resulted from users in this forum and a keen programmer from my local homebrew club. It stores the temperature data at whatever interval you specify at whatever location you choose.

File is attached and also it may be updated as we go. Mike is an awesome programmer. Here is the link to his download site: http://michael-arthur.com/BCSTempLogger.zip
Attachments
BCSTempLogger.zip
(7.48 KiB) Downloaded 278 times

brahn
Posts: 543
Joined: Thu Dec 13, 2012 11:01 am
Bot?: No

Re: Datalogging / storing data

Post by brahn » Thu Jun 18, 2015 5:23 pm

Is this for the 3.x firmware? Would he be interested in updating it for 4.0?

MikeRussell
Posts: 30
Joined: Thu Jun 18, 2015 7:58 pm
Bot?: No

Re: Datalogging / storing data

Post by MikeRussell » Fri Jun 19, 2015 5:40 pm

Sure thing! Could you point me towards the change log or perhaps an example response?

User avatar
JonW
Site Admin
Posts: 1696
Joined: Sun Jul 18, 2010 7:51 am
Bot?: No
Location: Huntington Beach, CA
Contact:

Re: Datalogging / storing data

Post by JonW » Fri Jun 19, 2015 6:35 pm

Check out the links in the 2nd post of this thread:
http://forum.embeddedcc.com/viewtopic.php?f=11&t=2666

The API is documented and there are sample apps available.

brahn
Posts: 543
Joined: Thu Dec 13, 2012 11:01 am
Bot?: No

Re: Datalogging / storing data

Post by brahn » Sat Jun 20, 2015 10:30 am

Yes, what Jon said. I can help with any questions too, send me a PM on the forum here.

MikeRussell
Posts: 30
Joined: Thu Jun 18, 2015 7:58 pm
Bot?: No

Re: Datalogging / storing data

Post by MikeRussell » Sat Jun 20, 2015 11:48 am

Oh nice, I just found the 4.0 api as well.

I don't think we (SpokaneBrewer) are on 4.0 yet. I don't actually have a BCS (maybe i should fix that ;) so I won't be able to test anything until he upgrades - in the time being could someone post a sample response to get /temp ? I'll probably just consume that in the hopes of showing all probes for now

brahn
Posts: 543
Joined: Thu Dec 13, 2012 11:01 am
Bot?: No

Re: Datalogging / storing data

Post by brahn » Sat Jun 20, 2015 3:30 pm

Here's what /api/temp looks like on my test unit (460) right now:

Code: Select all

[1027,1034,0,1006]
Corresponds to 102.7, 103.4, etc

Here's /api/temp/0 in case you're curious:

Code: Select all

{"name":"Temp Probe 0","temp":1028,"setpoint":null,"resistance":5471,"enabled":true,"coefficients":[0.0011371549,0.0002325949,9.5400029999e-8]}

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest