This is Sonoff WIFI Smart Switch firmware for direct connection to WolkAbout platform. It is developed under Arduino IDE and also with this IDE programming is done.
Create device on WolkAbout IoT Platofrm importing template.json
file
Open sonoff-wolkabout-firmware.ino
in Arduino IDE. This file is located in sonoff-wolkabout-firmware
folder.
Insert your wifi credentials here
const char* ssid = "wifi_ssid";
const char* wifi_pass = "wifi_password";
Insert key & password given on WolkAbout platform here:
const char *device_key = "some_key";
const char *device_password = "some_password";
Open Sonofff case and connect it with USB to TTL converter using jumper wires like it is presented on picture below
Upload fimrware from Arduino IDE. IMPORTANT Hold down reset switch on Sonoff(only presented switch on the board) while connecting USB to your PC. This will take Sonoff board into bootloader mode and you will be enable to upload firmware.
Create dashboard on WolkAbout platform and add actuator widget
NOTE By uploading this custom firmware you will not longer be able to use the eWeLink app.
Green LED presented on Sonoff can generate one of messages: