+
Skip to content

alexissusset/soracom-xmas-ws2811

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soracom's Xmas Tree special project, Raspberry Pi Zero x NodeJS x Cellular connected WS2811 Beam MQTT based controller

This NodeJS App allows you to control a WS2811 LED Strip using MQTT based commands. To install and run you will need to use the following commands in the same directory as package.json and app.js:
npm install
node app.js
  Once the applications starts, it will give you your Soracom SIM card IMSI which lets you interact with the following MQTT endpoint: xmas/   We've enabled the following modes for your WS2811 LEDs:
ON (default mode, brightness rotation with Soracom colours)
SORA (Same as default mode, brightness rotation with Soracom colours)
USINEIO (Animation and brightness rotation with UsineIO colours)
ANIME (Animation of different coulours)
IF (Iteration with coloured strip)
IT (Iteration with additional LEDs off)
BR (brightness rotation)
OFF (Switches off the LEDs Strip, great when forgetting to switch things off before leaving)
  Lastly you can wire your LED strip as follow: Wiring

Be sure to use an external power supply if you take a long LED strip as it may put too much stress on your Raspberry Pi

Credits

Thank you to all the following NPM libraries:
figlet
mqtt
requestretry
pi-pins
os-utils
rpi-ws281x-native

And our partners at Station F, FOCUS Accelerator and UsineIO for the good ideas

About

Soracom Beam MQTT and NodeJS based WS2811 controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载