OpenSprinkler › Forums › Third-Party Software › Subscription/Events Support
- This topic has 8 replies, 5 voices, and was last updated 8 years, 2 months ago by DaveC.
-
AuthorPosts
-
September 21, 2016 at 6:45 pm #44113
ggiesenParticipantAre there any plans to extend/supplement the REST API with a way to get events in realtime rather than having to poll the device? Maybe websockets or even a plain socket that sends updates when programs are run, weather conditions change, etc? I’d love to write a Node Server for the ISY994i for OpenSprinkler but polling for values over and over kinda sucks and doesnt really fit with the event-based model of the ISY.
Sent from my SM-N910W8 using Tapatalk
October 3, 2016 at 12:25 am #44195
RayKeymasterThe upcoming firmware 2.1.7 will support notifications through pushingbox (https://www.pushingbox.com/). We originally planned to add support for sending UDP packets so that it can send event notifications to a UDP server. Through it’s easy to implement in the firmware, we decided it’s not very practical because many users won’t know or won’t want to set up a UDP server.
October 3, 2016 at 8:51 pm #44208
DaveCParticipantThis is something I requested a while back. It would make integrating with at least some automation systems, Crestron in my case, more efficient. You say it would be easy to implement in the firmware. I might want to take a crack at it over the winter. Do you have any prototype code or design notes or anything I could use to start investigating it?
October 11, 2016 at 2:19 am #44308
RayKeymasterA few days ago I discovered it’s possible to use IFTTT with OpenSprinkler, and this is much more powerful than pushingbox because IFTTT supports a larger variety of triggers and actions, including using Amazon echo to trigger actions. I wrote a blog post here:
https://opensprinkler.com/ifttt-with-opensprinkler-and-opengarage/
so we will be switching from supporting pushingbox to supporting IFTTT in the firmware instead.November 14, 2016 at 11:57 pm #44589
JamesParticipantDave,
Have you made any progress with your Crestron Module? I was thinking of taking a crack at integrating my OpenSprinkler this winter as well.
Thanks
November 15, 2016 at 12:45 am #44590
AnonymousInactiveHi Ray, is it possible to provide a stripped down version of the the IFTTT enhancements with firmware 2.1.7 for a version 2.2 board? I am presuming from your posts that this firmware ‘extension’ will only work on hardware at 2.3….
John
November 15, 2016 at 1:33 pm #44595
DaveCParticipantJames,
My Crestron module has been running for the entire season (using 2.1.6 FW). I have not yet looked at the 2.1.7 FW to see if it requires any changes to the module or if there are some capabilities that I want to add.
My request for event notification was to make it more efficient. Polling works OK but, unlike the mobile app or the Web GUI, the Crestron system runs 24/7. Getting some event notifications would significantly cut down on the polling activity in the Crestron system and the response to some state changes would be more timely.
November 15, 2016 at 11:22 pm #44601
JamesParticipantWould you be willing to share your module? I have a CP3 that I will be running it on, I have updated my firmware to 2.1.7. I know you said you have been running on 2.1.6, I could test it on the new firmware.
Thanks,
November 16, 2016 at 12:38 pm #44608
DaveCParticipantYes, I’ll share it. Contact me directly at h2oskr2001(at)yahoo(dot)com
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Third-Party Software › Subscription/Events Support