![]() First, to use the device as a trigger, the firmware needs to connect to IFTTT. As both OpenSprinkler and OpenGarage implement HTTP GET commands, they can naturally work with IFTTT through the Maker channel. This way, when it receives an associated trigger, it can send a command to OpenSprinkler to start an action. Conversely, to use a Maker action, you can set IFTTT to send a web request to your gadget. This way, when OpenSprinkler starts to run any program, or receives weather changes, it can send a web request to IFTTT, which further triggers a text message or push notification to your phone. For example, to use a Maker trigger, just have your gadget send a web request to IFTTT, and hook it up with an action, such as text message, to enable push notification. ![]() This makes it possible to extend IFTTT support to your own DIY hardware gadgets. HTTP commands) as triggers and/or actions. IFTTT provides support to what’s called a ‘Maker Channel’, allowing you to use generic web requests (i.e. How does IFTTT send or receive web requests? Because it’s so convenient, it has become very popular among Internet of Things. With IFTTT, you can easily set up recipes like: ‘if temperature drops below xx degrees, send me a text message’, ‘if there is a new post on my facebook, send me a push notification’, or in our case ‘if Alexa receives a specific phrase, trigger a sprinkler action’. There are also many actions, for example, send a text message, send an email, post a message on facebook, or in our case, send an web request to OpenSprinkler. There are many triggers, for example, weather changes, sensor value changes, a new text message, a new twitter message, a new photo upload, or in our case, an Alexa phrase. With IFTTT, you can set up what’s called ‘recipes’, which hook up ‘triggers’ with ‘actions’. ![]() If you’ve never heard of IFTTT, it stands for If This Then That. Below let me first explain how IFTTT works. Thanks to Mike for sending me this tip in the first place. For now, the guide below will allow you to trigger actions on OpenSprinkler and OpenGarage with your existing firmware.īefore I proceed, I should give credits to Mike Szelong, who has purchased both OpenSprinkler and OpenGarage, and made both work with Alexa through IFTTT. We will be building support for IFTTT into the firmware soon, to allow for additional features like push notification. I will briefly walk you through the setup process. For example, say ‘ Alexa, trigger open sprinkler zone 1‘, or ‘ Alexa, trigger my garage door‘. Gratefully receive any advice or pointers to other forums which might already answer my questions.I just discovered something exciting recently and want to share with you: it’s now possible to use IFTTT with OpenSprinkler and OpenGarage and because IFTTT support Amazon Echo (Alexa), you can now speak voice command to trigger sprinkler actions. I plan to have a WiFi module connected to the Pico, so it can communicate remotely via my home network.Īre there any firmware considerations required as I have no idea regarding this issue. Not sure if there would be more conversion of PIN assignments if not using the OSPi board as the basic module only caters for 8 stations but can be expanded to 72? The PIN assignments are one obvious part of the converted code which need to be changed. I will probably get a 16-channel 5V Relay Module Control Board to switch the solenoids. An extra 5 seconds to process information won't concern me. Although slower, a believe a Pico using MicroPython will be a fast enough to control a watering system. Using a Raspberry Pi seems to be overkill. I just want to make a simple sprinkler system which can be controlled through an Android app eg RaspController. I have no need to connect to any weather information systems, so some of the Python code could probably be removed to reduce the overall size. No idea if it will fit on the smaller processor. Wondering if anyone knows if the Python based OpenSprinkler code has been adapted to MicroPython so it can run on a Raspberry Pi Pico.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |