Skip to content

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

Notifications You must be signed in to change notification settings

ehsanmqn/sonoff-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages