node-red-contrib-tsl2561
v0.1.1
Published
A node to read values from a TSL2561 luminosity sensor
Downloads
6
Readme
A node to read from the TSL2561 luminosity sensor. It uses the tsl2561 node.js package from sonnens.
Installation
npm install node-red-contrib-tsl2561
Configuration
Apart from the usual name, the node has device
and
address
properties. These default to /dev/i2c-1
and 57
respectively.
Usage
An incoming message triggers a read of the sensor. The message payload is replaced with the lux value read from the sensor.