Open EnzoD86 opened 1 month ago
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tuya documentation tuya source (message by IssueLinks)
I can confirm this. HA 2024.7.3
And on 2024.8.0
I added the detail of the device taken from Tuya IoT Platform
Hi, I did some investigating and this problem occurs because the manufacturer of the device did not use a standard instruction set. I noticed that the device category is "kg" which should be used for switches and not for an presence sensor. Furthermore, from the Tuya IOT platform I was unable to access the device's DP's because the "Get Device Specify" API gave me an error. After several attempts I changed the instruction set from Standard Instruction to DPI Instruction and in this way I was able to view the DP's of the device.
I managed to map my device to the tuya-local integration and it works perfectly.
I don't know if cases like these are handled by the official tuya integration. If necessary and if you intend to implement this device I can attach the DP's that I extracted. Otherwise you can close this issue.
Thank you
Hi, I did some investigating and this problem occurs because the manufacturer of the device did not use a standard instruction set. I noticed that the device category is "kg" which should be used for switches and not for an presence sensor. Furthermore, from the Tuya IOT platform I was unable to access the device's DP's because the "Get Device Specify" API gave me an error. After several attempts I changed the instruction set from Standard Instruction to DPI Instruction and in this way I was able to view the DP's of the device.
I managed to map my device to the tuya-local integration and it works perfectly.
I don't know if cases like these are handled by the official tuya integration. If necessary and if you intend to implement this device I can attach the DP's that I extracted. Otherwise you can close this issue.
Thank you
Ciao Enzo,
we bought the same device and i have the same issue, can you help me explaining me how to fix it? Thanks a lot! Ps: Sono italiano ma non so se è il caso di rispondere in italiano, magari può essere utile anche ad altri! Grazie!
Ciao Enzo,
we bought the same device and i have the same issue, can you help me explaining me how to fix it? Thanks a lot! Ps: Sono italiano ma non so se è il caso di rispondere in italiano, magari può essere utile anche ad altri! Grazie!
Ciao @Amirel91, we risk going off-topic!
Anyway, I opened a pull request on the tuya local project with the implementation of this device; in the next days/weeks it should be implemented and you should be able to configure it through that integration. I hope this will solve your problem!
Same issue here, it would be great if the official implementation supports it.
I was able to identify entities for this device following the instructions (up to step 5) from this guide.
However, when I ran the command mentioned in step 7, no devices were detected. Instead, I used the "Link App Account" option under the "Devices" tab, and by scanning the QR code from the Smart Life phone app which already had the presence sensor linked.
Afterwards, I installed Local Tuya via HACS and followed the instructions under the "Adding the Integration" section. Hope this helps.
I was able to identify entities for this device following the instructions (up to step 5) from this guide.
However, when I ran the command mentioned in step 7, no devices were detected. Instead, I used the "Link App Account" option under the "Devices" tab, and by scanning the QR code from the Smart Life phone app which already had the presence sensor linked.
Afterwards, I installed Local Tuya via HACS and followed the instructions under the "Adding the Integration" section. Hope this helps.
@srjit Is there a chance you could provide a tutorial or a more in depth on how exactly you managed to add it to HA? Thank you.
Certainly. Here you go.
Once correctly configured it should show up like this
Hello @srjit Thank you so much for getting back to me so quikly… much appreciated :) Well… I've done all of that but unfortunately I get no devices in the Integration entries.
I used this integration instead and it works fine:
https://github.com/make-all/tuya-local
It would still be nice if the official Tuya integration supports it though.
Thank you @Niek :) That worked like a charm.
The problem
I just bought this device, but it is not recognized by Home Assistant. There are no entities.
What version of Home Assistant Core has the issue?
core-2024.8.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
This is the detail of the device taken from tuya iot platform:
{ "result": { "active_time": 1723110396, "biz_type": 18, "category": "kg", "create_time": 1723110396, "icon": "smart/icon/ay1573546958261faWcj/a0501f989d70120d098023fbd9e6a658.png", "id": "bfb1d0ecbb75a14c63ijab", "ip": "***.***.***.***", "lat": "44.6", "local_key": "****************", "lon": "11.05", "model": "", "name": "Human Presence Sensor", "online": false, "owner_id": "55190972", "product_id": "wzp9yjsobanavsut", "product_name": "Human Presence Sensor", "status": [], "sub": false, "time_zone": "+02:00", "uid": "eu16500238564415oxW0", "update_time": 1723114169, "uuid": "189c7b0e1f86abf8" }, "success": true, "t": 1723153671440, "tid": "dc42142a55cf11ef8d1002b5f94b0719" }