Opensprinkler api
![opensprinkler api opensprinkler api](https://smarthomepursuits.com/wp-content/uploads/2021/03/image-17.png)
Lastly, you can check the init.d logįor the notifications script located at /var/log/ospi-notifications. Typically this is at /var/log/messages.ĭepending on where the script failed, this should provide some information. Then, if for some reason things aren't working, you can check your syslog.
OPENSPRINKLER API DRIVER
When I configured the device, the driver interrogated the hardware and created a child device for each station. Copy the service script ospi-notifications to /etc/init.d Worked great right out of the box I have 3 hubs and created an 'OpenSprinkler' controller for each.
OPENSPRINKLER API INSTALL
Stop running the script by pressing CTRL+C if you receive a notification, and continue to install it as a service so it'll run on reboots.You can run sudo python /home/pi/ospi_push_notifications.py and manually start a station from OpenSprinkler's web page to see if you get a push notification.For the Notification field, I simply chose present in that notification message for the dynamic info to be sent through notification. Complete the action field and create the recipe.ġ.This is where you can use "iOS Notification" or "Android Notification" or "Email" or "SMS". Please refer to that section for detailed explanations and acceptable range of values. This corresponds to the same list of options in Section 4 (there the options are listed using JSON names). You can tailor it to suite your needs, but for this example:ġ. ttt: Set time manually (epoch time, ignored if ntp1). Create a new recipe with the following info.
![opensprinkler api opensprinkler api](https://manual.openlp.org/_images/3aptline.png)
![opensprinkler api opensprinkler api](https://opensprinkler.com/wp-content/uploads/2017/06/Diags.jpg)
I chose my event name to be OpenSprinkler Questions, comments, suggestions about OpenSprinkler mobile and web app. Add the secret key, and your event name to the config.yaml. Announcements, questions, and suggestions about the OpenSprinkler Unified firmware.Create your maker channel and get your secret key.Install the app on your device to receive push notifications.Create a new app called OpenSprinkler (or whatever you'd like it to be called).The app is basic and is only needed to receive the push notification. Install the Instapush app on your device.
![opensprinkler api opensprinkler api](https://rayshobby.net/wordpress/wp-content/uploads/2013/06/os_webapp3.png)
Click Basic Info on your newly created app and save the Application ID and the Application Secret.Create a new App on Instapush's website with these settings:.Sensor has been activated and send a notification for that event as well.
OPENSPRINKLER API HOW TO
You can use it as example for how to send HTTP API command.This is a Python script that will check the OpenSprinkler APIįor running sprinkler zones (or stations).