A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
mqttClient: Error object: Error: client disconnecting occurs sometimes. Error is trapped and no crash occurs but mqtt session does not restore
To Reproduce:
Wait and watch
Expected behavior:
Should auto-restart mqtt session after a mqtt error
Logs:
[30/01/2023, 12:19:55] [Horizon] Change channel to SV09099 [CNN Int. HD] on Sunrise TV 3C36E4-EOSSTB-00xxxxxxx
[30/01/2023, 12:19:55] [Horizon] mqttClient: Error
[30/01/2023, 12:19:55] [Horizon] mqttClient: Error object: Error: client disconnecting
at MqttClient._checkDisconnecting (/usr/lib/node_modules/homebridge-eosstb/node_modules/mqtt/lib/client.js:577:26)
at MqttClient.publish (/usr/lib/node_modules/homebridge-eosstb/node_modules/mqtt/lib/client.js:617:12)
at stbPlatform.mqttPublishMessage (/usr/lib/node_modules/homebridge-eosstb/index.js:2514:15)
at stbPlatform.switchChannel (/usr/lib/node_modules/homebridge-eosstb/index.js:2570:10)
at stbDevice.setInput (/usr/lib/node_modules/homebridge-eosstb/index.js:4574:18)
at ActiveIdentifier.<anonymous> (/usr/lib/node_modules/homebridge-eosstb/index.js:3175:53)
at ActiveIdentifier.emit (node:events:513:28)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2596:16
at new Promise (<anonymous>)
at ActiveIdentifier.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2594:14)
Describe The Bug:
mqttClient: Error object: Error: client disconnecting occurs sometimes. Error is trapped and no crash occurs but mqtt session does not restore
To Reproduce:
Wait and watch
Expected behavior:
Should auto-restart mqtt session after a mqtt error
Logs:
Screenshots:
Environment: