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
875 stars 206 forks source link

Genio Motion Sensor #60

Open sambarlick opened 3 years ago

sambarlick commented 3 years ago

Device normal info

Device info (please complete the following information, which can be found in log): like this: { "active_time": 1618200599, "biz_type": 18, "category": "qt", "create_time": 1604996812, "icon": "smart/icon/1531813512w71nvvv9wkm_0.jpg", "id": "21146343500291c0ee43", "ip": "xxxxxxxxxxxxxxxx", "lat": "30.30286857361191", "local_key": "c17a130a2f325610", "lon": "120.0639743842656", "model": "", "name": "Genio Motion Sensor", "online": true, "owner_id": "12386163", "product_id": "p0y7ucexietpcqlq", "product_name": "Genio Motion Sensort", "status": [] "sub": false, "time_zone": "+10:00", "uid": "eu1589623177329OFGIL", "update_time": 1624346663, "uuid": "21146343500291c0ee43" }, "success": true, "t": 1625395317220 }

No Home Assistant Log as the device didn't come across to Home Assistant. I can give more info from Tuya API explorer if needed.

tsutsuku commented 3 years ago

@sambarlick The device id p0y7ucexietpcqlq is standardized now, try again.

sambarlick commented 3 years ago

@sambarlick The device id p0y7ucexietpcqlq is standardized now, try again.

Thank you.

The device is now in Home assistant but similarly with the Door/Window Sensor in my other thread, the status isn't being updated and the tamper alarm didn't come through.

tsutsuku commented 3 years ago

@sambarlick look this https://github.com/tuya/tuya-home-assistant/issues/63#issuecomment-874537514

sambarlick commented 3 years ago

@tsutsuku I set up the notifications API as stated in the other thread, but the motion sensor state is still not updating. The door/window sensor is working.

sambarlick commented 3 years ago

I'm still not getting the motion state updating, only the battery state. I re-paired my sensor changed batteries and even ran it on usb power, still nothing. This is obviously not using the notification service that the door/window sensor uses.