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
The IOT Countdown module queries the countdown namespace. A KP115(UK) on firmware 1.0.20 answers that namespace with {"err_code": -1, "err_msg": "module not support"} and serves the countdown rules under count_down instead. So the module can never work on this plug, whichever way #1611 (exposing it) is resolved.
Evidence
Device: KP115(UK), hardware 1.0, firmware 1.0.20 Build 221125 Rel.092759, local protocol on port 9999.
{"count_down": {"get_rules": {}}} answers with the rules: {id, name, enable, delay, act, remain}, with remain in whole seconds.
{"countdown": {"get_rules": {}}} answers {"err_code": -1, "err_msg": "module not support"}.
add_rule, delete_all_rules and a remain read all work under count_down. Delays of 1 s to 86400 s are accepted, and a 1 s rule fires on the device.
The module is registered for other IOT devices too (strips, bulbs). I only had the KP115, so I can't say whether they use count_down or countdown. Someone with an HS300 or a KL-series bulb could run the same two requests to find out.
Related: #1611 (exposing the Countdown module), discussion #284 (the count_down raw command).
Activity