Since the release of Homey firmware v7.4.1, the HomeyKit app is regularly crashing because of this error:
Unhandled Rejection at: Promise {
unknown_network_interface: Er is een onbekende fout opgetreden [unknown_network_interface]
at /node_modules/athom-api/dist/index.js:1:1075967
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 500,
cause: t {
__athom_api_type: 'HomeyAPI.ManagerSystem.Error',
code: 500,
error: 'unknown_network_interface',
error_description: 'Er is een onbekende fout opgetreden [unknown_network_interface]',
'$stack': undefined
}
}
}
Jeroen Wienk, on Slack, explained this can be thrown by the HomeyAPI.forCurrentHomey() method, which is easy enough to catch, but it basically stops the entire app from working if it happens and should ideally be fixed in the API.
EDIT: it doesn't look like I'm able to catch this rejection for some reason (code here).
Since the release of Homey firmware v7.4.1, the HomeyKit app is regularly crashing because of this error:
Jeroen Wienk, on Slack, explained this can be thrown by the
HomeyAPI.forCurrentHomey()
method, which is easy enough to catch, but it basically stops the entire app from working if it happens and should ideally be fixed in the API.EDIT: it doesn't look like I'm able to catch this rejection for some reason (code here).