Hi blynk, I want to make motion sensor, I want to set the alarm whenever I want, when I want to disable, you can share sample code?
Security alarm on!
securtiy alarm off button
The constant notification in normal conditions is coming, but when I have activated I want the notification to come to me, the notification comes in every movement at home.
You are connected in the same network your ESP connected.
Your Auth key must be the same as in your Blynk project. you can verify in your project
if after this you are facing the problem, try to replace Blynk.begin(auth, wifi, ssid, pass); to Blynk.begin(auth, wifi, ssid, pass, “blynk-cloud.com”, 8080); or Blynk.begin(auth, wifi, ssid, pass, “blynk-cloud.com”, 80);
FYI, So as not to confuse new users… when using the Blynk.begin(auth, wifi, ssid, pass); command the correct Cloud URL and port are automatically assumed by the library.
Can you clarify your question… do you understand enough programming to edit the example provided (for your use)… Or how the Blynk App works with virtual pins for App control, thus it shouldn’t matter what board setting you use.
Or are you referring to using an ESP-01 device? (otherwise, ALL other ESP8266 devices are considered “standalone”) If so, then yes, since you only have a few pins available, try them and test for yourself.
Hi this code works fine. I want to add 1 smoke detector and 1 water dominant detector in this code. The v0 pin will only turn the motion detector on and off. Other detectors will be active for 24 hours. When the water detector detects a problem, I want to switch off the solenoid valve with a relay.
You’ve been gifted some excellent code, and you’ve then proceeded to change the GPIO pins. You received some feedback about this, but you insist that what you’re doing is okay.
You’ve then said that you have some further requirements, then 80 minutes later say that you’re still waiting for help with these requirements.
Personally, I think that you’re very lucky to be given the working code from @ErfanDL, and the advice regarding GPIO usage from @Gunner. It’s now time to roll your sleeves up and do the rest yourself, and if you request advice about a specific issue along the way then take heed of any advice you receive.
@ykilicaslan Please don’t post PM to me begging for help in the title and a link here (I moved it back here)… not that begging in your existing topic will help much either Please learn with what we have already supplied.