Skip to content

Releases: XKNX/xknx

Bugfix release

22 Sep 22:27
Compare
Choose a tag to compare

Devices

  • Climate: Don't set standby operation mode if telegram was not processed by any RemoteValue
  • Cover: Allow covers to be inverted again
  • All devices: Correctly process outgoing telegrams in our own devices

Bugfix release

21 Sep 20:49
Compare
Choose a tag to compare

Internals

  • Make connection errors less noisy in the logs.

Bugfix release

20 Sep 18:49
Compare
Choose a tag to compare

Bugfixes

  • Correctly reset the counter of the binary_sensor after a trigger.

Bugfix release

20 Sep 13:57
Compare
Choose a tag to compare

Bugfixes

  • Use correct DPT 9.006 for the air pressure attribute of weather devices (#406)
  • Reset binary sensor counters after the context has been timed out in order to be able to use state change events within HA
  • Code cleanups

New sensor types and refactoring of binary sensor automations

16 Sep 08:48
Compare
Choose a tag to compare

Breaking changes

  • Binary sensor automations within the home assistant integration have been refactored to use the HA built in events as automation source instead of having the automation schema directly attached to the sensors. (Migration Guide: https://xknx.io/migration_ha_0116.html)

New Features

  • Add support for new sensor types DPT 12.1200 (DPT_VolumeLiquid_Litre) and DPT 12.1201 (DPTVolumeM3).
  • Weather devices now have an additional brightness_north GA to measure the brightness. Additionally, all sensor values are now part of the HA device state attributes for a given weather device.

Bugfixes

  • Fix hourly broadcasting of localtime

Internals

  • Allow to pass GroupAddress and PhysicalAddress objects to wherever an address is acceptable.
  • Stop heartbeat and reconnect tasks before disconnecting

New weather device, bugfixes for HA integration & configuration tweaks

30 Aug 11:21
Compare
Choose a tag to compare

New Features

  • Adds support for a weather station via a dedicated weather device
  • Support for configuring the previously hard-coded multicast address (@jochembroekhoff #312)

Internals

  • GatewayScanner: Passing None or an integer <= 0 to the stop_on_found parameter now causes the scanner to only stop once the timeout is reached (@jochembroekhoff #311)
  • Devices are now added automatically to the xknx.devices list after initialization
  • Device.sync() method now again has a wait_for_result parameter that allows the user to wait for the telegrams
  • The default timeout of the ValueReader has been extended from 1 second to 2 seconds

Bugfixes

  • Device: Fixes a bug (#339) introduced in 0.12.0 so that it is again possible to have multiple devices with the same name in the HA integration
  • Documentation fixes (@spacegaier #344)

Deprecation notes

  • Python 3.5 is no longer supported

Thanks to everyone who contributed to this release!

New StateUpdater, improvements to the HA integrations and bug fixes

14 Aug 17:38
093daf7
Compare
Choose a tag to compare

Breaking changes

  • Climate: setpoint_shift_step renamed for temperature_step. This attribute can be applied to all temperature modes. Default is 0.1
  • Removed significant_bit attribute in BinarySensor
  • DateTime devices are initialized with sting for broadcast_type: "time", "date" or "datetime" instead of an Enum value
  • Removed bind_to_multicast option in ConnectionConfig and UDPClient

New Features

  • Cover: add optional group_address_stop for manual stopping
  • Cover: start travel calculator when up/down telegram from bus is received
  • HA integration: knx.send service takes type attribute to allow sending DPT encoded values like sensor
  • HA integration: sensor and expose accept int and float values for type (parsed as DPT numbers)
  • new StateUpdater: Devices sync_state can be set to init to just initialize state on startup, expire [minutes] to read the state from the KNX bus when it was not updated for [minutes] or every [minutes] to update it regularly every [minutes]
  • Sensor and ExposeSensor now also accepts value_type of int (generic DPT) or float (specific DPT) if implemented.
  • Added config option ignore_internal_state in binary sensors (@andreasnanko #267)
  • Add support for 2byte float type (DPT 9.002) to climate shiftpoint
  • ClimateMode: add group_address_operation_mode_standby as binary operation mode
  • ClimateMode: add group_address_heat_cool and `group_address_heat_cool_state for switching heating mode / cooling mode with DPT1

Bugfixes

  • Tunneling: don't process incoming L_Data.con confirmation frames. This avoids processing every outgoing telegram twice.
  • enable multicast on macOS and fix a bug where unknown cemi frames raise a TypeError on routing connections
  • BinarySensor: reset_after is now implemented as asyncio.Task to prevent blocking the loop
  • ClimateMode: binary climate modes should be fully functional now (sending, receiving and syncing)
  • Cover: position update from bus does update current position, but not target position (when moving)

Internals

  • Cover travelcalculator doesn't start from 0% but is initialized by first movement or status telegram
  • Cover uses 0% for open cover and 100% for closed cover now
  • DPT classes can now be searched via value_type string or dpt number from any parent class (DPTBase for all) to be used in Sensor
  • Use RemoteValue class in BinarySensor, DateTime and ClimateMode device
  • use time.struct_time for internal time and date representation
  • use a regular Bool type for BinarySensor state representation
  • RemoteValue.process has always_callback attribute to run the callbacks on every process even if the payload didn't change
  • Separate incoming and outgoing telegram queues; apply rate limit only for outgoing telegrams
  • Automatically publish packages to pypi (@Julius2342 #277)
  • keep xknx version in xknx/__version__.py (@farmio #278)
  • add raw_socket logger (@farmio #299)

Special thanks to everyone who contributed to this release!

Sensor types galore!

28 Apr 19:36
Compare
Choose a tag to compare

New Features

  • added a lot of DPTs now useable as sensor type (@eXtenZy #255)

Bugfixes

Internals

  • some code cleanup (dpt, telegram and remote_value module) (@farmio #232)
  • refactor Notification device (@farmio #245)

Add invert for climate on_off; fixed RGBW lights and stability improvements

29 Sep 18:24
Compare
Choose a tag to compare

New Features

Bugfixes

  • Light: Fix for wrong structure of RGBW DPT 251.600 #231 (@dstrigl)
  • Core: Correct handling of E_NO_MORE_CONNECTIONS within ConnectResponses #217 (@Julius2342)
  • Core: Fix exceptions #234 (@elupus)
  • Core: Avoid leaking ValueError exception on unknown APCI command #235 (@elupus)
  • add tests for Climate on_off_invert (#233) (@farmio)
  • merge HA plugin from upstream 0.97.2 (#224) (@farmio)
  • Small adjustments to the sensor documentation and example (#219) (@biggestj)
  • merge HA plugin from upstream (@farmio)

Bugfix release

08 Jul 07:11
Compare
Choose a tag to compare

Optionally disable reading (GroupValueRead) for sensor and binary_sensor #216 @farmio