Comments (3)
Can you describe the steps you took to set the devices up?
from meross.
First I set it up for Homekit with my iPad. After it registered with my wifi I changed the mqtt server
meross setup --gateway 192.168.64.124 --mqtt 192.168.64.15:8883 --wifi-ssid xxxxxx --wifi-pass xxxxx
I checked:
meross info --gateway 192.168.64.124
Getting info about device with IP 192.168.64.124
sending payload {
header: {
method: 'GET',
namespace: 'Appliance.System.All',
messageId: '121ff074341e256b6bce3f0c46207cef',
timestamp: 1610539791,
sign: '2ee444722d192346a86f5979e7b0706c'
},
payload: {}
}
Got response: {
header: {
messageId: '121ff074341e256b6bce3f0c46207cef',
namespace: 'Appliance.System.All',
method: 'GETACK',
payloadVersion: 1,
from: '/appliance/2009091137638951852148e1e93155f4/publish',
timestamp: 1610539792,
timestampMs: 695,
sign: 'fbb03c858deb13206d79ab20e0f15513'
},
payload: {
all: {
system: {
hardware: {
type: 'mss210',
subType: 'us',
version: '4.0.0',
chipType: 'MT7686',
uuid: '2009091137638951852148e1e93155f4',
macAddress: '48:e1:e9:31:55:f4'
},
firmware: {
version: '4.1.8',
homekitVersion: '2.0.1',
compileTime: 'Aug 1 2020 10:11:00',
wifiMac: '74:ac:b9:b1:c5:67',
innerIp: '192.168.64.124',
server: '192.168.64.15',
port: 8883,
userId: 0
},
time: { timestamp: 1610539792, timezone: '', timeRule: [] },
online: { status: 0, bindId: 'NFm1h1kUsR7LmoGz', who: 1 }
},
digest: {
togglex: [ { channel: 0, onoff: 0, lmTime: 1610468663 } ],
triggerx: [],
timerx: []
}
}
}
}
But there is ablosutely no activity in die mosquitto log:
/var/log/mosquitto$ sudo tail -f mosquitto.log
1610522949: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
1610524750: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
The MQTT Explorer on my Mac shows no activity either on the server. Since my setup differs from the setup in the docs here in terms of homekit, I deduced that this is the catch.
from meross.
I would suggest you follow the guide first to make sure that your MQTT broker is configured correctly and you can control the device by sending
{
"header":{
"from":"/appliance/2009091137638951852148e1e93155f4/publish",
"messageId":"7c2834f83f9cc5b1c7ae1049280a9f3f",
"namespace":"Appliance.Control.ToggleX",
"method":"SET",
"payloadVersion":1,
"sign":"e48c24e510044d7e2d248c68ff2c10ca"
},
"payload":{
"togglex":{
"channel":1,
"onoff":1
}
}
}
to /appliance/2009091137638951852148e1e93155f4/subscribe
Once you're happy it works, try again to setup with Homkeit and then 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.