Skip to content

IOT Countdown module queries 'countdown'; KP115(UK) fw 1.0.20 serves 'count_down' #1871

Backlog

Description

@jasonmx

Summary

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 full probe, with the exact requests and replies, is here (commit-pinned): https://github.com/DeviceSide/DeviceSide/blob/24a6dea070f0cfd2644836d7081097ca946f615c/docs/research/2026-11-28-tplink-kp115-probe.md

Not probed

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions