Comments (9)
Amazing @donavanbecker - worked like a charm. I’m going to work through and set the other plugs up now. Thanks for your help.
from homebridge-meross.
Just released Version 1.1.0, if you want to give it a try.
from homebridge-meross.
Thanks. I've updated the plugin, the config (with the right model), but no, it doesn't work.
This is the current config:
{
"model": "MSS310",
"name": "presa",
"deviceUrl": "192.168.1.141",
"channel": 0,
"messageId": "d8a5c2e967c923bd80014df179bbfb59",
"timestamp": 0,
"sign": "82aec8a0295bd874e12ab2c3f31f77",
"accessory": "Meross"
}
This is what I get:
[4/28/2020, 8:51:08 PM] [presa] Set succeeded: {
header: {
messageId: 'd8a5c2e967c923bd80014df179bbfb59',
namespace: 'Appliance.Control.ToggleX',
method: 'ERROR',
payloadVersion: 1,
from: '/appliance/1912249200127825188148e1e9146f24/publish',
timestamp: 1588107068,
timestampMs: 670,
sign: '2487c9d69692f34d4bed1c79ca1d59e8'
},
payload: { error: { code: 5001, detail: 'sign error' } }
}
[4/28/2020, 8:51:08 PM] [presa] setOnCharacteristicHandler: false
[4/28/2020, 8:51:08 PM] [presa] calling getOnCharacteristicHandler for MSS310 at 192.168.1.141...
(node:374) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'digest' of undefined
[4/28/2020, 8:51:08 PM] [presa] calling getOnCharacteristicHandler for MSS310 at 192.168.1.141...
(node:374) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'digest' of undefined
at Meross.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:297:34)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:374) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
Thanks again
from homebridge-meross.
@marcocattaneogotam what are you using to get your timestamp
, messageId
, and sign
?
Can you provide the request body? from the /config.
from homebridge-meross.
I’m having a similar issue. I originally used Charles Proxy on the device to sniff traffic to the plug, and retrieved similar time stamp, messageID, and Sign values to @marcocattaneogotam.
I don’t think they’re right though. My understanding is we’re supposed to grab these as a result of the call to /config, but in Charles I keep getting a 503 when calling that end point. Any ideas?
from homebridge-meross.
Hey @moviedan, can you update to 1.1.0? And then can you try these steps and let me know if it works?
Downlod HTTP Catcher! It is going to be a little different then my instructions on the credentials wiki, but it works.
- Hit Configure in the top right.
- Enable VPN.
- Hit Start to start collecting.
- In "Search URL", search for your IP of the meross plug.
- You will see a Post to /config with a
200
Response withapplication/json
. - Click into that and hit Response header.
- From there you will find the
sign
,timestamp
, andmessageId
.
from homebridge-meross.
It worked for me too. Thanks!
from homebridge-meross.
@marcocattaneogotam good to hear!!
from homebridge-meross.
Hello, I have the same problem with MSS310 plugin version v5.0.1, homebridge v1.3.4.
I have successfully set up 2 MSS210 plugs, but I have tried to set up with the same exact method a MS310 plug and it does not work.
I know how to proceed te setup (because I have already successfully setup 2 plugs).
from homebridge-meross.
Related Issues (20)
- Meross outdoor plug dimmer MPD100 HOT 1
- MTS200B or any other thermostate device is listed in plugin v10.2.0 config HOT 3
- Multi-Channel Accessory Grouping HOT 8
- Discontinuation of Old Cloud API and Upgrade to New API HOT 1
- Please add mss210p to the native HK devices list HOT 2
- Plugin ignoring Hide From HomeKit in individual settings HOT 2
- Meross MSG200 HOT 1
- Changed switch name in Meross app, not reflected in the plug in HOT 3
- Config entry [singleDevices] has an invalid entry which will be ignored. HOT 1
- Support for MOD150
- Lost support for MSS425F HOT 1
- MTS200 reporting lots of mqtt open/close. Is it a problem? (Homebridge 1.7.0 on Synology NAS 7.2.1 - Plugin 10.3.0) HOT 4
- Plugin (suddenly) has a problem logging in to the API HOT 3
- Error message: mqtt connection closed HOT 5
- Exclude devices option
- Local Control - Separate Networks HOT 1
- Thermostat status is "off" when desired temperature is reached
- Meross gs559a Smoke Alarm - Native HomeKit but not being ignored
- MTS960 Smart Temperature Controller
- Single Switch to show as a Heater device results in blank HomeKit thermostat controls
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 homebridge-meross.