brjohnso Posted February 2, 2017 Posted February 2, 2017 I want to try writing some Kumo apps for my wireless tags. How can I contact the ISY and issue an inbound Web event? I believe Kumo runs in the cloud, and so I will either need to come in to the ISY via the portal, or open a mapping to the Internet (nasty). The portal will let me create a link that is accessible via IFTTT, can I use that link? or will the security stop me, since the request I create will not be coming from the IFTTT website.
KeviNH Posted February 2, 2017 Posted February 2, 2017 The only supported, built-in mechanisms for inbound events from the cloud are the two you mentioned. People have built their own services that run on the local network (.e.g rPi), read events from some other source, and use that to execute programs or change variables on the ISY994. You still need some means to get commands in from the outside world. For example, I wrote a bit of Perl which sits logged into Twitter listening for DMs from a few trusted handles, and then acts on the message and sends feedback via Twitter. Works very fast and is perfect for my needs, but unsupported by ISY nor Twitter.
paulbates Posted February 2, 2017 Posted February 2, 2017 To add to Kevin's explanation, you can use something like Postman on Chrome to form the ISY Portal's HTTPS "Post" request to test out how it works. To get the URL, use the blue arrow next to the Event Name under IFTTT in the ISY Portal I don't recommend opening your ISY to the internet. You can also call the Maker channel at IFTTT remotely with a "Get", but that adds unneeded time and complexity. Paul
jtara92101 Posted February 2, 2017 Posted February 2, 2017 The Portal IFTTT features is a misnomer. While it was put there to support IFTTT, it's general-purpose. The requests don't have to come from IFTTT.
brjohnso Posted February 2, 2017 Author Posted February 2, 2017 I may have discovered a solution. It looks like Kumo apps support making web calls from either the internet on the Kumo server, OR from the tag manager on your local network. If it works, it would be a really easy solution that would let me access anything on the ISY REST interface via a Kumo script.
jasont Posted February 2, 2017 Posted February 2, 2017 I may have discovered a solution. It looks like Kumo apps support making web calls from either the internet on the Kumo server, OR from the tag manager on your local network. If it works, it would be a really easy solution that would let me access anything on the ISY REST interface via a Kumo script. Having the tag manager on the local network make the call is how I thought others were handling it (from reading some other Tag threads). IIRC, the logical path goes: tag -> tag manager -> Kumo server -> tag manager -> ISY There was some discussion about how the Kumo server is still required (even if you want to keep everything local), but at least you don't have to punch any holes through the firewall for the method you're talking about.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.