-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Suppert "_TZE204_e9ajs4ft" 24G radar human presence motion sensor. #6264
Conversation
… situation Repair: "detection_distance_max" The range of max should be 1.5-5.5 Repair: "detection_distance_min" The meaning of min should be target_distance
…man-converters # Conflicts: # src/lib/tuya.ts
src/devices/tuya.ts
Outdated
e.binary('light_switch', ea.STATE, "on", "off").withDescription( | ||
'This state will determine the light on/off based on the lighting threshold and presence sensing' | ||
), | ||
e.enum('light_linkage', ea.STATE_SET, ['disable', 'enable']).withDescription('linkage_light'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give some more context on what this option does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/devices/tuya.ts
Outdated
'This state will determine the light on/off based on the lighting threshold and presence sensing' | ||
), | ||
e.enum('light_linkage', ea.STATE_SET, ['disable', 'enable']).withDescription('linkage_light'), | ||
e.enum('detection_method', ea.STATE_SET, ['only move', 'exist move']).withDescription( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain only move
vs exist move
a bit better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the "detection_method" mode is set to "only move," it will only detect events when there is movement by a person. When there is no movement, the "presence" value is "false," similar to products like "PIR" (Passive Infrared) sensors.
src/devices/tuya.ts
Outdated
e.enum('light_linkage', ea.STATE_SET, ['disable', 'enable']).withDescription('linkage_light'), | ||
e.enum('detection_method', ea.STATE_SET, ['only move', 'exist move']).withDescription( | ||
'detection method'), | ||
e.enum('backlight_mode', ea.STATE_SET, ['open', 'close', 'lighting']).withDescription( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain the options better? (open/close/lighting)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"open": When someone is detected, the indicator light will pulse and flicker. It turns off when no one is present.
"close": The indicator light remains off for an extended period.
"lighting": The indicator light stays constantly on.
src/devices/tuya.ts
Outdated
'detection method'), | ||
e.enum('backlight_mode', ea.STATE_SET, ['open', 'close', 'lighting']).withDescription( | ||
'backlight mode'), | ||
e.binary('find_switch', ea.STATE_SET, "on", "off").withDescription( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the indicator light stay on or does it turn off automatically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When "find_switch" is set to "on", the indicator light will rapidly blink, making it easier for debugging personnel to locate the product's position.
Thanks! |
@yuanxin32323 how noisy this device is? Is it flooding lots of messages rapidly like some tuya mmwave sensors? |
Add: Suppert "_TZE204_e9ajs4ft" 24G radar human presence motion sensor.
![ABUIABAEGAAg0-fgnwYojcbQ3AUwiQQ4xgM!400x400](https://private-user-images.githubusercontent.com/17340200/273998249-b8fc10c0-9eb5-433f-ae4d-0b1ed4ba6b53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTcxNjAsIm5iZiI6MTczOTM1Njg2MCwicGF0aCI6Ii8xNzM0MDIwMC8yNzM5OTgyNDktYjhmYzEwYzAtOWViNS00MzNmLWFlNGQtMGIxZWQ0YmE2YjUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwNDEwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkNjBkYTNiODczNDE1ODEyNjg3NTAxOWRlMWUyZTYzNjRmYWVjYzgxMTI4YWM2Mzk2OTc5Y2VlZTY3YzA5MDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.UVgDtmPXb3VDAjAQiXyZz5duSBE255ht4PjjZFUlQvI)
I don't know how to submit device images yet, so I've included the device images in this PR