Side project to sync multiple coloured touch sensitive lamps using MQTT
Lampify is a IoT side project I did to synchronize multiple colour LED lamps over the internet. The project files include
the arduino source code as well as the website.
It makes use of the MQTT protocol with the broker server installed on a Raspberry Pi.
$ git clone https://github.com/alexfaria/lampify
Before uploading the code onto the board you will need to change some variables at the top of the source file.
#define LAMP_NAME "lamp1"
#define MQTT_SERVER "example.com"
Just like the board, you will need to change some variables in the javascript file
before deploying the website. In order for the website to work your MQTT broker will need to have websockets enabled. (guide)
const lamps = {
url: "wss://example.com:8888",
}
$ git clone https://github.com/alexfaria/lampify
$ cd website
$ python3 -m http.server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the terms of the MIT license.