You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I must premise that I'm a newbie on node.js so also on node-red and everything around it, but i have 2 meross mss310h which works flawlessly and I'm trying to integrate node-red just for fun, just for see how it works and what I can do with it.
Long story short, when i try to configure the smart plug following every online guide, every blog issue trying to reverse engineering the solutions i receive back from debug node connected after the meross node the message:
This is what I've obtained from fiddler while toggling on one of the smart plug
I've set the 'sign' parameter in the 'meross-config' key value, then added a smart plug, set the ip taken from fiddler and done this it should work correctly no?
Oh, I've found the error, following #15 i've noticed the last post where this link was provided (https://github.com/jixunmoe/meross-login) and noticed that the key was completely different. Now it works!
Hi, I must premise that I'm a newbie on node.js so also on node-red and everything around it, but i have 2 meross mss310h which works flawlessly and I'm trying to integrate node-red just for fun, just for see how it works and what I can do with it.
Long story short, when i try to configure the smart plug following every online guide, every blog issue trying to reverse engineering the solutions i receive back from debug node connected after the meross node the message:
27/02/2022, 12.36.34 node: output msg.payload : string[25] "Received unexpected data!"
And I'm out of ideas why this keep doing this.
This is what I've obtained from fiddler while toggling on one of the smart plug
![Inkedscreenshot 27-02-YYYY_T-12 34 00_LI](https://user-images.githubusercontent.com/46193419/155881168-e0446c6b-954a-4119-8dfd-f38d579c2820.jpg)
I've set the 'sign' parameter in the 'meross-config' key value, then added a smart plug, set the ip taken from fiddler and done this it should work correctly no?
This is the current version of the flow
[
{
"id": "019329f3e23d3e83",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "7b2aed301d8c6835",
"type": "inject",
"z": "019329f3e23d3e83",
"name": "ON",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 270,
"y": 240,
"wires": [
[
"ed770a8775a71bbd"
]
]
},
{
"id": "ed770a8775a71bbd",
"type": "smartplug-control",
"z": "019329f3e23d3e83",
"confignode": "3a1baed38589c45d",
"name": "1",
"ip": "192.168.1.11",
"x": 650,
"y": 260,
"wires": [
[
"5e0b4cafceb9fda2"
]
]
},
{
"id": "e3f7d9eda347cdd9",
"type": "inject",
"z": "019329f3e23d3e83",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "'state'",
"payloadType": "str",
"x": 270,
"y": 180,
"wires": [
[
"ed770a8775a71bbd",
"1e81b359bdb820df"
]
]
},
{
"id": "5e0b4cafceb9fda2",
"type": "debug",
"z": "019329f3e23d3e83",
"name": "output",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 810,
"y": 260,
"wires": []
},
{
"id": "1e81b359bdb820df",
"type": "debug",
"z": "019329f3e23d3e83",
"name": "input",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 810,
"y": 180,
"wires": []
},
{
"id": "de8aefcca035d7fd",
"type": "inject",
"z": "019329f3e23d3e83",
"name": "OFF",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 270,
"y": 300,
"wires": [
[
"ed770a8775a71bbd"
]
]
},
{
"id": "3a1baed38589c45d",
"type": "meross-config",
"name": "",
"key": "a754533XXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
]
I would like to make this work for the future.
Thanks in advance
Emanuele
The text was updated successfully, but these errors were encountered: