Node-RED node for reading measurements from Sensirion SHT3x humidity and temperature sensors
npm install node-red-contrib-shtbash
Run this in your favourite terminal
npm install sht31-node
`
Highly recommended: Run the Node-Red specific bash script for the Raspberry Pi followed by
`bash
npm rebuild
npm update
`
$3
Just install this module in your node-RED configuration folder
`bash
cd ~/.node-red
npm install node-red-contrib-sht
`
Or globally:
`bash
npm install -g node-red-contrib-sht
`
Usage
You will find this node in the i2c bus section of the palette panel or just filter the nodes for "sht".
The msg.payload of the outgoing object will be a object with the key names temperature and humidity and the values, e.g. { "temperature" : 21.9, "humidity" : 37,5 }`. Temperature value unit is in °C, humidity in %RH.