Closed timnolte closed 1 year ago
Just a follow-up that I was actually able to get an mss510 switch paired with Meross LAN using MQTT with the pairer mobile app, that is mentioned in the linked issue. The fact that the mobile app was able to get the switch paired but this Node Setup Utility can't without error is a bit baffling. Would the error I was receiving have anything to do with the version of Node I was running under? I do have NVM so can switch between Node versions. I quite often switch between Node v12 & v14.
Just noting that I have tried both Node 12 & Node 14, installed the app via NPM, also tried just using NPX but that results in a lot of delay when connected to the device and there is no internet. I'm not sure if these devices are actually supported or not. Basically when I attempt to run meross info
I'm disconnected from the device's WiFi network and I get no response. I have been able to use the Custom Pairer Android app, however, some of my devices only manage to get paired with Home Assistant via IP and not MQTT.
So a bit of additional information is that I think this is partially related to newer HomeKit devices, this doesn't explain the challenges with the mss510 smart switch so there might be more to it, however there is definitely challenges with pairing the newer HomeKit devices as mentioned in this thread.
@timnolte this tool requires node 12+
In general this tool works when the device has been factory reset and you have connected to it's hotspot.
I do not own any of these devices so I'm unable to assist.
@bytespider as I noted I tried with both Node 12 & Node 14. The Android custom pairer app seems to have the same problem so it seems that neither this tool or the custom pairer app are updated to properly work with HomeKit compatible devices. At this point it seems that setting some of these devices up via the Home Assistant HomeKit integration is more reliable or is really the only compatible way to have them setup. It would be nice if they could be setup via MQTT but I have pretty much given up on that solution with these newer devices for now.
So, today I tried setting up a new Meross MSS510 switch using the local only MQTT setup. I first attempted running the npx meross info command after connecting to the switches WiFi. While it was attempting to pull the switch information it toggled the switch on/off a couple of times and then just timed out. I ran with the verbose option and got this output:
I didn't having any problem with the Meross Smart Plug (MSS110) that I was initially testing with. I ended up just setting up the switch through the Meross app and got it added via Meross LAN the normal way. Is this switch not supported for some reason?
From the Meros app this is the details for the device: