-
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