tuya/tuya-home-assistant

Kinetic switchs (unsupported)

Open

#813 aperta il 30 mag 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari) (206 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (960 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

This device connects through a RF gateway https://www.tlc-direct.co.uk/Products/QUGATE.html

Device normal info

Device info "result": { "active_time": 1653850048, "category": "kg", "category_name": "Switch", "create_time": 1653847637, "gateway_id": "XXXXXXXXXXXXXX", "icon": "smart/icon/ay14939862722938yOM2/1a7f0cd0010721dedb132ae634ef06ce.png", "id": "XXXXXXXXX", "ip": "", "lat": "XX.XXXX", "local_key": "XXXXXXXXXXXX", "lon": "X.XXXX", "model": "S2", "name": "Switch-S2 (2)", "node_id": "f155ffff", "online": true, "owner_id": "XXXXXXXXX", "product_id": "mprrshxyqbwikz1q", "product_name": "Double Keys Kinetic Switch ", "sub": true, "time_zone": "+01:00", "update_time": 1653850108, "uuid": "XXXXXXXXXXXXXX" }, "success": true, "t": XXXXXXXXXXX, "tid": "XXXXXXXXXXXXXXXXXXX" }

Get device status: { "code": 2003, "msg": "function not support", "success": false, "t": 1653910989348, "tid": "ad96457fe00d11ecaea64a08c3e1e6f8" }

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

Get specification attribute: { "code": 2009, "msg": "not support this device", "success": false, "t": 1653912189062, "tid": "78aad466e01011ec872f2aa367714e21" }

The switch is self powered (no battery) and acts as a button which only sends a single signal the instant is is depressed and possibly a second when released.

In the tuya app it can only be used in the if section when creating an automation. There is no status and no other associated information.

Guida contributor