Last modified: 28.12.2018
started: 30.11.2018
My goal is to be able to control a addressable light strip out side my home using VoffCon to handle the commands the to it via internet.
The type of the light strip I will be using is WS2811 5V WS2801 addressable and to control the strip I will be using esp2866 development board
I will be using these components to make the prototype.
Last year I created this kind of project, but now I am going to rewrite it now. I will probably be using the same VoffCon Control and VoffCon Control Card. Below are the old VoffCon stuff. They will change a little but not much.
The VoffCon control Card:
// Comming soon
VoffCon Control javascript class:
//comming soon
VoffCon Control html template:
//comming soon
The program for the device is made up from five files, christmasStrip.ino, passivestrip.h, passivestrip.cpp, ServerLib.h and ServerLib.cpp.
christmasStrip.ino is this the main program running on the device
passivestrip.h This is the header file for controlling the strip
passivestrip.cpp This is the implementation file for controlling the strip
ServerLib.h This is the header file for device helper classes
ServerLib.cpp This is the implementation file for device helper classes
In order for you to be able to use this project, VoffCon needs to be installed and you will need to be logged in to it.
Click here to download all the files shown above.
After downloading and unzipping you will need to create a device in VoffCon, get it's Id and add it to the Control Card and the device code which will be running on the device.
Change line 91 in the "christmasStrip south" card to use the device Id of the device you created.
Last thing to do is to is to open the file christmasStrip.ino and change three lines in the code line number 56 which is the device Id (Ids in lines christmasStrip.ino:56 and christmasStrip south:91 will need to match), line 59 which is the name of your wifi access point and line 62 which is the password to you wifi access point.
After all that you can safely delete files "christmasStrip_south.voffcon.card" and "ChristmasStripCtrl.voffcon.ctrl"
Now open the unzipped folder in Arduino IDE and upload the devcice program to the device. The device must be NodeMcu.