Logging data to Linux (Raspberry Pi)

Describe your system and processes, and post your config file.
Post Reply
clearwaterbrewer
Posts: 366
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: 1466
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest