Jump to content

Subscriptions


barrygordon

Recommended Posts

Posted

I am trying to clean up my system re subscription processing.

 

Is there any way in the admin console to see what IP's have subscribed to ISY feedback?

 

I watch the heartbeat events (_0). They seem to come in every 25 seconds when things are normal and operating properly. If I lose the heartbeat event, lets say for 60 seconds, should I assume that the ISY needs to be re-subscribed to?  In order to re-subscribe do I first have to endSubscribe, or is it sufficient to just startSubscribe?

 

Am I correct in assuming that on an ISY reboot/reset all subscriptions are stopped?

 

Is there any way to ask the ISY what the status of a subscription is for a specific IP address?

 

Thanks,

Posted

Hi Barry,

 

You can use /rest/subscriptions for a list of subscriptions. If you have a subscription ID then you should be able to find it. This said, however, there's no list that shows the IP address of the subscriber. You can also use IsSubscribed service to see whether or not a subscription ID is subscribed.

 

Yes, all subscriptions are lost after reboot.

 

With kind regards,

Michel

Posted

I have progressed nicely with the assistance at this EXCELLENT forum. I now detect the loss of the heartbeat and restart the subscription for the device that lost the heartbeat. Works very nicely. 

 

I do not think I need the subscription info, but am curious. How do I get a subscription ID? Is that returned from the REST request to start the subscribe?

Guest
This topic is now closed to further replies.

×
×
  • Create New...