Page 1 of 1
TUYA PIR Devices
Posted: Friday 03 June 2022 12:03
by robgeerts
I have a few wifi doorsensors, and a few zigbee door sensors.
All connected in my TUYA app.
I cant see them in my Domoticz.
I found topics of few years ago that it doesnt work, but does anyone have an idea if it should work by now?
Re: TUYA PIR Devices
Posted: Friday 03 June 2022 15:45
by plugge
does anyone have an idea if it should work by now?
To my knowledge, only switches work (lights and powerplugs), not sensors.
You could try IFTTT
https://www.domoticz.com/wiki/IFTTT_int ... h_Domoticz
HTH
Re: TUYA PIR Devices
Posted: Saturday 04 June 2022 11:13
by robgeerts
Thanks, i tried but unfortunately the sensors i have are both not supported in, I guess they use the same api as domoticz....

Re: TUYA PIR Devices
Posted: Saturday 04 June 2022 14:09
by plugge
@robgeerts
I use a workaround.
If you have a spare smart plug (or smart light bulb), you can tie that to a sensor with a rule in your app.
The smart plug is registered in Domoticz, and then you have an (indirect) sensor in Domoticz.
Re: TUYA PIR Devices
Posted: Saturday 04 June 2022 20:23
by robgeerts
Yeah i was thinking about that too. Thanks will try!
Re: TUYA PIR Devices
Posted: Tuesday 07 June 2022 19:56
by robgeerts
Well, it does turn on/off the extra switch I added in TUYA and I also added that switch in Domoticz but somehow this (status)change is not detected by Domoticz

Re: TUYA PIR Devices
Posted: Tuesday 07 June 2022 20:19
by plugge
Which plug-in do you use?
I use the second (tuyaha) in combination with the Smart Life app
Re: TUYA PIR Devices
Posted: Tuesday 07 June 2022 22:32
by robgeerts
plugge wrote: ↑Tuesday 07 June 2022 20:19
Which plug-in do you use?
I use the second (tuyaha) in combination with the Smart Life app
Well, the first one is based on the second one, just with some additions, so i dont think there is a big difference?
To be clear, i dont see any status change in DomoticZ of any device i turn on/off in the tuya app.
Re: TUYA PIR Devices
Posted: Tuesday 07 June 2022 22:43
by plugge
robgeerts wrote: ↑Tuesday 07 June 2022 22:32
Well, the first one is based on the second one, just with some additions, so i dont think there is a big difference?
It shouldn't make a difference, I agree.
To be clear, i dont see any status change in DomoticZ of any device i turn on/off in the tuya app.
But there must be a difference somewhere. I have 11 tuya devices (bulbs and powerplugs), and all change on status changes (some react on rules in Smart Life) and dzVents reacts perfectly on device status changes.
[Edit]
Possible idea:
You should not add the devices yourself, the tuya plugindoes that for you.
Make sure new devices are allowed, restart Domoticz check the devices Setup tab->devices.
Re: TUYA PIR Devices
Posted: Wednesday 08 June 2022 8:56
by robgeerts
plugge wrote: ↑Tuesday 07 June 2022 22:43
robgeerts wrote: ↑Tuesday 07 June 2022 22:32
Well, the first one is based on the second one, just with some additions, so i dont think there is a big difference?
It shouldn't make a difference, I agree.
To be clear, i dont see any status change in DomoticZ of any device i turn on/off in the tuya app.
But there must be a difference somewhere. I have 11 tuya devices (bulbs and powerplugs), and all change on status changes (some react on rules in Smart Life) and dzVents reacts perfectly on device status changes.
[Edit]
Possible idea:
You should not add the devices yourself, the tuya plugindoes that for you.
Make sure new devices are allowed, restart Domoticz check the devices Setup tab->devices.
All new bulbs/switches i add in Tuya are seen in Domoticz, so no problem there.
This topic is about this too:
viewtopic.php?t=38644
The original question in this topic is answered so can be closed.