Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Releases: bdraco/aiosenseme

v0.6.1

20 Jan 07:10
Compare
Choose a tag to compare

What's Changed

  • Remove duplicate gha by @bdraco in #19
  • Fix logic reversal in is_sec_info_complete by @bdraco in #21
  • Fix parser when there are escaped ()s in the payload by @bdraco in #22
  • Ensure device is not duplicated when ip changes by @bdraco in #23

Full Changelog: v0.6.0...v0.6.1

v0.6.0

13 Jan 21:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.5...v0.6.0

v0.5.5

27 Mar 19:19
Compare
Choose a tag to compare
  • Improve startup time when initially connecting to device.

Release v0.5.4

05 Mar 14:24
Compare
Choose a tag to compare
  • Fix error caused by adding timeout in v0.5.3.

Release v0.5.3

05 Mar 13:48
ab6cf8f
Compare
Choose a tag to compare
  • Added timeout in listener task to better detect when fans are offline.

Release v0.5.2

28 Feb 13:22
Compare
Choose a tag to compare
  • Fix partial status message from device causing listener task to exit from an unhandled exception. Once this happened the device would be deaf to status updates.

Release v0.5.1

27 Feb 00:21
Compare
Choose a tag to compare
  • Determine a callback type (coroutine or function) only when adding the callback. The reduces overhead in callbacks.
  • Callbacks are stopped when the device is waiting for the first update and can only occur when a parameter has changed. Callback frequency has been significantly reduced.
  • Thanks go to bdraco for help in making these changes.

Release v0.5.0

22 Feb 00:28
f39067e
Compare
Choose a tag to compare
  • Devices can now be added with an IP address instead of being discovered. Some network configurations will not allow UDP Discovery packets through but a direct TCP connection will work.
  • Add support for locating a fan by IP address in the command line.
  • Added additional error checking on Discovery listener sockets.
  • Changed the reconnect logic slightly. SensemeDevice will now force an update of all parameters when reconnected.
  • API breaking changes.
    • In the SensemeDevice constructor the 'id' parameter changed to 'mac, 'ip' is now 'address', and 'model' is now 'base_model'.
    • SensemeFan.fan_whoosh property is now SensemeFan.fan_whoosh_mode.
    • SensemeDevice.id property has been removed. Use SensemeDevice.mac property instead.
    • SensemeDevice.motion_sensor property changed to SensemeDevice.motion_detected.
  • API additions
    • SensemeDevice.get_device_info property returns a dictionary with key SenseME device information.
    • SensemeDevice constructor now has an 'info' parameter. You can use the dict obtained from SensemeDevice.get_device_info property.
    • SensemeDevice.available property indicates when the device is connected and the first parameter update is complete.
    • SensemeDevice.mac property gets the MAC address of the device.
    • SensemeDevice.uuid property gets the Network Token (UUID) obtained from the device.
    • SensemeDevice.base_model property gets the model of the device as returned by the device. SensemeDevice.model property gets the prettier formatted model name.
    • SensemeDiscovery.add_by_device_info(info) allows you to add a device by info dict obtained by SensemeDevice.get_device_info. It will be added to the discovery device list just like it was discovered. This works for both fans and lights.
    • SensemeDiscovery.add_by_ip_address(address) allows you to add a device by IP address. It will be added to the discovery device list just like it was discovered. This works for both fans and lights.
    • aiosenseme.async_get_device_by_device_info(info) connects to and returns a device using and info dict obtained by SensemeDevice.get_device_info. This method returns an appropriate SensemeFan or SensemeLight object.
    • aiosenseme.async_get_device_by_ip_address(address) connects to a device via the specified IP address, determines key information and returns an appropriate SensemeFan or SensemeLight object.
    • SensemeFan.sleep_mode property sets/gets the current sleep mode in the device.
    • SensemeFan.fan_speed_limits property. Gets a Tuple of both fan speed minimum and fan speed maximum.
  • Command line changes
    • Added -i/--ip option to connect to fans directly without using discovery.
    • Added -j/--json option to output fan information and state as json.
    • -n/--name no longer matches on room name also.

Release v0.4.5

11 Oct 13:48
Compare
Choose a tag to compare
  • Fix error when cancelling the listener task of a device when stop() is called. Thanks to briantho for bringing this to my attention.

Release v0.4.4

20 Sep 21:25
Compare
Choose a tag to compare
  • Fix protocol error on Windows and Python 3.7.8 and above. This error prevented discovery of any SenseME devices.