Skip to content

PTaylour/tsl2561-webthing-adaptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

728b363 · Jul 7, 2019

History

1 Commit
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019
Jul 7, 2019

Repository files navigation

tsl2561-webthing

WebThing switch for TSL2561 lux sensor

Porting from here https://github.com/mozilla-iot/yeelight-adapter

With tips from this blog https://hacks.mozilla.org/2018/05/creating-web-things-with-python-node-js-and-java/

Ideally want:

types

tests

setup the pi automation

sudo apt-get install python3-smbus sudo apt-get install i2c-tools

Go to the Interfacing Options, then P5 I2C, then select yes.

Ok your way out and select reboot.

to confirm the TSL2561's i2c address is 039 run the command

i2cdetect -y 1

About

WebThing switch for TSL2561 lux sensor

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published