Closed grrowl closed 1 year ago
misread the code, the config actually needs to specify model
, not deviceType
. manually specifying this in the config does work, not sure why the field isn't in the plugin config UI or being set internally.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] not initialising cloud device as ignored or configured locally.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] has been added to Homebridge.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] initialising with options {"adaptiveLightingShift":0,"brightnessStep":1,"connection":"local"}.
[4/6/2023, 11:43:23 AM] [Meross] [Splash Lamp] initialised with id [2103259766383090847348e1e967557e}].
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] has been added to Homebridge.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] initialising with options {"adaptiveLightingShift":0,"brightnessStep":1,"connection":"local"}.
[4/6/2023, 11:43:23 AM] [Meross] [Desk Lamp] initialised with id [2103259309682490847348e1e96757c9}].
If you have your Meross username and password configured, the plugin will take the model from the cloud information, therefore not needed to be configured (and does not appear in the settings UI).
The option will appear in the settings UI when you specify a user key instead of user+pass.
I believe I have fixed the error you produced in a new beta version of the plugin. It was a particular mix of config entries that was a case I had not thought about! I know you have got this working yourself, I mean if you were to how you had your config when the error was appearing, with the beta it should no longer show this error.
Thanks for finding this!
What issue do you have? Please be as thorough and explicit as possible.
Manually configured two devices through the plugin UI
here's that line in the code
Details of your setup.
Homebridge v.1.6.0 homebridge-config-ui-x v4.50.2 Nodejs v18.13.0 Docker homebridge-meross v9.0.2 (also happens in v9.0.1)
Two Meross Light Bulbs configured, both MSL120DR
Config
with the attempted workaround (below) included
Logs
attempted workaround
manually adding
deviceType: "msl120dr"
to each light's config doesnt work: