node-red-contrib-1wire 0.0.2

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/

Install

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

npm install -g .

Usage

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.2
Updated 1 year, 5 months ago
License: Apache
Rating: 2.5 2

Actions

Rate:

Downloads

21 in the last week

Nodes

  • 1-Wire

Keywords

  • node-red

Maintainers