Came across http://www.meross.com today and they are pretty cheap on Amazon. Smart wall plug comes in 2-pack for $20 and wall switch is under $26. Well reviewed. I like that they are 15A and certified by safety orgs.
They are WiFi. Compatible with Alexa and Google Assistant. Not sure of the chipset. So I don’t know if maybe they can be controlled by the Broadlink SP2 component in HA. Has anyone looked into these?
Same here, already 2 devices but I was planning to buy more. Please let us know if there would be any support to these devices, otherwise I would change them with something else.
Thank you !
mayker
(maykar (pronounced "maker" with a southern accent))
4
I had some Meross switches working in a round about way. I used the Google Assistant Webserver addon. In addition to being able to send broadcast messages to google assistant it could also send commands, so as long as you set up your switch (meross or otherwise) through google assistant you could control it with the help of this addon. Unfortunately, many users (myself included) are currently having issues with the addon. I really hope they work out the kinks as this is a wonderful way of using cheap components that only work through google assistant to work with HA.
I am new here, so I might have the wrong idea, but my Meross MSS310 support IFTTT, which should be enough for integrating them with Home Assistant. Am i wrong?
mayker
(maykar (pronounced "maker" with a southern accent))
6
It’s definitely possible, but will come with a 5 to 20 second lag… sometimes more. The Google Assistant method mentioned above is instantaneous. The add-on is working great atm
Is it also possible to check the status (on/off) of the plug somehow with this add-on to display the current state on a switch? I’m totally new to Home Assistant and thinking about getting a Raspberry Pi for controlling my LIFX lights and Meross switches with it. I also looked into openHAB and iOBroker, but i can’t seem to find a similarly convenient solution for controlling cheap generic Wifi switches with Google Assistant.
Does this method rely in any way on Meross’ servers? The IFTTT one does and even though the delay is very small in my tests (<5 sec) it would be good if we circumvent Meross’ servers altogether.
mayker
(maykar (pronounced "maker" with a southern accent))
9
As far as I know, responses aren’t yet supported. I think this has to do with the fact that the command feature was a happy accident and isn’t the main focus of the add-on. Maybe add a feature request on the add-ons forum post or github?
mayker
(maykar (pronounced "maker" with a southern accent))
10
Actually, I’m not sure. I would have to test it by denying the switches net access from the router and see if they still respond. Will keep you posted.
Thanks, just got my Raspberry Pi 3B+ and set it up with HassOS over the weekend. I tried the add-on myself and controlling my two Meross switches worked quite well with it. However, I will most likely swap them out for some TP-Link HS110 soon because they are just way more convenient to handle with Home Assistant, plus displaying the energy monitoring values also works perfectly fine.
The Google Assistant method does rely on the Meross servers, that’s the main reason why you need to log in to your account when connecting the switches to your Google Assistant.
Hi, I have 2 Meross 16A switches which I could command via Google Home Mini, but I’d like to use them also in Home Assistant. I’ve installed the Google Assistant Webserver, but I don’t know how to integrate them in Hassio.
Could you please help me with step-to-step instructions?
Thanks a lot!
mayker
(maykar (pronounced "maker" with a southern accent))
13
I apologize in advance as I may not be much help. The addon is currently not working for me and I no longer use the Meross switches. As such, I cannot test the setup to give you a proper step by step, but I can point you in the right direction.
One of the first links on that page will send you to these instructions in order to obtain a json file from google that you need to rename to “google_assistant.json” and place in your share folder. You only need that json file, so once you have it stop following those instructions.
Start the addon, go to http://[HASSIO LOCAL IP]:9324 and follow the instructions.
Then we test broadcast to make sure everything is up and working. Enter this into a web browser:
http://[HASSIO LOCAL IP]:5000/broadcast_message?message=check check is this thing on
switch:
platform: command_line
switches:
living_room_light:
command_on: "/usr/bin/curl -X GET http://[HASSIO LOCAL IP]:5000/command?message=turn on living room light"
command_off: "/usr/bin/curl -X GET http://[HASSIO LOCAL IP]:5000/command?message=turn off living room light"
Ok, test done (http://[HASSIO LOCAL IP]:5000/broadcast_message?message=check check is this thing on). So Google Assistant Webserver status is on.
I write the command line switch as you wrote, changing IP and name of the switch in “filter”,
switch:
- platform: command_line
switches:
filtro_piscina:
command_on: "/usr/bin/curl -X GET http://192.168.1.110:5000/command?message=turn on filter"
command_off: "/usr/bin/curl -X GET http://192.168.1.110:5000/command?message=turn off filter"
Rebooted Hassio, I have the switch, but using it nothing happens
Here’s an idea - we could use Wireshark to capture the packets that run to and from the switches upon using the app or ifttt and send/read these directly in Home Assistant. Sadly, I won’t have access to a Meross switch until Christmas (left them at parents’ house).
I am keen to collaborate though, so let me know.
I’ve got one of their outdoor 2 outlet WiFi outlets. Happy to work to provide packet captures if you’re interested in trying to reverse the system to make it work without internet access!