Go Down

Topic: Blynk+RF Automation! (Read 99 times) previous topic - next topic

armmrdn

Hello!
I'm a hobbyist n0ob  trying to implement the ESP8266 into my current home "automation" setup.

My goal is to use the Blynk app on my phone to trigger an RF transmitter on an ESP8266 to toggle the status on those cheap RF outlets that run on 433mhz.

My question starts with where my code should go in the Blynk skech. I know it needs to be under voidsetup() because im not looping anything... right?

-and by code, i mean the code my ESP8266 sends to the RF transmitter which contains the frequency information for ON and OFF...

I'll start there for now. One problem at a time.
If this is unclear, let me know and ill attach screenshots/links/material

Lennyz1988

Step 1. Get the RF module working without Blynk.
Step 2. Get blynk app working without the module.
Step 3. Combine the codes.

Your main code does not go into the void setup() section. If will either be in the void loop() or another section dedicated to Blynk.

There are a lot of Blynk examples so you could start there. You should start simple. Start with lighting a led from the app.

Go Up