Skip to content
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

Merged
merged 12 commits into from
Oct 12, 2023
Merged

Add: Suppert "_TZE204_e9ajs4ft" 24G radar human presence motion sensor. #6264

merged 12 commits into from
Oct 12, 2023

Conversation

yuanxin32323
Copy link
Contributor

Add: Suppert "_TZE204_e9ajs4ft" 24G radar human presence motion sensor.
I don't know how to submit device images yet, so I've included the device images in this PR
ABUIABAEGAAg0-fgnwYojcbQ3AUwiQQ4xgM!400x400

src/devices/tuya.ts Outdated Show resolved Hide resolved
src/devices/tuya.ts Outdated Show resolved Hide resolved
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'),
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

58ea0949bee8eca494809d9c1e726d6
bf2b4af5bb3904d15e0e4562875c285

'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(
Copy link
Owner

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?

Copy link
Contributor Author

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.

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(
Copy link
Owner

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)

Copy link
Contributor Author

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.

'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(
Copy link
Owner

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?

Copy link
Contributor Author

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.

@Koenkk Koenkk merged commit 18f68d6 into Koenkk:master Oct 12, 2023
@Koenkk
Copy link
Owner

Koenkk commented Oct 12, 2023

Thanks!

@quenthal
Copy link

@yuanxin32323 how noisy this device is? Is it flooding lots of messages rapidly like some tuya mmwave sensors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants