Skip to content

[FEATURE]: disable legacy on-device schedules on Circle and Circle+ #516

Backlog

Description

@blb4github

Describe the solution you are looking for

Problem

Circles previously configured using Plugwise Source may retain autonomous weekly schedules, causing unexpected relay changes even when Home Assistant is the only intended controller.

In my installation, one Circle repeatedly switched off on Monday around 01:30 and switched on again on Tuesday around 13:30, with additional 30-minute interruptions on other days.

Home Assistant Recorder history showed no user or parent context for these state changes. Power measurements, Ethernet link monitoring and IP reachability independently corroborated the outages.

Requested feature

Please consider adding an explicit per-device operation to disable the internal schedule on Circle and Circle+ devices:

  • Disable the schedule without erasing it, resetting or re-pairing the device.

  • Preserve the current relay state.

  • Validate the protocol acknowledgement.

  • Expose the actual schedule-enabled state, if supported by the protocol.

  • Ideally, expose this functionality as a maintenance action in the Home Assistant integration.

Schedules should not be disabled automatically during discovery, as some users may still intentionally use them.

It would also be useful to clarify whether the existing relay lock affects autonomous on-device schedules.

Successfully tested workaround

Using SevenW/Plugwise-2-py, with the Home Assistant integration temporarily disabled, I successfully used:

PlugwiseEnableScheduleRequest(mac, False)

The relevant protocol messages are:

Message | Function -- | -- 0023 | Circle information request 0024 | Circle information response 0040 | Schedule enable/disable request 00C1 | Stick acknowledgement 00E5 | Circle acknowledgement: schedule disabled

Test results — 1 December 2026

  • 18 Circles and one Circle+ successfully acknowledged the disable operation.

  • All 19 devices returned acknowledgement 0x00E5.

  • 16 devices were verified ON before and after the batch operation.

  • Two devices were verified OFF before and after the batch operation.

  • The initial test device was ON before the operation and was subsequently confirmed ON.

  • Seven disconnected devices were left untouched.

  • No factory resets, re-pairing or schedule overwrites were required.

The workaround was successfully executed using Python 3.14.10, pyserial 3.5 and crcmod 1.7.

Long-term verification across the previously scheduled switching events is still pending.

Reference implementation

The required protocol functionality is already implemented in Plugwise-2-py:

  • Circle.schedule_off()

  • Circle.schedule_onoff(False)

  • PlugwiseEnableScheduleRequest

Would you consider adding this functionality to python-plugwise-usb?

It would provide a straightforward migration path for users with legacy Plugwise Source installations.

### Problem

Circles previously configured using Plugwise Source may retain autonomous weekly schedules, causing unexpected relay changes even when Home Assistant is the only intended controller.

In my installation, one Circle repeatedly switched off on Monday around 01:30 and switched on again on Tuesday around 13:30, with additional 30-minute interruptions on other days.

Home Assistant Recorder history showed no user or parent context for these state changes. Power measurements, Ethernet link monitoring and IP reachability independently corroborated the outages.

Requested feature

Please consider adding an explicit per-device operation to disable the internal schedule on Circle and Circle+ devices:

  • Disable the schedule without erasing it, resetting or re-pairing the device.
  • Preserve the current relay state.
  • Validate the protocol acknowledgement.
  • Expose the actual schedule-enabled state, if supported by the protocol.
  • Ideally, expose this functionality as a maintenance action in the Home Assistant integration.

Schedules should not be disabled automatically during discovery, as some users may still intentionally use them.

It would also be useful to clarify whether the existing relay lock affects autonomous on-device schedules.

Successfully tested workaround

Using [SevenW/Plugwise-2-py](https://github.com/SevenW/Plugwise-2-py/blob/master/plugwise/api.py), with the Home Assistant integration temporarily disabled, I successfully used:

PlugwiseEnableScheduleRequest(mac, False)

The relevant protocol messages are:

Message Function
0023 Circle information request
0024 Circle information response
0040 Schedule enable/disable request
00C1 Stick acknowledgement
00E5 Circle acknowledgement: schedule disabled

Test results — 1 December 2026

  • 18 Circles and one Circle+ successfully acknowledged the disable operation.
  • All 19 devices returned acknowledgement 0x00E5.
  • 16 devices were verified ON before and after the batch operation.
  • Two devices were verified OFF before and after the batch operation.
  • The initial test device was ON before the operation and was subsequently confirmed ON.
  • Seven disconnected devices were left untouched.
  • No factory resets, re-pairing or schedule overwrites were required.

The workaround was successfully executed using Python 3.14.10, pyserial 3.5 and crcmod 1.7.

Long-term verification across the previously scheduled switching events is still pending.

Reference implementation

The required protocol functionality is already implemented in Plugwise-2-py:

  • Circle.schedule_off()
  • Circle.schedule_onoff(False)
  • PlugwiseEnableScheduleRequest

Would you consider adding this functionality to python-plugwise-usb?

It would provide a straightforward migration path for users with legacy Plugwise Source installations.

Is your feature request related to a problem? (optional)

No response

Describe alternatives you've considered

As specified in the request above, I have managed to switch off the old schedules via https://github.com/SevenW/Plugwise-2-py/blob/master/plugwise/api.py

What type of installation are you running?

Home Assistant OS

How did you install python-plugwise-usb (or plugwise_usb) for short

HA using HACS

What firmware version is your Plugwise product at?

v0.59.4

Your setup

n.a.

Additional context

No response

Activity

  1. added
    enhancement
    on Dec 1, 2026
  2. bouwew commented on Dec 2, 2026

    @bouwew
    Contributor

    Hi @blb4github thanks for your feature request.

    Based on your info I understand the need for this feature.
    If you feel comfortable using an AI to generate the above feature-content, why not let your AI generate the code updates and put them in a Pull request?

  3. blb4github commented on Dec 2, 2026

    @blb4github
    ContributorAuthor

    As proposed:

    Both implementations have been validated through automated testing (54 library tests and 25 HA integration tests) and integrated physical testing on Circle and Circle+ devices.

    All 18 schedule-control commands in the final physical test were successfully acknowledged.

    The HA integration PR is in draft status pending acceptance and publication of the updated Python library on PyPI.

    The complete implementation, protocol findings, test results and known limitations are documented in the respective repositories.

    Both implementations are currently running on my own Home Assistant installation.

    Scherm­afbeelding 2026-12-02 om 16 04 24
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions