imxuf92 Posted September 26, 2013 Posted September 26, 2013 Hello! I'm creating an intranet web portal whereby users can control the ISY from a remote location via SOAP requests. In general, I have things working (DON, DOFF, etc.) I'm trying to obtain device status via the ISY subscription mechanism. How does this work within a web page framework since the webpage is stateless? Does the "reportUrl" value simply contain the url of the main page, which then gets called when status messages are sent? I have code working using sockets in a windows/forms app, but now I'm stuck when it comes to doing this from a webpage. Does anyone have sample code that shows how a webpage/site would set up and handle/process subscribed messages? Thanks everyone!
Michel Kohanim Posted September 26, 2013 Posted September 26, 2013 Hi imxuf92, Until such time that we implement websockets, there's really no easy way for static HTML pages (without the help of dynamic cgi/script backend) be able to provide real time information. So, unfortunately so, at the moment you have to: 1. Have your server subscribe to ISY 2. Have your server read/parse events coming from ISY 3. Somehow update your page using either websockets OR some other more dynamic UI framework With kind regards, Michel
arw01 Posted September 26, 2013 Posted September 26, 2013 I read something about Opera browser and firefox supporting some two-way communications extensions from a Tivo pre-release for a new developer interface.. might be worth checking out.
Michel Kohanim Posted September 27, 2013 Posted September 27, 2013 Hi Alan, We shall ... just need to figure out the "when" part! With kind regards, Michel
arw01 Posted September 27, 2013 Posted September 27, 2013 http://techcrunch.com/2013/08/29/tivos-roamio-platform-gets-opera-sdk-support-bringing-html5-web-apps-to-tivo-dvrs/ one of the multiple web stories about it.
Recommended Posts