Hello all,
Great work with the RaspberryPi Gateway code! I have been running with a Pi2 and moteino receiver, but I was writing my own Python code for gathering, storing and serving my data. I am going to give the Gateway code a try with my motetino transmitter nodes.
One question. I am a newbie to JavaScript, I want my Gateway to receive and parse my moteino node data. My nodes have the moteino weather shield, but they also have additional sensors such a luminosity and uV index (five in all). Is there a place in the GitHub repo or in the docs that shows the data format the Gateway parses from the nodes? I am sure I can change the transmit format or add something to the receiving gateway code.
Right now my data that I save in the receiving moteino log sketch looks like this (where tid is the transmitter ID, sid is the sensor ID, tf is temperature in fahrenheit, hp is humidity percent, pi is barometer pressure inches, etc.). At the end ts is the time stamp which is provided by the receiving unit.
R[1][2] "tid=t1, sid=s0, tf=68.1, hp=72, vvr=5.44, tm=594" - ack ts=2015-03-19 09:51:45
R[2][2] "tid=t1, sid=s1, tf=67.2, pia=29.03, pir=29.94" - ack ts=2015-03-19 09:51:55
R[3][2] "tid=t1, sid=s2, vis=260, ir=253, uvi=0.02" - ack ts=2015-03-19 09:52:05
R[4][2] "tid=t1, sid=s3, vl=0.01" - ack ts=2015-03-19 09:52:10
R[5][2] "tid=t1, sid=s4, uvW=0.01" - ack ts=2015-03-19 09:52:15
Any suggestions? Thanks.