I plotted here my RSSI from 3 devices, internal battery voltage from my sample motes, and compared temperature from the internal CPU and an external 18B20 on one of my nodes.
[{"id":"13dd4139.ec22bf","type":"http request","name":"InfluxDB","method":"POST","ret":"txt","url":"http://localhost:8086/db/sensors/series?u=root&p=root","x":721,"y":179,"z":"d8506ee5.27af9","wires":[[]]},{"id":"99510d7.f66aef","type":"function","name":"Sensor to InfluxDB","func":"msg.payload = [\n {\n \"name\" : \"sensor\",\n \"columns\" : [\"nodeId\", \"sensorType\", \"sensorId\", \"val\", \"alt\", \"rssi\"],\n \"points\" : [\n [\n \tmsg.payload.nodeID,\n \tmsg.payload.Type,\n \tmsg.payload.ID,\n \tmsg.payload.Val,\n \tmsg.payload.Alt,\n \tmsg.payload.RSSI\n ]\n ]\n }\n];\n\nreturn msg;","outputs":1,"x":537,"y":178,"z":"d8506ee5.27af9","wires":[["13dd4139.ec22bf"]]}]
[{"id":"500d21ad.aff2e","type":"mqtt-broker","broker":"localhost","port":"1883","clientid":""},{"id":"22073eed.ddf8c2","type":"sqlitedb","db":"/home/pi/data/motes.sqlite"},{"id":"2f701530.d08fea","type":"serial-port","serialport":"/dev/ttyAMA0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","newline":"\\n","bin":"false","out":"char","addchar":true},{"id":"67204d52.98dfb4","type":"serial in","name":"Mote Gateway 1","serial":"2f701530.d08fea","x":85,"y":68,"z":"d8506ee5.27af9","wires":[["2631dc4e.d9ce24","1ccb47f1.e334b8","d923447b.26dcb8"]]},{"id":"2631dc4e.d9ce24","type":"debug","name":"Raw Serial","active":false,"console":"false","complete":"payload","x":304,"y":63,"z":"d8506ee5.27af9","wires":[]},{"id":"1ccb47f1.e334b8","type":"file","name":"File Raw Data","filename":"/home/pi/data/log/moterawdata.log","appendNewline":false,"overwriteFile":"false","x":315,"y":113,"z":"d8506ee5.27af9","wires":[]},{"id":"c7f4213.f380be","type":"sqlite","mydb":"22073eed.ddf8c2","name":"Motes SQLite","x":718,"y":67,"z":"d8506ee5.27af9","wires":[[]]},{"id":"d923447b.26dcb8","type":"function","name":"Parse MoteNode","func":"/* SENSOR Logger\nExample:\n SENSOR: nodeID=003, Type=0005, ID=01, Val=000001, Alt=-00077, RSSI=-075, Last=0000, UpTime=07278, RINFO: 2015-01-22T03:37:45 - FORWARD: STOP this is for me 001\n\n*/\nmsg.payload.replace(/[\\r\\n]/g,\"\");\nvar top = msg.payload.split(\": \");\nif (top[0] != \"SENSOR\") {\n\treturn [null,msg];\n}\n\t\nvar parts = top[1].split(\", \"); // TODO optional space\nmsg.payload = {};\nfor (var i = 0; i < parts.length; i++) {\n rec = parts[i].split(\"=\");\n msg.payload[rec[0]] = Number(rec[1]);\n}\n\n// Cleanup - numbers etc\n\n// TODO - check it is valid and return NULL with errors\n// test\nreturn [msg,null];\n","outputs":"2","x":310,"y":162,"z":"d8506ee5.27af9","wires":[["d0a8a57a.a98be8","2f69002a.fb3c58","99510d7.f66aef"],[]]},{"id":"b6a989cb.495678","type":"mqtt out","name":"Send SENSOR","topic":"","qos":"0","retain":"false","broker":"500d21ad.aff2e","x":725,"y":122,"z":"d8506ee5.27af9","wires":[]},{"id":"ce3d0b91.909f98","type":"comment","name":"Input Motes","info":"Test1","x":68,"y":27,"z":"d8506ee5.27af9","wires":[]},{"id":"d0a8a57a.a98be8","type":"template","name":"Sensor to MQTT","field":"topic","template":"sensor/{{payload.nodeID}}/{{payload.Type}}/{{payload.ID}}","x":535,"y":122,"z":"d8506ee5.27af9","wires":[["b6a989cb.495678"]]},{"id":"2f69002a.fb3c58","type":"template","name":"Sensor to SQL","field":"topic","template":"INSERT INTO sensor \n (nodeId, sensorType, sensorId, val, alt, rssi) \nVALUES \n (\n '{{payload.nodeID}}',\n '{{payload.Type}}',\n '{{payload.ID}}',\n '{{payload.Val}}',\n '{{payload.Alt}}',\n '{{payload.RSSI}}'\n )\n","x":523,"y":67,"z":"d8506ee5.27af9","wires":[["c7f4213.f380be"]]},{"id":"13dd4139.ec22bf","type":"http request","name":"InfluxDB","method":"POST","ret":"txt","url":"http://motegate:8086/db/sensors/series?u=root&p=root","x":721,"y":179,"z":"d8506ee5.27af9","wires":[[]]},{"id":"99510d7.f66aef","type":"function","name":"Sensor to InfluxDB","func":"msg.payload = [\n {\n \"name\" : \"sensor\",\n \"columns\" : [\"nodeId\", \"sensorType\", \"sensorId\", \"val\", \"alt\", \"rssi\"],\n \"points\" : [\n [\n \tmsg.payload.nodeID,\n \tmsg.payload.Type,\n \tmsg.payload.ID,\n \tmsg.payload.Val,\n \tmsg.payload.Alt,\n \tmsg.payload.RSSI\n ]\n ]\n }\n];\n\nreturn msg;","outputs":1,"x":537,"y":178,"z":"d8506ee5.27af9","wires":[["13dd4139.ec22bf"]]}]
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well that looks interesting, I wonder if I could get InfluxDB installed on my Synology NAS? It is Intel architecture but has a limited toolchain. MongoDB was trivial because they don't really need to install, just run the pre-compiled binary and give it a data folder and it just works. I don't suppose InfluxDB was that easy?
Do you have a pointer to the RPi install instructions?
Julian, Not sure how 2 more USB ports and additional GPIO pins the RPi B+ has over the B would help here.
Some of these are quite attractive... However one word of caution. The gpio is often mapped slightly differently so some of the "normal" drivers may not work without modification of the source. For example I had to put up a specific gpio node for the hummingboard. That has less features than the normal one - but the processor is very fast...
Hi Julian - Did you install InfluxDB and Grafana on your Synology or a Pi?FYI I have a very similar setup to you. I use Docker containers on my Synology for OpenHab and Node-Red. My pi just runs a local EmonCMS and Mosquito to Synology Mosquito and MariaDB server.
...