Skip to content

Commit

Permalink
Add RDM002
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea authored May 5, 2023
1 parent eab8718 commit 8712dd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BridgeEmulator/sensors/sensor_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"ZLLPresence" : { "state": {"lastupdated": "none","presence": None }, "config": {"on": False,"battery": 100,"reachable": True,"alert": "none","ledindication": False,"usertest": False,"sensitivity": 2,"sensitivitymax": 2,"pending": [] }, "static": {"swupdate": {"state": "noupdates","lastinstall": "2021-03-16T21:16:40"}, "manufacturername": "Signify Netherlands B.V.", "productname": "Hue motion sensor", "swversion": "6.1.1.27575", "capabilities":{"certified":True,"primary":True}}},
"ZLLLightLevel" : {"state": {"dark": True,"daylight": False,"lightlevel": 6000,"lastupdated": "none"}, "config": {"on": False,"battery": 100,"reachable": True,"alert": "none","tholddark": 9346,"tholdoffset": 7000,"ledindication": False,"usertest": False,"pending": []}, "static": {"swupdate": { "state": "noupdates", "lastinstall": "2021-03-16T21:16:40"}, "manufacturername": "Signify Netherlands B.V.","productname": "Hue ambient light sensor","swversion": "6.1.1.27575","capabilities": { "certified": True, "primary": False}}}}

sensorTypes["RDM002"] = {"ZLLSwitch": {"state":{"buttonevent":3002,"lastupdated":"2023-05-13T09:34:38"},"config":{"on": True,"battery": 100,"reachable": True,"pending": []},"static":{"swupdate":{"state": "noupdates","lastinstall": "2022-07-01T14:38:51"},"manufacturername": "Signify Netherlands B.V.","productname": "Hue tap dial switch","swversion": "2.59.19","capabilities": {"certified": True,"primary": False,"inputs": [{"repeatintervals": [800],"events": [{"buttonevent": 1000,"eventtype": "initial_press"},{"buttonevent": 1001,"eventtype": "repeat"},{"buttonevent": 1002,"eventtype": "short_release"},{"buttonevent": 1003,"eventtype": "long_release"},{"buttonevent": 1010,"eventtype": "long_press"}]},{"repeatintervals": [800],"events": [{"buttonevent": 2000,"eventtype": "initial_press"},{"buttonevent": 2001,"eventtype": "repeat"},{"buttonevent": 2002,"eventtype": "short_release"},{"buttonevent": 2003,"eventtype": "long_release"},{"buttonevent": 2010,"eventtype": "long_press"}]},{"repeatintervals": [800],"events": [{"buttonevent": 3000,"eventtype": "initial_press"},{"buttonevent": 3001,"eventtype": "repeat"},{"buttonevent": 3002,"eventtype": "short_release"},{"buttonevent": 3003,"eventtype": "long_release"},{"buttonevent": 3010,"eventtype": "long_press"}]},{"repeatintervals": [800],"events": [{"buttonevent": 4000,"eventtype": "initial_press"},{"buttonevent": 4001,"eventtype": "repeat"},{"buttonevent": 4002,"eventtype": "short_release"},{"buttonevent": 4003,"eventtype": "long_release"},{"buttonevent": 4010,"eventtype": "long_press"}]}]}}}}

sensorTypes["RWL021"] = {"ZLLSwitch": {"state":{"buttonevent":4000,"lastupdated":"2022-11-13T09:34:38"}, "config":{"on":True,"battery":None,"reachable":False,"pending":[]}, "static": {"swupdate":{"state":"transferring","lastinstall":"2022-11-13T09:32:55"}, "manufacturername":"Signify Netherlands B.V.","productname":"Hue dimmer switch","diversityid":"6426c751-c093-499e-afb6-9f0c863ec819","swversion":"2.44.0_hBB3C188","capabilities":{"certified":True,"primary":True,"inputs":[{"repeatintervals":[800],"events":[{"buttonevent":1000,"eventtype":"initial_press"},{"buttonevent":1001,"eventtype":"repeat"},{"buttonevent":1002,"eventtype":"short_release"},{"buttonevent":1003,"eventtype":"long_release"},{"buttonevent":1010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":2000,"eventtype":"initial_press"},{"buttonevent":2001,"eventtype":"repeat"},{"buttonevent":2002,"eventtype":"short_release"},{"buttonevent":2003,"eventtype":"long_release"},{"buttonevent":2010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":3000,"eventtype":"initial_press"},{"buttonevent":3001,"eventtype":"repeat"},{"buttonevent":3002,"eventtype":"short_release"},{"buttonevent":3003,"eventtype":"long_release"},{"buttonevent":3010,"eventtype":"long_press"}]},{"repeatintervals":[800],"events":[{"buttonevent":4000,"eventtype":"initial_press"},{"buttonevent":4001,"eventtype":"repeat"},{"buttonevent":4002,"eventtype":"short_release"},{"buttonevent":4003,"eventtype":"long_release"},{"buttonevent":4010,"eventtype":"long_press"}]}]}}}}
sensorTypes["ZGPSWITCH"] = {"ZGPSwitch": {"state": {"buttonevent": 0, "lastupdated": "none"}, "config": {"on": True, "battery": 100, "reachable": True}, "static": {"manufacturername": "Signify Netherlands B.V.", "swversion": ""}}}
sensorTypes["RWL022"] = sensorTypes["RWL021"]
Expand Down

0 comments on commit 8712dd0

Please sign in to comment.