node-red-contrib-1wire

0.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-red-contrib-1wire

      Weekly Downloads

      6

      Version

      0.0.2

      License

      Apache

      Unpacked Size

      14.7 kB

      Total Files

      5

      Last publish

      Collaborators

      • robquads