Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question about Subscribing from Web Project

Featured Replies

Posted

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!

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

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.

Hi Alan,

 

We shall ... just need to figure out the "when" part!

 

With kind regards,

Michel

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.