Skip to content

Commit

Permalink
Add support for Hue Tap dial switch
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea authored May 4, 2023
1 parent bff9212 commit 9a68edb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions BridgeEmulator/services/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,25 @@
"arrow_right_click": {"many": 4002},
}
},
"8719514440937": {
"dataConversion": {
"rootKey": "action",
"button_1_press": {"buttonevent": 34},
"button_2_press": {"buttonevent": 16},
"button_3_press": {"buttonevent": 17},
"button_4_press": {"buttonevent": 18},
"dial_rotate_left_step": {"buttonevent": 2000},
"dial_rotate_right_step": {"buttonevent": 2001},
"dial_rotate_left_slow": {"many": 3000},
"dial_rotate_right_slow": {"many": 3001},
}
},
}

# WXKG01LM MiJia wireless switch https://www.zigbee2mqtt.io/devices/WXKG01LM.html

standardSensors["RWL022"] = standardSensors["RWL021"]
standardSensors["8719514440999"] = standardSensors["8719514440937"]

def getClient():
return client
Expand Down

0 comments on commit 9a68edb

Please sign in to comment.