Comments (5)
Hello,
I've developed this integration by implementing a sort of mqtt discovery for meross protocol into the code.
After the initial issues with re-pairing the plugs I've finally managed to let it work with this configuration:
MQTT broker: mosquitto
MQTT TLS: according to your guide and any other to setup TLS on mosquitto with private certificate
MQTT authentication: none (this is important even if not the best use-case: this way I do not have to deal with Meross user_id and passwords at the mqtt level)
Important: when using your meross config utility I had to configure both of the mqtt server keys on the plug to the same mqtthost else the plug would fail unrecoverably and fall back to pairing mode in case the broker was down. Also I did not setup any user/key on the plug itself so all of the signing code in the protocol implementation is based on a null key at the moment.
Let me know if I could help or if my integration could be useful. I can work a bit on that even if the main problem is that I only managed to buy MSS310 plugs so testing is almost impossible for any other device
from meross.
Thanks for sharing your experience. The current version of this tool already sets both servers to the same if only one is provided.
from meross.
See https://github.com/bytespider/Meross/wiki/Home-Assistant-(HASSIO) for a rough guide to using Meross plugs with Home Assistant
from meross.
Hi @bytespider , do you mind explaining in more detail the 'Device credentials' for using with Hassio? When running meross-setup
as you say, I only see the --wifi
parameters and not --user
.
from meross.
--user
and --key
sets the Meross Cloud user id and key and makes up part of the password generated when communicating with the MQTT broker. You can safely ignore them as they offer no additional security on local MQTT
from meross.
Related Issues (20)
- Does this support MSS310 Hardware Version 6 ? HOT 24
- Unable to setup device MSS210 HOT 15
- Setting MQTT and Wifi for MSS210 HOT 3
- No time synchronisation with 5.1.1 firmware HOT 2
- Upgraded firmware/incorrect key HOT 2
- [question] hass mqtt connection HOT 1
- Plug keeps blinking green forever HOT 3
- mss110 power switch with firmware 7.3.19 requires user and key HOT 4
- [QUESTION] What exactly is --gateway? HOT 2
- Error Unable to connect to device - TypeError: Cannot read properties of undefined (reading 'system') HOT 16
- Setup does not work for newer MSS310 HOT 8
- Device mss425e won't connect to AP, falls back to pairing mode HOT 16
- Updated firmware on mss310 us rtl8710cf (hardware:6.0.0 firmware:6.3.22) causes red light HOT 1
- Issues with ssl after upgrading from Debian 11 to Debian 12 HOT 2
- Cant connect MSS710 HOT 4
- NTP queries from Meross Plugs HOT 1
- TypeError: program.version is not a function HOT 1
- Device Key? HOT 1
- Unable to setup MSS310 HOT 2
- mss210 contents to wifi and mqtt but doesn't push changes to mqtt [un rtl8710cf (hardware:6.0.0 firmware:6.2.3) ] HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meross.