Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge exit when unit loses wifi #80

Open
bigkraig opened this issue Jul 20, 2023 · 0 comments
Open

Homebridge exit when unit loses wifi #80

bigkraig opened this issue Jul 20, 2023 · 0 comments

Comments

@bigkraig
Copy link

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...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant