tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
882 stars 207 forks source link

Geenie Door & Windows Sensor #166

Open rvanstone opened 3 years ago

rvanstone commented 3 years ago

Device normal info

{ "active_time": 1625253430, "biz_type": 18, "category": "mc", "create_time": 1624117944, "icon": "smart/icon/ay1480002761059me2zH/1559133344ccaf0052666.png", "id": "08001146dc4f227185d5", "ip": "209.202.221.42", "lat": "44.2252022", "local_key": "0956c6b799c26b88", "lon": "-79.4482794", "name": "basement laundry door sensor", "online": true, "owner_id": "43644373", "product_id": "hjcqkommn1emlvu2", "product_name": "Geeni SS001 Smart Door and Window Sensor", "status": [], "sub": false, "time_zone": "-05:00", "uid": "az1624114523340EAw16", "update_time": 1626556597, "uuid": "08001146dc4f227185d5" }, { "active_time": 1625253967, "biz_type": 18, "category": "mc", "create_time": 1624061177, "icon": "smart/icon/ay1480002761059me2zH/1559133344ccaf0052666.png", "id": "08001146dc4f227110c5", "ip": "209.202.221.42", "lat": "44.2252022", "local_key": "c23334dc9ba945e4", "lon": "-79.4482794", "name": "Back garage door sensor", "online": true, "owner_id": "43644373", "product_id": "hjcqkommn1emlvu2", "product_name": "Geeni SS001 Smart Door and Window Sensor", "status": [], "sub": false, "time_zone": "-05:00", "uid": "az1624114523340EAw16", "update_time": 1626448662, "uuid": "08001146dc4f227110c5" },

rvanstone commented 3 years ago

Looks like this may be related to Pull request #75. https://github.com/tuya/tuya-home-assistant/pull/75

rvanstone commented 3 years ago

adding following: 2021-07-18 00:52:42 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/08001146dc4f227185d5/specifications, params = None, body = None, headers = {'client_id': 'ake7539yargh83jxb96m', 'sign': '233D93B69EFB50F9E1D6D24B479899AF48082F0EF66318BAF17BCC24B8BF0D8C', 'sign_method': 'HMAC-SHA256', 'access_token': 'ba4de53779195fd1ae1b5dcfcb97b5f1', 't': '1626583962491', 'lang': 'en'} 2021-07-18 00:52:42 DEBUG (SyncWorker_0) [tuya iot] Response: { "code": 2009, "msg": "not support this device", "success": false, "t": 1626583962564 } 2021-07-18 00:52:42 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/08001146dc4f227110c5/specifications, params = None, body = None, headers = {'client_id': 'ake7539yargh83jxb96m', 'sign': '4283FB96527EFF89419128ECA389E72822E7264C2086E3991E4DFE7F6A0220F1', 'sign_method': 'HMAC-SHA256', 'access_token': 'ba4de53779195fd1ae1b5dcfcb97b5f1', 't': '1626583962639', 'lang': 'en'} 2021-07-18 00:52:42 DEBUG (SyncWorker_0) [tuya iot] Response: { "code": 2009, "msg": "not support this device", "success": false, "t": 1626583962725

rvanstone commented 3 years ago

You changed the label to "standardize" - is there something I can do?