JobeeMonitor

Jobee hive monitor

old content was moved to: Jobee mini solar monitor

ARM hearth + Arduino

GNU/Screen config to log in a file

jobee@raspberrypi:~ $ cat .screenrc
deflog on
shelltitle monitor
logfile /home/jobee/screen.log

Open Arduino serial with screen

jobee@raspberrypi:~ $ screen /dev/ttyUSB0 9600

note that /dev/ttyUSB0 is the serial port of Arduino, 9600 is baud rate of serial in the sketch (https://github.com/Jodaille/LyceeDesAndaines/blob/master/JobeeMonitor/JobeeMonitor.ino#L105)

Ctrl+a then Ctrl+d to detach screen session

Read screen log to send to Emoncms (in a new screen)

launch a screen session

jobee@raspberrypi:~ $ tail -n1 -f /home/jobee/screen.log | /home/jobee/readLog.php

https://github.com/Jodaille/LyceeDesAndaines/blob/master/JobeeMonitor/readLog.php