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.

Subscription to ISY Time Out ?

Featured Replies

Posted

Is there a time limit on a REST subscription to the ISY.???

 

I have a subscription setup from a Permanent On iPad mounted in the wall, running Demopad.

The feedback from the ISY works fine at first but will stop working after awhile if there is no activity.

I can setup a Demopad to subscribe at set time intervals if I know that the ISY will time out.

Hi trevorst,

 

This is how ISY works:

1. You subscribe using REUSE_SOCKET, ISY keeps the socket open

2. ISY sends a heartbeat event every 120 seconds (you should look for these)

3. If the device does not ACK (TCP level) the event, then ISY tries 2 more times

4. If still no response from the device, then ISY assumes the device is gone and expires the subscription

 

I suspect your iPad might be going to sleep and network connectivity is lost. What I suggest is: look for heartbeat signals, if the next heartbeat message is not received within the max-age duration, then assume that ISY is no longer considering you subscribed. In this case, you should subscribe again.

 

All this said, the main question is why the device is not sending an ACK?

 

With kind regards,

Michel

Michel,

 

I seem to be getting a heartbeat message every 25 seconds. You indicated that it is every 120 seconds.  Where can I adjust this value?

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.