node-red-contrib-1wire 0.0.1

A Node-RED node to read a 1-wire temperature sensor

npm install node-red-contrib-1wire

A Node-RED node to read a 1-wire DS18B20 temp sensor.

This node uses the built in GPIO pins to read the 1-wire sensor. This must be enabled in the /boot/config.txt using parameters such as: dtoverlay=w1-gpio,gpiopin=4 Once enabled you should see the sensor information at /sys/bus/w1/devices/


Run the following command in the root directory of your Node-RED install

npm install -g .


Provide the identifier for the 1-wire sensor to read The msg.topic will contain the sensor identifier The msg.payload will contain the termpature in degrees C

Node Info

Version: 0.0.1
Updated 7 years, 1 month ago
License: Apache
Rating: not yet rated


9 in the last week


  • 1-Wire


  • node-red