Skip to content

v0.4.5

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Oct 17:39

Breaking changes

  • NodeInfo has a new field product_variant, so code that builds a NodeInfo itself needs to pass it (#168).
  • register() no longer returns whether the app was newly registered, and registers directly on every bridge. Registering a UUID that is registered already needs the right PIN (#170).
  • bridge_type and GatewayType are gone, also as an argument of Bridge() and ComfoConnect() and from the discovery results. The node of the bridge tells what it is with its product id (#170).

New

  • NodeInfo.product_variant (NODE property 0x03, e.g. 1 = Q350, 2 = Q450, 3 = Q600 on a ComfoAir Q), also shown by list-nodes (#168).
  • node_callback: called with a Node every time the bridge announces one, also when a node goes offline (#169).
  • Node.is_bridge, bridge_node and BRIDGE_PRODUCT_IDS: which node is the bridge itself (222 ComfoConnect Pro, 5 LAN C, 9 the WiFi module of a ComfoAir Flex) (#169).
  • PdoType.TYPE_CN_UINT64 and TYPE_CN_INT32 (#172).

Fixes

  • list-nodes and get_node_info crashed on the node of a ComfoConnect Pro. The node info is now read one property at a time, and a property that a node answers with an empty message counts as missing (None), like the model of a Pro (#171, #179).
  • register() no longer starts a session first, which a ComfoConnect Pro doesn't answer for an app that isn't registered (#170).
  • TYPE_CN_TIME and TYPE_CN_VERSION have the right type ids, 10 and 11 (#172).

Docs

  • The protocol docs describe sessions, registration, RPDO subscriptions, the framing, the connection limit, the discovery reply, the RMI error codes and timeout more precisely (#173–#178).

What's Changed

Full Changelog: v0.4.4...v0.4.5