Logging data to Linux (Raspberry Pi)

Describe your system and processes, and post your config file.
Post Reply
clearwaterbrewer
Posts: 381
Joined: Wed Feb 09, 2011 3:43 pm
Bot?: No
Location: Clearwater, FL
Contact:

Logging data to Linux (Raspberry Pi)

Post by clearwaterbrewer » Sat Oct 28, 2017 6:13 am

Wondering if anyone has already done logging to a linux based machine from the BCS...

I am using Tilt Pi on a Raspberry Pi Zero W to log and monitor fermentations, and it logs onboard as well as to google sheets.

I bought another one to play with and have mySQL, phpMyAdmin, and a few other things running on it, and thought this would be the perfect place to log my BCS data, and not just temps, I want to know the time the process started and stopped and when to each state..

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

Re: Logging data to Linux (Raspberry Pi)

Post by JonW » Thu Nov 09, 2017 12:35 pm

Probably two ways to attack this. One would be to have a polling/logging app that would need to maintain the states of each proc/state/temp/input/output and only log an entry when a change occurs. The other way would be to just continuously log the poll data with a timestamp field and then do the comparatives as a reporting function. I think I'd opt for option #1 to cut down on the amount of logged data.

clearwaterbrewer
Posts: 381
Joined: Wed Feb 09, 2011 3:43 pm
Bot?: No
Location: Clearwater, FL
Contact:

Re: Logging data to Linux (Raspberry Pi)

Post by clearwaterbrewer » Sun Nov 26, 2017 4:49 am

Hoping someone with more time would find this useful, especially for those trying for repeatability...

Using mine in a production environment on a still that distills 100gal of fermented molasses into rum, and trying to see where we can not only improve repeatability, but also shave time off the process and be more efficient..

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest