krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
417 stars 45 forks source link

Unable to add devices by HTTP #72

Closed silviudc closed 3 years ago

silviudc commented 3 years ago

Version of the custom_component

2.2.1

Configuration


N/A as it was added my HACS

Describe the bug

I am unable to add/discover devices via HTTP I have about 12 devices and after installing Meross LAN none are getting auto discovered by dhcp (dhcp is turned on in config.yaml) If I try to add Meross LAN integration manually it does not give me any option to add by IP just this:

image How can I force discovery/add devices manually for HTTP method?

Debug log


No errors logged in the logs.
krahabb commented 3 years ago

Hello @silviudc , That one is an 'optional' one shot entry meross_lan configures when you have MQTT integration in your HA. That is for MQTT communication features and actual flow 'forces' you to configure it once. Just 'submit' it and repeat adding the integration. If you don't have meross devices on your MQTT environment it will be useless and hopefully harmless but you can disable it rightway if it bothers you.

silviudc commented 3 years ago

Yes I have mqtt enabled in HA but not for the meross devices, would like to use http in order to not remove them from the cloud app for now. In that case how can I "discover" devices if not by adding the meross LAN integration on the integrations page?

krahabb commented 3 years ago

Yeah, just add the 'MQTT Hub' entry (and forget about it: it will help in the future should you move your devices to MQTT) and then after that, add meross_lan again for each device

silviudc commented 3 years ago

Yup that did the trick thanks :)

patrick-blom commented 2 years ago

Hello @silviudc , That one is an 'optional' one shot entry meross_lan configures when you have MQTT integration in your HA. That is for MQTT communication features and actual flow 'forces' you to configure it once. Just 'submit' it and repeat adding the integration. If you don't have meross devices on your MQTT environment it will be useless and hopefully harmless but you can disable it rightway if it bothers you.

@krahabb Please add these Information to the Wiki :)

krahabb commented 2 years ago

Good point ;)