Skip to content

Latest commit

 

History

History
140 lines (109 loc) · 4.67 KB

CHANGELOG.md

File metadata and controls

140 lines (109 loc) · 4.67 KB

Changelog

[Unreleased]

[2.3.1] - 2024-03-10

  • ADD: Bluez as option to RUUVI_BLE_ADAPTER environment variable
  • FIX: Add missing RSSI value to Bleson adapter payload
  • FIX: Pass Bluetooth device info to BleakScanner class

[2.3.0] - 2023-09-23

  • FIX: Verify BLE adapter type before method execution
  • ADD: Support for Windows and macOS out of the box

[2.2.0] - 2023-09-11

  • ADD: (Beta) Async support to RuuviTagReactive
  • FIX: (Beta) Use passive scanning on macOS with Bleak
  • ADD: (Beta) Async version to RuuviTag-class
  • ADD: (Beta) Async get_data_for_sensors_async method
  • ADD: (Beta) Async support for CLI

[2.1.0] - 2023-02-18

  • CHANGE: Add RSSI reporting
  • ADD: (Beta) Bleak cross-platform BLE adapter with async get_data_async and find_ruuvitags_async methods
  • CHANGE: RuuviTagSensor methods return empty string instead of None if MAC is not found
  • ADD: Type hints to package

[2.0.0] - 2022-08-03

  • CHANGE: Support only Python 3.7 and above
  • CHANGE: RuuviTagSensor get_datas-method renamed to get_data
  • CHANGE: RuuviTagSensor get_data-method renamed to get_first_raw_data
  • CHANGE: Updated RxPy to v4
  • CHANGE: Switch unit test framework from nose to pytest

[1.2.1] - 2022-05-23

  • FIX: Handle too shot BLE data from RuuviTag as valida data
  • CHANGE: Add wheel to setup requirements
  • FIX: BlueZ - Do not use sudo if sudo not available or if already superuser
  • CHANGE: BlueZ - Use passive mode when scanning for Bluetooth devices

[1.2.0] - 2021-04-29

  • FIX: Bleson return correct data if get_data returns before desired mac is seen
  • ADD: Enable debug logging from CLI
  • CHANGE: Use struct to decode data instead of manual bitshift and rework parsing
  • FIX: RuuviTag 3.x support
  • ADD: Test adapter for emulating HCI communication from a file

[1.1.0] - 2020-04-25

  • ADD: Bleson BLE adapter
  • CHANGE: Use MAC from payload for white/blacklist if MAC not in advertised data
  • FIX: DEVNULL initialization when using Python 2

[1.0.1] - 2020-03-21

  • FIX: Missing module from released package

[1.0.0] - 2020-03-21

  • FIX: Usage of bt_device parameter when opening the BLE connection
  • CHANGE: Refactor adapters into own modules
  • FIX: Blacklisting of non Ruuvitag devices
  • FIX: Pin rx version to 1.x for Python 2 support
  • FIX: RuuviTag-object

[0.13.0] - 2019-07-01

  • Fix hcitool subprocess closing
  • Fix data format selection
  • Move broadcasted raw data handling to an own file
  • Remove obsolete handling for r/ in Data Format 2/4 validate
  • Add retry and exit program if hciconf reset fails

[0.12.0] - 2019-02-15

  • Changed RuuviTagReactive's time-value from local to UTC
  • Dataformat 5 to use mV instead of V
  • Add data_format value to payload

[0.11.0] - 2018-04-25

  • Fix support for RuuviFW 1.2.8
  • Support for Data Format 5
  • Fix for use of bt_device parameter in find_ruuvitags

[0.10.0] - 2018-03-11

  • Circumvent hcidump pipe buffering to assure all readings are propagated timely

[0.9.0] - 2017-10-29

  • Fix sharing run_flag with rx and ruuvitag processes
  • Fix RuuviTagReactive Python2.7 support
  • Define Bluetooth device id with bt_device parameter

[0.8.2] - 2017-09-09

  • Fixed pypi documentation format

[0.8.1] - 2017-09-09

  • Fix Data Format 3 temperature decode for negative values

[0.8.0] - 2017-07-29

  • Blacklist MACs of BLE devices that are not RuuviTag sensors
  • Breaking change code refactor if RuuviTagSensor was used as an object
    • Split RuuviTagSensor class to RuuviTag sensor object (RuuviTag) and static functions (RuuviTagSensor)

[0.7.0] - 2017-06-28

  • Fix module logging
  • Replace print-functions with logging
  • Log to console disabled by default

[0.6.0] - 2017-05-05

  • Support for Data Format 3 and 4
  • Fix data decoder Python2 support

[0.5.0] - 2017-03-01

  • RuuviTagReactive: reactive wrapper and background process for RuuviTagSensor get_datas
  • Fix for hcitool and hcidump subprocess kill
  • Fix data decode. Use minus and underscore as altchars as encoding is url-safe

[0.4.0] - 2017-02-19

  • get_datas function for handling RuuviTag broadcasts with callback function
  • MAC list to optional in get_data_for_sensors function

[0.3.4] - 2017-02-01

  • Fix temperature decimal calculation

[0.3.3] - 2017-01-31

  • Use subprocess.DEVNULL starting with Python 3.3

[0.3.2] - 2017-01-30

  • Use psutil to find correct process to kill

[0.3.1] - 2017-01-29

  • Fix for hcitool subprocess kill

[0.3.0] - 2017-01-29

  • Get latest data for specified sensors
  • Accept ruu.vi/# and r/ as RuuviTag datas in conversion

[0.2.2] - 2017-01-03

  • Python 2.7 support

[0.2.1] - 2017-01-01

  • Use base64 encoding to suupport new Weather Station firmware

[0.2] - 2016-12-31

  • Find RuuviTags functionality
  • Change gattlib to BlueZ (use hcitool and hcidump)