albertogeniola / MerossIot

Async Python library for controlling Meross devices
https://albertogeniola.github.io/MerossIot/
MIT License
478 stars 88 forks source link

Off-grid use #223

Closed martinpeniak closed 2 years ago

martinpeniak commented 2 years ago

Hi guys,

First of all thank you for your work here, it's much appreciated. I work in the field of machine vision and created an off-grid project in Spain where I am using dozens of theses Meross power plugs...I've also tried using temp and humidity sensors but found them unreliable and fragile. Currently, I am still connecting to Meross cloud and integrating with Google Home but it is really annoying and great point of failure so I am thinking to upgrade and implement offline mode.

Could someone give me pointers on what the steps would be please? I am currently using this repo code to query the sockets but that's still connecting to the cloud.

Finally, do you think that the integration with Google Home is still possible or will I need to use software like Home Assistant and basically develop stuff myself?

You can see the high-tech off-grid project Tao in this video, and others if you look for it on YouTube. The demonstration of the house and voice control devices is towards the end of the video.

https://www.youtube.com/watch?v=-AOGbDB1zEU&ab_channel=MartinPeniak

Thanks in advance, I very much appreciate it! Martin

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

albertogeniola commented 1 year ago

Hi @martinpeniak ,

nice to see this library being used in such great projects. The local control of meross devices is a bit cumbersome and requires a "local controller" so simulate the cloud component. Not only, also the pairing method requires a custom app to make Meross devices attach to a "local controller". For this reason, I've developed the HomeAssistant Addon, which runs as a software daemon on a local network and a custom meross app pairer to let Meross device attach to that daemon.

For the moment, I'm not planning to expand the support for local connectivity without HomeAssistant.