September 21, 2016 at 6:45 pm #44113
Are 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 TapatalkOctober 3, 2016 at 12:25 am #44195
The 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
This 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
A 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:
so we will be switching from supporting pushingbox to supporting IFTTT in the firmware instead.November 14, 2016 at 11:57 pm #44589
Have you made any progress with your Crestron Module? I was thinking of taking a crack at integrating my OpenSprinkler this winter as well.
ThanksNovember 15, 2016 at 12:45 am #44590
Hi 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….
JohnNovember 15, 2016 at 1:33 pm #44595
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
Would 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
Yes, I’ll share it. Contact me directly at h2oskr2001(at)yahoo(dot)com
- You must be logged in to reply to this topic.