tuya/tuya-home-assistant

Support for KaBuM! Smart Open Sensor

Open

#545 opened on Oct 9, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

Description

Device normal info

  • KaBuM!
  • Sensor de Abertura KaBuM! Smart / HKWL-DWS02W

Device info { "active_time": 1633645372, "biz_type": 0, "category": "qt", "create_time": 1633642016, "icon": "smart/icon/15318135469lzeqin2vrq_0.jpg", "id": "0407052068c63aed98b8", "ip": "", "lat": "", "local_key": "", "lon": "", "model": "HKWL-DWS02W", "name": "Kabum open 1", "online": true, "owner_id": "51741202", "product_id": "iiqfjnl5rgjbupjs", "product_name": "Door Sensor", "status": [], "sub": false, "time_zone": "-03:00", "uid": "*", "update_time": 1633809110, "uuid": "0407052068c63aed98b8" } ], "success": true, "t": 1633809145453 }

Device specifications (please complete the following information, which can be found in log):

2021-10-09 16:52:25 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0407052068c63aed98b8/specifications, params = None, body = None, t = 1633809145550 2021-10-09 16:52:25 DEBUG (Thread-19) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_f79fd02fd9eb3ff30d54a6ac96eae44a' 2021-10-09 16:52:25 DEBUG (Thread-20) [tuya iot] _on_log: Received CONNACK (0, 0) 2021-10-09 16:52:25 DEBUG (Thread-20) [tuya iot] connect flags->{'session present': 0}, rc->0 2021-10-09 16:52:25 DEBUG (Thread-20) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f814bfa8f76da82be91864f8945db542', 0)] 2021-10-09 16:52:25 DEBUG (SyncWorker_7) [tuya iot] Response: { "code": 2009, "msg": "not support this device", "success": false, "t": 1633809145665 }

Contributor guide