Green Building Forum - Remote Data Logging Tue, 19 Dec 2023 05:13:18 +0000 http://www.greenbuildingforum.co.uk/newforum/ Lussumo Vanilla 1.0.3 Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163623#Comment_163623 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163623#Comment_163623 Thu, 20 Dec 2012 12:44:18 +0000 Robur
Just read the Raspberry Pi thread - looking really good.

In the post this morning I got my CISECO EVE http://www.kickstarter.com/projects/ciseco/eve-alpha-raspberry-pi-wireless-development-hardwa which plugs onto the Raspi to give you wireless options a-plenty. I havn't tried it yet but perhaps over the coming hols. Dealing with Linux might take some getting used to but all good fun learning.

At the moment I'm using SolderCore which is a real treat and so much more robust than my previous Arduino based get up: http://www.airsensor.co.uk/component/zoo/item/soldercore-co2-shield-to-cosm-sd-card.html

The code it written in BASIC and is sweetly short/easy to read :-).... all good fun.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163646#Comment_163646 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163646#Comment_163646 Thu, 20 Dec 2012 14:45:39 +0000 SteamyTea Posted By: RoburDealing with Linux might take some getting used to but all good fun learning.Or incredibly frustrating :cry:
I may look at Bluetooth as a way to get a keyboard and mouse and transfer files to it.
Though go t it running on the wireless at them moment, can't get it to connect via the Ethernet though. Can ping the router, can use TightVNC across my network (but have no idea how to make it start at bootup) but just can't get it to talk to 'outside'. All very frustrating.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163657#Comment_163657 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163657#Comment_163657 Thu, 20 Dec 2012 16:22:08 +0000 Robur Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163660#Comment_163660 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=163660#Comment_163660 Thu, 20 Dec 2012 17:51:26 +0000 SteamyTea In time I am sure I will get to understand how to do more with it, but at the moment it does what I need for my project (collect electrical data) and that gets me out of a hole cheaply.]]> Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192816#Comment_192816 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192816#Comment_192816 Mon, 06 Jan 2014 20:48:48 +0000 garee
Are you trying to connect via a hardwired network, or a wireless network ?

There's a guide to using a hardwired network here http://www.raspberryshake.com/raspberry-pistatic-ip-address/
Getting wireless to work usually involves installing a driver for which-ever dongle you choose. I went for the TP-Link TL-WN725N.

With wireless, I had write an additional script to start the network running because the Pi stops its wireless network connection when the router is switched off. The script runs every hour-or-so to restart the wireless services in the hope that the router has been switched back on.

Let me know if you need any specific advice on getting the Pi to talk to the network.

G.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192822#Comment_192822 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192822#Comment_192822 Mon, 06 Jan 2014 22:27:43 +0000 SteamyTea
Friend of mine got the USB WiFi devices for me, would have to check what they are. They work right out the box though.
Over on my RPi thread someone mentioned about a bit of software that can check on scripts running and restart them when they stop. Not had time to play with it yet but will get around to it soon.
http://www.greenbuildingforum.co.uk/forum114/comments.php?DiscussionID=9179&page=1]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192824#Comment_192824 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192824#Comment_192824 Mon, 06 Jan 2014 22:44:12 +0000 Mackers
Hopefully within the next week. I'm going for a hard wired solution over twisted pair cat5e as the components are cheap.

If u do consider wireless go look at enoceanpi I've specified their products through work and their very good. They use various forms of technology for wireless that has no batteries, like kinetic energy and PV.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192825#Comment_192825 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192825#Comment_192825 Mon, 06 Jan 2014 22:47:15 +0000 SteamyTea Posted By: MackersI'm going for a hard wired solution over twisted pair cat5e as the components are cheap.Makes setting up really easy. There is a NOOBs image you can download, then you just pick which OS you want to run on the RPi. Very easy to set up.]]> Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192855#Comment_192855 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192855#Comment_192855 Tue, 07 Jan 2014 14:00:00 +0000 djh Posted By: MackersIf u do consider wireless go look at enoceanpi
Ooh! Shiny! Thanks for that. I want one.

Reality bites ... what are prices like for the Enocean devices themselves, these days?]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192873#Comment_192873 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192873#Comment_192873 Tue, 07 Jan 2014 20:15:52 +0000 djh
Hmm, still over £70 for a switch :cry:

http://www.knxshop.co.uk/catalog/Catalog.aspx?NavID=000-110-1230&Section=SwitchesPushbuttons

And £100 for a temperature sensor or £300 for one with relative humidity :shocked:]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192882#Comment_192882 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=192882#Comment_192882 Tue, 07 Jan 2014 21:34:34 +0000 garee
This is my bash script which is called from crontab once an hour. It checks for the presence of the wireless network and attempts to start the service only if it has stopped.

#!/bin/bash
#
# If the network is down, try to restart it
#

packets=`ping 192.168.0.1 -c 1 | grep -ic "1 received"`
#echo "${packets} packet(s) recevied from pinging 192.168.0.1"

if [ "${packets}" == "0" ]; then

# network is or was down
#echo "Attempting to restart the network"

cd /etc/init.d
sudo ./networking stop >>/dev/null
sleep 5
sudo ./networking start >>/dev/null

fi

The serial cable came from Amazon "Pi RS232 cable Raspberry Pi Pi Console cable", but it needed a "gender changer" to plug into the Dylos.

G.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193205#Comment_193205 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193205#Comment_193205 Sat, 11 Jan 2014 15:30:02 +0000 borpin Posted By: gareeThis is my bash script which is called from crontab once an hour. It checks for the presence of the wireless network and attempts to start the service only if it has stopped.Try the package monit - does this but at a system level rather than cron. If you start the reading script as a daemon, it will monitor that as well.

Wireless really is so unreliable (and slow) which is why my house is flooded with Cat6 cable.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193206#Comment_193206 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193206#Comment_193206 Sat, 11 Jan 2014 15:33:55 +0000 borpin Posted By: gareeThere's a guide to using a hardwired network You will only need this if you are not using DHCP whether it is wired or wireless.]]> Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193209#Comment_193209 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193209#Comment_193209 Sat, 11 Jan 2014 15:55:40 +0000 SteamyTea ]]> Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193218#Comment_193218 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193218#Comment_193218 Sat, 11 Jan 2014 20:05:21 +0000 garee
All the logging is done locally on the Pi. The only thing I use the WiFi for is a weekly ftp session to transfer the log files to a PC.

What I need now is an easy way to convert csv files from the Dylos, into daily graphs.

Gary.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193220#Comment_193220 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193220#Comment_193220 Sat, 11 Jan 2014 20:37:36 +0000 Sprocket Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193223#Comment_193223 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193223#Comment_193223 Sat, 11 Jan 2014 21:30:52 +0000 SteamyTea Posted By: gareeWhat I need now is an easy way to convert csv files from the Dylos, into daily graphs.Excel or LibreOffice. There is also GNUPlot. I think that Google have some web enables charting software too.]]> Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193320#Comment_193320 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193320#Comment_193320 Mon, 13 Jan 2014 09:15:17 +0000 dereke https://github.com/talltom/PiThermServer may be of interest.

I've not actually got a Pi yet, but if I ever get around to it this is the kind of setup I would probably look at.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193414#Comment_193414 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=193414#Comment_193414 Mon, 13 Jan 2014 21:20:40 +0000 garee
Sprocket - I did look at GNUplot and it almost does the job, but the axis labels graph becomes quite messy with a whole day's worth of data from the Dylos (one reading every minute). I couldn't figure out how to reduce the number of labels on an axis. Even averaging the readings into 15 minute intervals didn't reduce the clutter.

I have OpenOffice installed at home, and Excel at work. I did plot a graph with these, but it took quite a bit of manual labour. I'd like to be able to automate the production of the graphs.

I'm open to other suggestions - or even some expertise with GNUplot :-)

The GNUplot config file I was using as a template is...
set terminal png
set datafile separator ','
set key autotitle columnhead
set output "DayFiles\Hours_040613.png"
set xlabel "Time"
set ylabel "Particle Count per cubic foot"
set title "6th April 2013"
set xtics nomirror rotate by -90
plot "DayFiles\\Hours_040613.csv" using 1:2 with lines, "" using 1:3 with lines, "" using 1:xticlabels(1)

Gary.]]>
Remote Data Logging http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=194004#Comment_194004 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=9926&Focus=194004#Comment_194004 Mon, 20 Jan 2014 22:28:00 +0000 garee
set terminal jpeg
set datafile separator ','
set key autotitle columnhead
set xlabel " "
set ylabel "Particles per foot^3"
set xtics nomirror rotate by -90

set xdata time
set timefmt "%m/%d/%y %H:%M"

set style data lines
set output "dylos.jpg"
set title "Dylos Data"
plot "dylos.csv" using 1:2 title "PM 10", "" using 1:3 title "PM 2.5"

Hope this helps someone.
G.]]>