|
|
|
\documentclass[11pt]{article}
|
|
%Gummi|065|=)
|
|
\usepackage{graphicx}
|
|
\usepackage{caption}
|
|
\title{\textbf{Self Hosted Data Logger for Arduino}}
|
|
\author{Steak Electronics}
|
|
\date{}
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\section{Preface}
|
|
I did some research on available self hosted solutions for Arduino, as of January 2019. I was thinking of using Thingspeak, but they haven't updated their self hosted git repo since 2016. Adafruit.io is the same but 2017\footnote{And uses node.js :/}. Sparkfun closed down their solution.\footnote{Apparently they have no idea what they are doing, and their solution inevitably blew up. Bloated software...} It seems theother data aggregaters are only interested in people giving them data, so they can then sell it, hoard it like wealth, etc... Another solution is necessary.
|
|
%\includegraphics[scale=0.2]{../pics/DSCN1016.JPG}
|
|
%\captionof{figure}{HP}
|
|
\section{Plan}
|
|
Since I've done some data logging with GNUplot before, I've decided to use a flat text file, and csv output. I don't want to deal with MQTT, as this is in a safe LAN (not over WAN), and security is no issue. I also don't want the clients to do any sending. They are stupid, they sit there, and the server is responsible for data collecting. Simple.
|
|
\vspace{0.2in}
|
|
|
|
What I will do, as I've already started doing, is hosting a web server on the microcontroller, which has amongst other things, sensor data available. The server will pull data from the sensor, and place it into a flat file. GNUplot will run via cron scripts, and the server will host various jpgs. Let's see how this goes.
|
|
|
|
|
|
\section{Implementation}
|
|
\textbf{Ingredients}
|
|
\begin{itemize}
|
|
\item SBC (Beaglebone, Rpi)
|
|
\item Network Connected Sensors
|
|
\item Time
|
|
\end{itemize}
|
|
|
|
|
|
|
|
|
|
\end{document}
|