Switch 2 Button #571
Unanswered
grillomuto
asked this question in
Q&A
Replies: 2 comments 1 reply
-
no one deigns to help ..... |
Beta Was this translation helpful? Give feedback.
0 replies
-
We get a lot of requests for configuration help logged as ‘issues’. You’re more likely to get an answer if you show the MQTT messages you’re wanting mqttthing to send/receive in addition to your configuration. I very seldom have time to get involved in configuration-related queries but sometimes other helpful people do. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, can someone help me with the Xiaomi / Aqara QBKG24LM switch https://bit.ly/3vslrgg: This is the Json configuration I am using, it works perfectly but both relays turn on, I can't get them to work separately ... . Thank you : {
"accessory": "mqttthing",
"type": "switch",
"name": "Valvola",
"url": "http://192.168.1.17:1883/",
"username": "xxxxxxxxxxx",
"password": "xxxxxxxxxxx",
"integerValue": "true",
"topics": {
"getOn": {
"topic": "tele/Nodotubo/SENSOR",
"apply": "return JSON.parse(message).ZbReceived['0xD436'].Power;"
},
"setOn": {
"topic": "cmnd/Nodotubo/ZbSend",
"apply": "return '{"Device":"0xD436", "send":{"Power":' + message + '}}'"
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions