Skip to content

pax_ble: Fix Calima clock and grouped writes#105

Open
Sean-StarLabs wants to merge 2 commits into
eriknn:mainfrom
Sean-StarLabs:sean/calima-clock-config
Open

pax_ble: Fix Calima clock and grouped writes#105
Sean-StarLabs wants to merge 2 commits into
eriknn:mainfrom
Sean-StarLabs:sean/calima-clock-config

Conversation

@Sean-StarLabs

Copy link
Copy Markdown
Contributor

What

  • Synchronise the Calima clock when it is wrong or stale.
  • Recheck it at a bounded interval and during configuration reads.
  • Refresh sibling settings before grouped BLE writes.
  • Avoid writing missing sibling values back to the fan.
  • Disconnect cleanly after write attempts.

Why

Calima loses its date and time after power loss, breaking weekday and weekend behaviour. Its grouped configuration commands also require current sibling values, otherwise a single setting change can overwrite unrelated settings.

Validation

  • python3 -m compileall -q custom_components/pax_ble
  • Live weekday schedule, clock, trickle, and grouped-write readback on both fans

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
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.

1 participant