An Arduino for ESP8266 implementation of Domotica, an MQTT convention for the IoT.
PlatformIO is an open source ecosystem for IoT development with cross platform build system, library manager and full support for Espressif ESP8266 development. It works on the popular host OS: Mac OS X, Windows, Linux 32/64, Linux ARM (like Raspberry Pi, BeagleBone, CubieBoard).
- Install PlatformIO IDE
- Create new project using "PlatformIO Home > New Project"
- Open Project Configuration File
platformio.ini
- Add "Domotica" to project using
platformio.ini
and lib_deps option:
[env:myboard]
platform = espressif8266
board = ...
framework = arduino
lib_deps = Domotica
Happy coding with PlatformIO!
- Automatic connection/reconnection to Wi-Fi/MQTT
- JSON configuration file to configure the device
- Automatic hostname resolution for MQTT broker
- OTA support
- Available in the PlatformIO registry
- Easy to use
#include <Domotica.h>
void setup(){
Serial.begin(74880);
Domotica.setup();
}
void loop(){
Domotica.loop();
}
I am a student and I will continue this project even without donations. If you like my work and you can help me. 😄