Successfully Integrating Meross MSS426 into Hubitat

After a bit of a journey, I’m thrilled to share my success in integrating the Meross Wi-Fi MSS426 Power Strip into my Hubitat ecosystem. This experience taught me a lot, and I hope it can help others who might be facing similar challenges!

The Challenge

When I first purchased the MSS426, I was excited about its potential to control six individual sockets. However, getting it fully functional wasn’t straightforward. The documentation I found was outdated, and the process of obtaining the necessary API key had changed. I also wanted to ensure that each socket could be controlled individually, which added another layer of complexity.

The Solution

After some research, I stumbled upon @ithinkdancan’s work on the Meross Smart Plug Mini driver. While this wasn’t a perfect fit for the MSS426, I realized I could adapt it. Here’s what I did:

  1. Obtaining the API Key:

    • The process had changed since the original documentation. I needed to use the updated Meross sign-in page (https://iot.meross.com/v1/Auth/signIn) and a JavaScript script provided by @ithinkdancan. This gave me the key I needed to connect to the MSS426.
  2. Modifying the Driver:

    • I took the existing driver for the MS120 (a 2-channel plug) and adapted it for the MSS426. This involved adding support for six channels and ensuring each could be controlled independently. The result was a custom driver that combined the best of both worlds.
  3. Testing and Fine-Tuning:

    • After setting up the driver, I tested each socket to ensure it was responding correctly. It took a few adjustments, but eventually, everything worked as expected!

The Result

Now, my MSS426 is fully integrated into Hubitat, with each socket individually controllable. This setup has transformed my ability to automate and control my home environment. Whether it’s turning off lights in the evening or managing power to different devices, the MSS426 has become an invaluable part of my smart home.

Tips for Others

  • Stay Updated: Documentation can become outdated quickly, so always check for the latest information.
  • Community Resources: Don’t hesitate to explore forums and community-driven solutions. Often, someone else has already faced—and solved—your problem.
  • Experiment Safely: When modifying drivers or scripts, take it step by step and test each change thoroughly.

If you’re considering adding a Meross MSS426 to your setup, I highly recommend giving this approach a try. With a bit of patience and some creative problem-solving, you can unlock its full potential!

Happy automating! :rocket: