This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SenseHat and Nodered-freeboard
#3
Thanks for answer. I got the SenseHat imported in nodeRED with a sensehat-node.
To get it right into freeboard, I needed to make tree seperated notes. one for temperature, one for humidity and one for pressure. The reading are just not good. The temp says 36.13c, pressure is now 1019.84 which seems right, but have been up to 3939.98 which would be the end of the world.... The humidity is around 32.07... I'm inside my workshop with the AC going at 23C....
I'll transfer some screenshots later..

(2017-06-23, 02:32 PM)benjamingotke Wrote: Thanks for answer. I got the SenseHat imported in nodeRED with a sensehat-node.
To get it right into freeboard, I needed to make tree seperated notes. one for temperature, one for humidity and one for pressure. The reading are just not good. The temp says 36.13c, pressure is now 1019.84 which seems right, but have been up to 3939.98 which would be the end of the world.... The humidity is around 32.07... I'm inside my workshop with the AC going at 23C....
I'll transfer some screenshots later..

Here is my flow
   


And here is the code:

Code:
[{"id":"156f5475.15752c","type":"rpi-sensehat in","z":"29773d76.6254e2","name":"","motion":true,"env":true,"stick":false,"x":162,"y":58,"wires":[["7f851f82.12d62"]]},{"id":"c6e895cf.37dff8","type":"freeboard","z":"29773d76.6254e2","name":"sense temp","x":713,"y":59,"wires":[]},{"id":"7f851f82.12d62","type":"function","z":"29773d76.6254e2","name":"temperature","func":"var msg1;\nmsg.topic === 'environment'\nvar msg1 = { payload: msg.payload.temperature };\nreturn [ [msg1] ];","outputs":"1","noerr":0,"x":442,"y":55,"wires":[["c6e895cf.37dff8"]]},{"id":"948dff7.c79fb","type":"function","z":"29773d76.6254e2","name":"pressure","func":"var msg3;\nmsg.topic === 'environment'\nvar msg3 = { payload: msg.payload.pressure };\nreturn [ [msg3] ];","outputs":1,"noerr":0,"x":468,"y":238,"wires":[["99bf8390.18e2c"]]},{"id":"9b9ead35.7861e","type":"rpi-sensehat in","z":"29773d76.6254e2","name":"","motion":true,"env":true,"stick":true,"x":160,"y":250,"wires":[["948dff7.c79fb"]]},{"id":"40fc172f.73cd68","type":"rpi-sensehat in","z":"29773d76.6254e2","name":"","motion":true,"env":true,"stick":true,"x":148,"y":457,"wires":[["3072f2fa.0f327e"]]},{"id":"3072f2fa.0f327e","type":"function","z":"29773d76.6254e2","name":"humidity","func":"var msg2;\nmsg.topic === 'environment'\nvar msg2 = { payload: msg.payload.humidity };\nreturn [ [msg2] ];","outputs":1,"noerr":0,"x":458,"y":457,"wires":[["5c94ed7c.80ac64"]]},{"id":"99bf8390.18e2c","type":"freeboard","z":"29773d76.6254e2","name":"sense pressure","x":719,"y":230,"wires":[]},{"id":"5c94ed7c.80ac64","type":"freeboard","z":"29773d76.6254e2","name":"sense humidity","x":729,"y":456,"wires":[]}]

I'm looking at the swichboard too. There is some examples in the bottum of the link in my first post. Can any of these be used in nodered?
JAVA (SNMPv1) - Example how to set/get the DAEnetIP4 I/O status via SNMPv1 in Java (Netbeans Project).
JAVA (HTTP GET Requests) - Example how to set/get the DAEnetIP4 I/O status via HTTP GET Requests in Java (Netbeans Project).
LabVIEW 2011 - Example how to set/get the DAEnetIP4 I/O status via SNMPv1 in Labview 2011. The .exe file is in the directory "Executable".
VB.NET - Example how to set/get the DAEnetIP4 I/O status via SNMPv1 in Visual Basic .NET.
C#.NET - Example how to set/get the DAEnetIP4 I/O status via SNMPv1 in Visual C# .NET.
PHP Demo - Example how to set/get the DAEnetIP4 I/O status via SNMPv1 in PHP.
Delphi Lazarus - Example how to set/get the DAEnetIP4 I/O status via HTTP GET Requests
Reply


Messages In This Thread
SenseHat and Nodered-freeboard - by benjamingotke - 2017-06-22, 01:11 PM
RE: SenseHat and Nodered-freeboard - by PaddyB - 2017-06-23, 07:43 AM
RE: SenseHat and Nodered-freeboard - by benjamingotke - 2017-06-23, 02:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)