-
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(aTimeoutError, still anIOError). - 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 areNoneinstead 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
ValueErrorfor 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()raisesValueErrorfor a scene id or duration that isn't
a 0-65535 integer, instead ofstruct.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 asFullPollResult.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) andrefill_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()andset_advanced_features()raise
ValueErrorfor aTrue/Falsenumeric 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'sDoseInfoas"dose"instead of the "no parser
implemented" note.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Requests on one connection go one at a time: a lock per connection is
-
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 nowget_attribute_blocks();
get_attribute_raw()andget_attribute_all()are removed.- Unknown PrimitiveType and OperationState values decode to
Noneinstead
of raising;find_device_by_serial()stops scanning once it's seen. - Removed the
MobiusPumpalias,wait_for_coap_response()and the unused
whichargument ofget_lunar_enabled()/get_insolation_enabled(). - Relay debugging uses debug logging (
mobius.relay,mobius.device)
instead ofdebug=Trueprints and theon_any_framehook. - A
MeshPeercan 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 withoutprimitive(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-diagnosticsprints 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 withmobius-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.LightPollResultincludes 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
VisualIDare kept in
LightPrimitive.unknown_channels(they all becameVisualID.Unknown, and
were written back as channel 0). decode_active_scene()acceptsNone; attribute dumps decode ErrorState
as the device does (16-bit).
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
5 downloads
- Fixed
-
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
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
5 downloads
- Added firmware update checks (
-
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
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
5 downloads
-
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
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
4 downloads
- Mesh peer discovery can raise its error (
-
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
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
6 downloads
- Fixed lights not being read through a gateway: the poll's reply was too
-
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()
andfind_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
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
7 downloads
- Added
-
released this
2026-09-24 12:26:04 +01:00 | 46 commits to main since this release- Breaking:
RelayedMobiusDevicewrites 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_emptyandPUMP_PRIMITIVES. - Added pump battery settings:
set_battery_backup_speed()(limited to the
pump's battery backup max speed) andset_boosted_battery()(only while
running on battery), with the--set-battery-backup-speedand
--set-boosted-battery-*options. - Added
get_operation_mode()and theOperationModeenum; pump telemetry
now includesoperation_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, andActiveScene.timeout_secondsholds
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=Falsefor 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. Addedpump_param_range()andpump_param_errors(). - Internal cleanup: removed duplicated code and simplified comments.
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
7 downloads
- Breaking:
-
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 ownlunar_enabled/lunar_datekeys,
which are only meaningful at night.
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
6 downloads
- Added
-
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
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
6 downloads
- Added