Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.
/ Sonoff-Blynk Public archive

Connect the sonoff to the internet using the blynk app, you can also use a physical wall switch or add a DHT22 sensor

License

Notifications You must be signed in to change notification settings

regi18/Sonoff-Blynk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ There's a new, improved version at https://github.com/regi18/Espegi


Sonoff-Blynk

Connect your sonoff outlet to the internet and control it using the blynk app. There are 3 variants of the code:

  • SonoffDHT-Blynk.ThingSpeak; it allow you to connect a DHT22 (or DHT11) to the sonoff, read the temperature in the blynk app and log it in Thingspeak.com

  • SonoffBlynkSwitch; it allow you to connect a wall switch (or any switch) to the sonoff to toggle the relay

  • Sonoff+Button; it's a simple sketch for just controlling a Sonoff via the Blynk app and via the physical button

Getting Started

Prerequisites

Arduino IDE Preparation

You can follow this instructions:
https://github.com/arendst/Sonoff-Tasmota/wiki/Prerequisite#arduino-ide-preparation

Installing

You'll have to change:

The WI-Fi Password and Credential, the Blynk auth token, the ThingSpeak api key, the OTA username and password

For example:

/*** Here are the things that you have to change ***/
/***************************************************/

/* Blynk AUTH key */
char const AUTH[] = "BLYNK AUTH TOKEN";

You have to change "BLYNK AUTH TOKEN"

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

No releases published

Packages

No packages published

Languages