This error is from when my freezer has lost wifi, but the same crash has happened when the fridge goes offline. When I have some time I’ll dig into to see if I can find send in a fix, but capturing the error for now.
[7/19/2023, 8:41:23 PM] [Miele@home] Washing machine: Initial connection with Miele event server successfully established.
[7/19/2023, 8:41:23 PM] [Miele@home] Freezer: Initial connection with Miele event server successfully established.
[7/19/2023, 8:41:23 PM] [Miele@home] Dishwasher: Initial connection with Miele event server successfully established.
[7/19/2023, 8:41:23 PM] [Miele@home] Refrigerator: Initial connection with Miele event server successfully established.
[7/19/2023, 8:41:23 PM] [Miele@home] Tumble dryer: Initial connection with Miele event server successfully established.
[7/19/2023, 8:41:23 PM] TypeError: Cannot read properties of undefined (reading 'unit')
at MieleTemperatureUnitCharacteristic.update (/homebridge/node_modules/homebridge-mieleathome/src/mieleCharacteristics.ts:479:32)
at MieleFridgePlatformAccessory.update (/homebridge/node_modules/homebridge-mieleathome/src/mieleBasePlatformAccessory.ts:185:22)
at EventSource.<anonymous> (/homebridge/node_modules/homebridge-mieleathome/src/mieleBasePlatformAccessory.ts:102:12)
at EventSource.emit (node:events:513:28)
at _emit (/homebridge/node_modules/homebridge-mieleathome/node_modules/eventsource/lib/eventsource.js:264:17)
at parseEventStreamLine (/homebridge/node_modules/homebridge-mieleathome/node_modules/eventsource/lib/eventsource.js:279:9)
at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-mieleathome/node_modules/eventsource/lib/eventsource.js:238:11)
at IncomingMessage.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
[7/19/2023, 8:41:23 PM] [Miele@home] Freezer (159851286): Setting target temperature range for zone 1 to: undefined.
[7/19/2023, 8:41:23 PM] Got SIGTERM, shutting down Homebridge...
This error is from when my freezer has lost wifi, but the same crash has happened when the fridge goes offline. When I have some time I’ll dig into to see if I can find send in a fix, but capturing the error for now.