-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSS210 not working #15
Comments
Same behaviour as #13. I expect you have a MSS210 mini or a newer firmware MSS210 which is particular about the content length header, same as my MSS210 mini. I have raised a PR which will probably resolve. To manually apply this fix download the smartplug-control.js file from here: Overwriting the same file located in your node red node modules dir, something like this path for the user which is running the nodered service: .. or alternatively await @dehsgr to review my PR and consider merging |
Thank you very much. That fixed my problem! |
Published new version to NPM. |
There were heavy changes within API resulting in static message ids, sign tokens and timestamp not being accepted anymore. I re-wrote code base to reflect such changes and generating such information instantly. Thanks go to @jixunmoe with his project https://github.com/jixunmoe/meross-login getting me in the right direction. v2.0.0 of this project is published now requiring the Meross key instead of message id, sign/token and timestamp (see ReadMe.md). |
As stated in the documentation I installed Fiddler, set it up as a proxy on my iOS phone and used the Meross app to turn on/off my smart plug. After doing that I got the following information about my device.
"header": {
"messageId": "ae3d06a66666dcaa248a3ed45530d756",
"method": "SET",
"from": "http://192.168.0.87/config",
"payloadVersion": 1,
"namespace": "Appliance.Control.ToggleX",
"uuid": "2101153644851690839348e1e94600bd",
"sign": "7e6465d4f0f67e8f1b7dac0442b87bf1",
"triggerSrc": "iOSLocal",
"timestamp": 1631995006
}
After that I installed the Meross plugin and set up a flow using the example JSON.
I configured the Meross smart plug node with the information given above.
Now I keep getting this error.
The text was updated successfully, but these errors were encountered: