Zacknetic / HomebridgeMagicHome-DynamicPlatform

Homebridge Plugin for MagicHome LED controllers and light bulbs
Apache License 2.0
61 stars 11 forks source link

logLevel issue #102

Closed marcantoinegodde closed 3 years ago

marcantoinegodde commented 3 years ago

Hello, I updated my HB setup with the last version of your plugin (1.9.4). I'm currently facing this issue:

[7/6/2021, 12:11:51 PM] TypeError: Cannot read property 'logLevel' of undefined
    at new HomebridgeMagichomeDynamicPlatform (/usr/lib/node_modules/homebridge-magichome-dynamic-platform/src/platform.ts:59:37)
    at /usr/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:159:29)

Thanks.

Zacknetic commented 3 years ago

Hi there.

Let me know how that goes.

jimmyobomsawin commented 3 years ago

Had the same problem and saving the settings again fixed it. Thanks @Zacknetic !

Zacknetic commented 3 years ago

Had the same problem and saving the settings again fixed it. Thanks @Zacknetic !

Awesome! Happy to help.

marcantoinegodde commented 3 years ago

Everything up and running ! Thanks for that.