Hi there,
I’m completely new to Particle and have only had little experience before with a Raspberry Pi. I have done some reasearch and have found with article https://makezine.com/projects/particle-core-garage-door-opener/ which is pretty much exactly what I’m looking for. However, the problem comes that I am poor at programming and am not sure quite how the edit the code provided to fit my needs:
// This #include statement was automatically added by the Particle IDE. #include "blynk/blynk.h" char auth[] = "authtoken"; void setup() { Serial.begin(9600); Blynk.begin(auth); pinMode(D0, OUTPUT); } void loop() { Blynk.run(); }
Basically, what I would like this code to be able to do is be activated via IFTTT rather than Blynk and then for it to perform the action of supplying a signal to the 2 Channel 5V Relay for about 5 seconds as my garage requires an input of about 5 seconds to activate rather than the momentary impulse this provides. Any advice would be really appreciated as I am new to particle and am really enjoying experimenting and automating my home in the process.
Thank you in advance,
Tommy
In the menu up there ^^^^^ is “Projects” … look at the many results for garage https://particle.hackster.io/search?i=projects&q=garage
1 Like
Hey thanks for the reply, I’ve had a look at other projects for garage door openers but many projects seem to be more complicated than the one I am trying to achieve. It would be great if someone could let me know how to sustain this output for about 5 seconds as I believe I have worked out the IFTTT section.
Take a look at the “blink an LED” example, and try to have that light up for 5 seconds, rather than 1
3 Likes
Thanks for the response, that’s a great idea cheers for pointing it out! Facepalm I didn’t think of that haha.
1 Like