You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is a bug, but a feature request (or info on how to accomplish it). I have a Tuya TS0225_LINPTECH 24Ghz Human Presence Detector and it normally works great, except for when the window is open, as then it fails to turn off the lights because the blinds move a tab. I want to create an automation for when I put a window sensor in that works in tandem with the door sensor so that the lights turn off after the door is open for a period of time when the window is open.
However, I also need to clear the presence sensor's motion state so that it doesn't read "active" anymore.
The driver that I'm using allows for me to set the motion status in Hubitat. On the Hubitat forums, someone suggested that via Hubitat I could create an automation that runs the command setMotion('clear') on the device; but when I try to send that command via Home Assistant, I get the error, "Failed to perform the action hubitat.send_command. Unknown error".
Below is the JSON of the device and I was curious if it would be possible to create a switch for the device that would essentially toggle on/off the device's motion state, and then could be used in an automation in Home Assistant.
Would that be possible/feasible? If so, I'd greatly appreciate it. If you need more information, please let me know!
If you enable debug logging for the integration and try sending the setMotion command, do you see any more specific errors in the logs? I'm wondering if maybe the integration is mishandling the command argument.
I don't think this is a bug, but a feature request (or info on how to accomplish it). I have a Tuya TS0225_LINPTECH 24Ghz Human Presence Detector and it normally works great, except for when the window is open, as then it fails to turn off the lights because the blinds move a tab. I want to create an automation for when I put a window sensor in that works in tandem with the door sensor so that the lights turn off after the door is open for a period of time when the window is open.
However, I also need to clear the presence sensor's motion state so that it doesn't read "active" anymore.
The driver that I'm using allows for me to set the motion status in Hubitat. On the Hubitat forums, someone suggested that via Hubitat I could create an automation that runs the command setMotion('clear') on the device; but when I try to send that command via Home Assistant, I get the error, "Failed to perform the action hubitat.send_command. Unknown error".
Below is the JSON of the device and I was curious if it would be possible to create a switch for the device that would essentially toggle on/off the device's motion state, and then could be used in an automation in Home Assistant.
Would that be possible/feasible? If so, I'd greatly appreciate it. If you need more information, please let me know!
Thanks,
AJ
The text was updated successfully, but these errors were encountered: