-
-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
The PIR motion sensor module in the KS200M (and probably in the KS220M as well) can have its inactivity timeout changed. My KS200M came from the factory preset to 60 seconds, but the timeout is configurable. You might want to add support for this to your library.
{"smartlife.iot.PIR":{"set_cold_time":{"cold_time":60000}}}
{"smartlife.iot.PIR":{"set_cold_time":{"err_code":0}}}
60 seconds appears to be the maximum. The switch will accept larger values and will return them from EDIT: This was happening because the switch comes preconfigured with a Smart Control rule that changes the cold time to 60 seconds. After I deleted that rule, my adjustment to the cold time sticks.get_config for a while but eventually will revert back to 60 seconds.
Metadata
Metadata
Assignees
Labels
No labels