Gunner
November 22, 2018, 12:06am
2
Since you are using Node-Red, not sure how much of this will be applicable… but this is my example for a simple Blynk and Physical button mesh with Sonoff Basic
#21 - Sonoff Basic - Blynk and physical button control - with LED (showing ON status), OTA and displaying device specifics.
This is just a simple sketch for a Blynkified Sonoff Basic. Use either App or physical button to toggle the Sonoff. Physical button works even if no Server connected.
/*
Sonoff Basic
1MB (No SPIFS) flash size
115200 BAUD
MUST USE DOUT for Flash Mode!!
sonoff header
1 - vcc 3v3
2 - rx
3 - tx
4 - gnd
5 - gpio 14
esp8266 connections
gp…