Build a garage Remote using Particle Photon with an HR SR04 to detect door status, notify via IFTTT, Initiate commands from iOs Device
A ParticleIO's Photon microprocessor that connect to HR SR04 (Ultrasonic sensor) to determine if the garage door is opened or closed, it also connect to a 5VDC relay to trigger the garage door's open and close commands.
Additionally I can request this commands via IFTTT, Siri via Shortcuts App, and alert using the Pushover's API (Push Notification)
- ParticleIO's Photon Microprocessor
- HR SR04
- HR SR04 3D printed Support
- 5 Vdc Relay
- Generic Garage Door Motor
- 5 Vdc Power Supply and Cable
- Build Circuit
- Compile code
- Locally by Setting up the Particle Workbench Installation
- Using Particle.io Web IDE
- Integrate to IFTTT
- Usage
Create an Applet using the Button Widget to call the Particle device is useful when executing an action on the Particle's Photon from the iOS Widget Screen.
I have published this applet on IFTTT for public use:
Open Garage with Particle Photon
Let's use a IFTTT's webhook to acomplish this, so Login into your IFTTT account
Step 1: Create an Applet
Step 2: Choose a Service, enter web and select Webhooks
Step 3: Select Receive a Web request
Step 4: Enter Event Name, you will use this in the Apple's Shortcut App.
Step 5: Next "Then That" Add
Step 6: Search Particle, and select it. You will be asked to sign into your Particle account
Step 7: Choose an action, Call a function
Step 8: Select your Particle account, Function name, OpenGarage is name of the function created for the Device call "Garage". To finish click Create action











