• v0.13.0 6199f65dd0

    v0.13.0
    All checks were successful
    Release / release (push) Successful in 4m16s
    Stable

    r3pek released this 2026-11-15 23:38:15 +00:00 | 0 commits to main since this release

    • Requests on one connection go one at a time: a lock per connection is
      held for the write of a request's fragments and the wait for its reply,
      and relayed requests take their gateway's lock. Concurrent callers could
      interleave fragments (neither request then got a reply) and load the
      mesh relay with several requests at once.
    • A device that stops answering fails fast: the one-at-a-time fallback of
      the batched reads stops at the first request that gets no reply, instead
      of waiting for a timeout per attribute. Relayed timeouts raise the new
      RequestTimeout (a TimeoutError, still an IOError).
    • The fail-soft getters (get_device_info(), the diagnostic getters,
      get_vectra_info() and the other all-or-none reads, ...) read their
      attributes in one batch instead of one request each, and an instance
      reads the supported attributes once.
    • Dose schedule points with zero padding after the 9-byte primitive are
      decoded; when an active point can't be decoded, the daily target and the
      volume expected so far are None instead of a too-low value
      (decode_dose_schedule()).
    • refill_container() raises the read error itself when the container size
      can't be read, instead of reporting an unknown size.
    • The 1-byte Get/Set-attribute encoders raise ValueError for an index,
      count or length above 255 instead of sending its low byte; insolation
      tables are read in chunks that follow what came back and stop at index
      255.
    • A relayed CoAP error reply without an inner frame is reported by its
      response code, not logged as a malformed reply.
    • start_scene() raises ValueError for a scene id or duration that isn't
      a 0-65535 integer, instead of struct.error.
    • A failed write no longer leaves its request pending, connect() starts
      with an empty receive buffer, and futures come from the running loop.
    • get_device_summary() of a dosing pump that reports no container level
      says so in its support note (and has "dose": None), instead of
      claiming no parser is implemented.
    • Dosing pumps (DoseV1, Versa): get_full_poll_batch() returns the
      container level and dosing state as FullPollResult.dose (DoseInfo),
      with the daily target and the volume expected so far from the dose
      schedule. The schedule is cached by its checksum like the others; the
      container size, monitor and sensor type are static attributes.
    • get_dose_info(), set_container_volume() (also resets the remaining
      volume, like the app) and refill_container().
    • mobius.dose: dose schedule points (DoseSchedulePoint, built on the
      same point header as the light and pump points) with their 9-byte
      DosePrimitiveValue, decoded and encoded; a dose schedule writer is not
      implemented yet.
    • Attribute reference: the dosing pump attributes and their enums.
    • set_battery_backup_speed(), set_boosted_battery(),
      set_schedule_intensity() and set_advanced_features() raise
      ValueError for a True/False numeric value instead of writing it
      as 1 or 0.
    • support_tier() reports dosing pumps as "dose" instead of
      "unsupported". Their schedule is read only: code that writes schedules
      must not treat "dose" like a pump (the CLI's schedule-file load now
      refuses anything but light and pump). get_device_summary() adds the
      dosing pump's DoseInfo as "dose" instead of the "no parser
      implemented" note.
    Downloads
  • v0.12.0 48feac761f

    v0.12.0
    All checks were successful
    Release / release (push) Successful in 2m32s
    Stable

    r3pek released this 2026-11-05 16:10:48 +00:00 | 8 commits to main since this release

    • Fixed get_attribute() keeping only the first block of a split reply
      (schedules, scenes and mesh peer lists could come back incomplete).
    • get_attribute_raw_all() is now get_attribute_blocks();
      get_attribute_raw() and get_attribute_all() are removed.
    • Unknown PrimitiveType and OperationState values decode to None instead
      of raising; find_device_by_serial() stops scanning once it's seen.
    • Removed the MobiusPump alias, wait_for_coap_response() and the unused
      which argument of get_lunar_enabled()/get_insolation_enabled().
    • Relay debugging uses debug logging (mobius.relay, mobius.device)
      instead of debug=True prints and the on_any_frame hook.
    • A MeshPeer can be built from a serial and address alone.
    • When batching fails, the same attributes are read one at a time and
      decoded the same way (no more double reads); an unreachable device raises.
    • get_current_light_intensities() uses the light poll's calculation;
      decoders of single-value attributes take one value.
    • get_full_poll_batch() works without primitive (it's read first) and
      for any device: only lights and pumps get their type-specific data.
    • The full poll includes Vectra settings and the main firmware version
      (main_firmware_version()).
    • mobius-scan --dump-diagnostics prints the diagnostic attributes.
    • Model ids read from a device are unsigned, as in advertisements (the
      development boards, 61441-61445, decoded as unknown).
    • Mesh peer lists are decoded by decode_networked_thread_devices() /
      decode_mesh_peer_arrays(), shared with mobius-scan; discover_tank()
      leaves out its own entry when its serial can't be read.
    • decode_device_info() takes the decoded PrimitiveType
      (decode_primitive_type()) instead of its raw bytes.
    • get_pump_telemetry() is one batched read (one at a time as a fallback),
      decoded like the full poll's (decode_pump_telemetry_from_batch()).
    • The poll no longer requests ErrorState twice.
    • get_device_summary() is the full poll plus one batch (it read each
      attribute separately, some twice); a pump's summary has no
      schedule_error. LightPollResult includes the acclimation ramp.
    • One attribute at a time, a schedule or scene list that can't be read no
      longer fails the whole poll.
    • Light channel ids that aren't a VisualID are kept in
      LightPrimitive.unknown_channels (they all became VisualID.Unknown, and
      were written back as channel 0).
    • decode_active_scene() accepts None; attribute dumps decode ErrorState
      as the device does (16-bit).
    Downloads
  • v0.11.0 c9cb2eb245

    v0.11.0
    All checks were successful
    Release / release (push) Successful in 2m29s
    Stable

    r3pek released this 2026-11-03 12:33:28 +00:00 | 24 commits to main since this release

    • Added firmware update checks (firmware.py): the images the app checks
      per model, the check URL and parsing of the cloud's replies and changelogs.
    Downloads
  • v0.10.3 dceb1a202c

    v0.10.3
    All checks were successful
    Release / release (push) Successful in 2m43s
    Stable

    r3pek released this 2026-10-11 16:25:59 +01:00 | 26 commits to main since this release

    • Frames that fail to parse or fail their CRC are logged at debug level.
    Downloads
  • v0.10.2 8a778b3b47

    v0.10.2
    All checks were successful
    Release / release (push) Successful in 5m55s
    Stable

    r3pek released this 2026-10-06 09:51:26 +01:00 | 28 commits to main since this release

    • Mesh peer discovery can raise its error (raise_errors=True) instead
      of returning an empty list on failure.
    Downloads
  • v0.10.1 b99960704c

    v0.10.1
    All checks were successful
    Release / release (push) Successful in 3m4s
    Stable

    r3pek released this 2026-09-30 18:03:15 +01:00 | 30 commits to main since this release

    • Fixed lights not being read through a gateway: the poll's reply was too
      large to be relayed. The schedule and scenes are now read in requests
      of their own, as the app does.
    Downloads
  • v0.10.0 4f78eb1e56

    v0.10.0
    All checks were successful
    Release / release (push) Successful in 3m22s
    Stable

    r3pek released this 2026-09-30 16:39:03 +01:00 | 32 commits to main since this release

    • Added set_time_zone(); the batched polls now include the device's time
      zone strings.
    • Relayed requests now accept a late response to the first attempt, as
      the app does.
    • Fixed an unreachable light returning an empty poll as a success.
    • Added configuration checksums (get_configuration_checksums(), CLI
      --check-checksums).
    • get_full_poll_batch(cache=...) reads scenes and schedules only when
      their checksum changed.
    • start_scene() now runs a scene for its configured length by default
      (a duration of 0 makes the device reuse its last scene length).
    • Fixed a scene briefly reporting about 18 hours remaining as it ends.
    • Added Bluetooth-only device support (Blades, MXM): is_bluetooth_only()
      and find_bluetooth_only_tank_members(). The CLI connects to them
      directly and includes them in schedule group writes.
    • Writes use the negotiated MTU instead of 20-byte fragments, as the app
      does (fewer writes per request).
    • The pump's operation state is now part of the batched poll.
    • ConfigurationCache(static_refresh_interval=...) reads rarely-changing
      attributes (identity, firmware, settings) only at that interval.
    Downloads
  • v0.9.0 3598d846a3

    v0.9.0
    All checks were successful
    Release / release (push) Successful in 3m32s
    Stable

    r3pek released this 2026-09-24 12:26:04 +01:00 | 46 commits to main since this release

    • Breaking: RelayedMobiusDevice writes now raise an error when the
      device rejects them, like direct writes already did.
    • Added helpers shared with ha-mobius: enum_or_none(),
      primitive_type_from_name(), support_tier(), parse_advertisement(),
      schedule_capacity()/min_schedule_capacity(), format_mesh_address(),
      pump_params_to_dict(), Scene.is_empty and PUMP_PRIMITIVES.
    • Added pump battery settings: set_battery_backup_speed() (limited to the
      pump's battery backup max speed) and set_boosted_battery() (only while
      running on battery), with the --set-battery-backup-speed and
      --set-boosted-battery-* options.
    • Added get_operation_mode() and the OperationMode enum; pump telemetry
      now includes operation_mode ("BatteryBackup" while running on
      battery).
    • get_full_poll_batch() now includes the battery settings
      (battery_backup, boosted_battery) and the operation mode.
    • The boosted battery power is permille (0-100 %) and its on/off times are
      seconds.
    • mobius-scan: the debug mesh listing now shows peer age as unsigned, like
      the library.
    • Breaking: fixed the running scene's remaining time: it's now read from
      SceneTimer, so it counts down, and ActiveScene.timeout_seconds holds
      the scene's total time. get_current_scene() returns None when no scene
      is running.
    • Starting a scene, returning to the schedule and restarting all devices now
      use the tank's group, like the app (get_tank_group(), tank_group()).
      Breaking: resume_schedule() now ends the scene on every device of
      the tank with one write (broadcast=False for one device only).
    • Breaking: set_pump_schedule() now rejects parameters outside the
      ranges the app allows (for example a Short Pulse time of 0), before
      writing. Added pump_param_range() and pump_param_errors().
    • Internal cleanup: removed duplicated code and simplified comments.
    Downloads
  • v0.8.4 1a5d9eda56

    v0.8.4
    All checks were successful
    Release / release (push) Successful in 3m49s
    Stable

    r3pek released this 2026-09-17 13:42:32 +01:00 | 55 commits to main since this release

    • Added LightPollResult.lunar_enabled/lunar_phase_day: the device's
      own actual LunarPhasesEnabled setting and current lunar-cycle phase,
      correct at any time of day. Not the same as
      intensities.diagnostics's own lunar_enabled/lunar_date keys,
      which are only meaningful at night.
    Downloads
  • v0.8.3 3361af8739

    v0.8.3
    All checks were successful
    Release / release (push) Successful in 2m51s
    Stable

    r3pek released this 2026-09-17 08:41:05 +01:00 | 58 commits to main since this release

    • Added set_lunar_enabled(enabled). Confirmed byte-for-byte against
      the app's own compiled bytecode: exactly what its "Lunar" chip (top
      of the light schedule editor) writes when toggled.
    Downloads