mosquito_sub

33 views
Skip to first unread message

Zoltán Koós

unread,
May 7, 2021, 2:05:45 AM5/7/21
to MQTT
Hello!
I want to get a value for a particular topic (svalue1). And I want to use this value for control. Can somebody help me? (linux, domoticz) Thanks: Zoli
I can read the following data:
{
        "Battery" : 255,
        "Level" : 34,
        "RSSI" : 12,
        "description" : "",
        "dtype" : "Light/Switch",
        "hwid" : "3",
        "id" : "00014070",
        "idx" : 32,
        "name" : "kapu nyit\u00e1s",
        "nvalue" : 2,
        "stype" : "Switch",
        "svalue1" : "34",
        "switchType" : "Dimmer",
        "unit" : 1
}

Reply all
Reply to author
Forward
0 new messages