Comments (7)
from meross.
Hey!
The problem is, that after the "meross setup"-command is sent (see command + log in the attached file), the socket powers off (expected) and reboots. When the socket starts it is blinking rapid green (according to doc this means it's trying to connect to Wifi - maybe also to the MQTT server). The socket stays in this state and after maybe 3-5 mins it returns into the configuration mode (yellow-green blinking).
I don't see it entering my wifi in my router logs nor a connection to the MQTT server.
2_SetupCommand+Result.txt
Concerning your wiki-page-edits:
I tried to add mqtt:// and mqtts:// in advance of the mqtt-server-ip-address+port but unfortunately that didn't change anything.
from meross.
If i recall correctly the Meross devices now require port 8883 and TLS
Heres my Mosquitto config
port 8883
require_certificate false
use_identity_as_username false
# replace with your CA Root
cafile ../certs/ca.crt
# replace with your server certificate and key paths
certfile ../certs/server.crt
keyfile ../certs/server.key
Here's the commands I used to create the certificates and keys
Create the Certificate Authority
openssl genrsa -des3 -out ca.key 2048
openssl req -new -x509 -days 1826 -key ca.key -out ca.crt
Create the certificate signing request.
It's important when asked for the FQDN in these next step to use the IP or domain name of the machine your MQTT instance is on. 192.168.188.43 according to the details in 2_SetupCommand+Result.txt above.
openssl genrsa -out server.key 2048
openssl req -new -out server.csr -key server.key
Create the final certificate
openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt -days 360
from meross.
I tried the values you suggested, but didn't see any difference.
This would also be strange, as I can't see the socket in my routers wifi list. So I guess that setup procedure is slightly different in this hardware version. If I find some time I will power up wireshark and investigate...
Nevertheless, thanks for your suggestions!
from meross.
I'm surprised that your router can't see the device, the only thing I can think is the device, router, and MQTT are not on the same subnet.
Also if you haven't done so, try setting up using the cloud. Some users have reported that worked for them. I'm not convinced this is necessary one of my plugs never saw the cloud until recently when I paired it for a firmware upgrade.
from meross.
Can the offline + mqtt method work with the mss210?
I've tried without success - the ./meross setup --gateway 10.10.10.1 --wifi-ssid --wifi-pass --mqtt :8883 process failed with a socket hangup error?
from meross.
from meross.
Related Issues (20)
- MSS710 not connecting to WiFi HOT 2
- TypeError [ERR_INVALID_ARG_TYPE] at logRequest(), app.js HOT 4
- After Firmware update ver 6.1.10, Meross-setup stopped working HOT 1
- Wiki: How is the Mac address formatted for the password? HOT 1
- Unable to make it work HOT 8
- MSS425 fails to connect to MQTT HOT 6
- Mosquitto errors with Meross PowerStrip HOT 1
- Question: Is it important to sign the messages? HOT 3
- Devices are "lost" on Meross Lan HOT 3
- Struggle with Meross light switch disconnecting every few seconds from MQTT broker HOT 7
- Unable to Setup Meross Devices (MSS510, MSS550, MSG100) HOT 5
- Unable to control light bulb from local MQTT broker HOT 6
- MSS710 as dimmer? HOT 1
- MSS310 keeps blinking green HOT 15
- 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
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.