timcharper / homebridge-vivint

Integrates Vivint security system with Apple Home
Other
34 stars 34 forks source link

PubNub stops receiving new messages: socket hang up #31

Closed balansse closed 4 years ago

balansse commented 4 years ago

I noticed that after a while PubNub stops receiving new messages unless I manually trigger something from Homebridge. Trying to debug the issue this is what I receive from the PubNub library: operation: 'PNSubscribeOperation', errorData: Error: socket hang up

If we find a way to stop that from happening, the sensors would be a lot more reliable. Now it is a complete hit or miss. On the Vivint website all changes are received instantly with no interruptions. Any ideas?