Temperature reader for DS18B20 temperature sensor
Driver for reading the temperature from a DS18B20 sensor. Product
Installation
npm install ds18b20-temperature-reader
Hardware schematics: Here
dtoverlay=w1-gpiosudo rebootsudo modprobe w1-gpiosudo modprobe w1-thermls /sys/bus/w1/devices
Check for folder starting with 28-. This path is used in the example below.
Example
var Temperature = ;var sensor = '/sys/bus/w1/devices/28-000006d62e64/'; sensor
Licensing
MIT
Copyright
Magnus Nordin 2016