Skip to content

TuyaMCU integration for ZY-ZHPS01 mmWave Presence Sensor 5.8GHz #22614

Answered by f-io
f-io asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I've now found the messages, whoever stumbles across the same problem:

17:30:59.417 DMP: 55 AA 03 22 00 05 65 04 00 01 00 93
17:30:59.419 {"TuyaReceived":{"Data":"55AA03220005650400010093","Cmnd":34,"CmndData":"6504000100"}}
17:30:59.429 TYA: RX unknown command

= presence
17:31:14.567 DMP: 55 AA 03 22 00 05 65 04 00 01 01 94
17:31:14.569 {"TuyaReceived":{"Data":"55AA03220005650400010194","Cmnd":34,"CmndData":"6504000101"}}
17:31:14.578 TYA: RX unknown command

= !presence
RuleX on tuyareceived#Data=55AA03220005650400010093 do publish %topic%/presence 1 endon 
      on tuyareceived#Data=55AA03220005650400010194 do publish %topic%/presence 0 endon

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by f-io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant