• Raspberry pi Zero W with two relays
• Blynk Cloud Server
I am working on a garage door opener project. I have two garage doors. My problem is that the relays trigger every time i startup the blynk server, which i do not want. Pins on raspberry pi are GP17 and GP4. Is it possible to fix this issue, preferably on the linux software?
If you were using a NodeMCU then I’d know what to suggest, but I’ve never felt the need to use a Pi as a Blynk client.
If you let us know what programming language and Library version you’re using with the Pi then maybe someone familiar with that language and hardware will chip-in with a suggestion.
That’s a pretty crappy tutorial!
He talks about installing WirinPi, which is needed if you want to run C++ on your Pi, but has been deprecated for the past year and a half
It also points to a Blynk guide which no longer exists, but seems to have explained about NodeJS installation.
All very odd!
Personally, I’d build this around a much cheaper NodeMCU and run C++ on it.
If you stick with the Pi then look for some NodeJS help on setting output states on start-up.
That is the Blynk server software, which does the same thing as the software running on the Blynk Cloud servers - so isn’t what you need to solve your particular problem.
You need a device running as a client to control your garage doors in response to messages received from the app, which are routed via the server.