Meross devices (power plus, strips, etc.) are great but they use the Meross MQTT cloud. The cloud is fine but it has its limitations and it is not under your control.
Some great people managed to configure Meross devices so that they connect to a local MQTT broker. Yay! These heroes are:
- @bytespider for the tools to pair a Meross device with a local MQTT broker (https://github.com/bytespider/Meross)
- @albertogeniola for his cloud Meross integration with Home Assistant (https://github.com/albertogeniola/meross-homeassistant) @albertogeniola
Once you have your device connected to the local MQTT you end up with some quite cryptic topics and associated messages. This is the reason I wrote https://github.com/wsw70/meross-local-mqtt
The intent is to use pyscript
(thanks a lot to @craigbarratt for his wonderful work (https://github.com/custom-components/pyscript)) to configure and manage these devices. It is intended to work as a set&forget - the only thing you need is to add to your configuration.yaml
a new device.
Please see the README for the details and let me know if you find it useful, what to improve etc. Thanks!