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/

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.1
Updated 2 years, 3 months ago
License: Apache

Downloads

2 in the last day
22 in the last week
128 in the last month

Nodes

  • 1-Wire

Keywords

  • node-red

Maintainers

  • robquads