ehsanmqn / sonoff-basic

Sonoff basic Switch Arduino source code (Has implemented by reverse engineering the switch functionality)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonoff Basic switch with MQTT and Thingsboard

Sonoff Basic Switch Arduino source code over MQTT using ThingsBoard (Has implemented by reverse engineering the switch functionality)

Contents

  1. Sonoff Basic
  2. Flashing
  3. Requirements

Sonoff Basic

SONOFF BASICR is a cost effective WiFi wireless smart switch that lets you automate or remotely control lighting and appliances.

image

Flashing

For flashing the Sonoff Basic, hold the button while connecting the 3.3V power. The LED remains off until the flashing process is done and the board is rebooted. For more information read instruction from tasmota carefully.

image

Requirements

Open Arduino IDE and go to Sketch -> Include Library -> Manage Libraries. Find and install the following libraries:

  1. PubSubClient 2.6 by Nick O’Leary
  2. ArduinoJson 5.8.0 by Benoit Blanchon

Happy coding!!!

About

Sonoff basic Switch Arduino source code (Has implemented by reverse engineering the switch functionality)


Languages

Language:C++ 97.6%Language:CMake 1.2%Language:Shell 0.7%Language:JavaScript 0.3%Language:C 0.1%Language:Makefile 0.0%