- feat: add new sensors (#144) (
25e87a0
)
- chore(pre-commit.ci): pre-commit autoupdate (#140)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (07f4729
)
- chore(pre-commit.ci): pre-commit autoupdate (#139)
updates:
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (e6ab18b
)
- chore(pre-commit.ci): pre-commit autoupdate (#137)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8305ab4
)
- chore(pre-commit.ci): pre-commit autoupdate (#136)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8de8a22
)
-
chore(pre-commit.ci): pre-commit autoupdate (#132)
-
chore(pre-commit.ci): pre-commit autoupdate
updates:
- github.com/commitizen-tools/commitizen: v3.2.2 → v3.27.0
- github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0
- github.com/asottile/pyupgrade: v3.15.0 → v3.16.0
- github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.4.2
- github.com/codespell-project/codespell: v2.2.6 → v2.3.0
- github.com/PyCQA/flake8: 7.0.0 → 7.1.0
- github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.1
- github.com/PyCQA/bandit: 1.7.6 → 1.7.9
- chore(pre-commit.ci): auto fixes
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (8171fd4
)
- feat(conductivity): add 0x56 for 16-bit Conductivity measurement type (#142) (
444eaca
)
- fix: allow contents permission to workflow (#131)
fix: allow contents permission to workflow (eda9bfd
)
- fix: rename pypi token (#130)
fix: rename pypi token (03a9d90
)
- fix: use list for version_toml (#129)
fix: use list for version_toml (0fc3d45
)
- fix: reference to gh action pypi push (#128)
fix: reference to gh action pypi push (88b1fe9
)
- fix: fix pypi workflow (#127)
fix: fix pypi workflow (53c8e0d
)
- fix: fix release workflow (#126)
fix: fix release workflow (#125)
fix: fix release workflow (4d985e9
)
- fix: bump python-semantic-release (#124) (
bbef3a7
)
-
fix: make tests compatible with habluetooth>=3.0 (#123)
-
fix: make tests compatible with habluetooth>=3.0
The tests consume habluetooth via home-assistant-bluetooth, and in version 3.0 introduced the tx_power parameter in the constructor of BluetoothServiceInfoBleak.
-
fix: poetry lock
-
fix: poetry update
-
fix: use habluetooth
-
fix: remove py3.10 since its no longer supported upstream
Co-authored-by: J. Nick Koston <[email protected]> (92fceeb
)
-
fix: accept new encryption counter only if the message was not corrupted (#119)
-
fix: accept new encryption counter only if the message was not corrupted
-
fix: check that message is not corrupted during wraparound too
-
feat: allow battery replacement caused resets
Remove the check for the highest counter value, as devices may restart the sequence for various reasons. A new security counter value will be accepted only if decryption is successful, indicating that the sender is either a legitimate user with the key, or is replaying BLE messages since the last setup or device reset. This requires an attacker to be extremely patient and dedicated, with questionable rewards.
- fix: whitespace (
bc61824
)
- feat: add button hold event (#120) (
49124ab
)
-
fix: remove mac workaround (#115)
-
fix: remove mac workaround (
303f833
)
-
feat: allow one failed decryption before reauth (#114)
-
feat: allow one failed decryption before reauth
-
fix: revert change for empty payload after decryption (
7c499cc
)
-
feat: add device title to log messages (#113)
-
feat: add device title to log messages
-
feat: add colon after device title (
c47f36f
)
-
feat: verify packet is not an older packet (#112)
-
feat: verfiy packet is not an older packet
-
feat: move to function and fix tests
-
chore: revise discard comment
-
chore: revise discard comment
-
chore: apply suggestions from code review
Co-authored-by: Ernst Klamer <[email protected]>
Co-authored-by: Ernst Klamer <[email protected]> (113e49d
)
- feat: add verification of the packet id (#105) (
c428f92
)
-
fix: fix counter verification (#104)
-
fix: fix counter verification
-
chore: improve coverage (
dead672
)
- fix: use volume storage instead of water storage (#102) (
4cf20bf
)
- feat: add water storage sensor (#101) (
6eb80e0
)
- fix: no check of encryption counter when bindkey has not been verified (#97)
fix: no check of encryption counter when bindkey has not been verified yet (43f1412
)
-
feat: add check for increasing encryption counter (#92)
-
feat: add check for increasing encryption counter
-
feat: add check for increasing encryption counter
-
feat: add check for increasing encryption counter
-
fix: verification of counter
-
fix: verification of counter
-
fix: do not update encryption counter if not increasing
-
fix: add exceptions for equal counter
-
fix: allow reset of the counter (
a58cf7b
)
- feat: add raw hex sensor (#91) (
6f9969e
)
- refactor: remove dependency on pytz (#90) (
4619caa
)
- fix: replace datetime.utcfromtimestamp (#87) (
0184fe7
)
-
feat: add text sensor (#86)
-
feat: add text sensor (
2bfcd9b
)
- feat: add ability to set the bind key after init (#83)
BREAKING CHANGE: the bindkey should no longer be set directly on the object, call set_bindkey
instead (1826139
)
- feat: switch from pycryptodomex to cryptography (
0cdc8e6
)
- fix: lint (
576342d
)
- Merge pull request #81 from Bluetooth-Devices/cryptography
feat: switch from pycryptodomex to cryptography (e6c192c
)
- fix: decryption bug fixed (
dfb12e6
)
- Merge pull request #80 from Ernst79/decryption_fix
fix: decryption bug fixed (70dc4c7
)
- chore: bump bluetooth-sensor-state-data (
54556a3
)
- Merge pull request #79 from Ernst79/event_fix
fix: fix for repeated events (24d05e9
)
- Merge pull request #77 from Bluetooth-Devices/semantic
fix: bump semantic release (74b38b7
)
- Merge pull request #76 from Bluetooth-Devices/test_fix
fix: fix failing tests (3e9d1ad
)
- Merge pull request #71 from Bluetooth-Devices/timestamp
feat: timestamp acceleration and gyroscope (25da3aa
)
- feat: timestamp acceleration and gyroscope (
07c6b40
)
- Merge pull request #72 from Bluetooth-Devices/revert_sleepy_device_name
fix: revert trigger based device name (109b47f
)
- fix: pre-commit bump and bump release (
97540cc
)
- Merge pull request #69 from Bluetooth-Devices/precommit
fix: pre-commit bump and bump release (eed13ac
)
- fix: add trigger based device to device type (
0d0076b
)
- Merge pull request #68 from Bluetooth-Devices/sleep
fix: add trigger based device to device type (31e4b8c
)
- feat: add sleepy device bit (
d61e63e
)
- fix: clean code (
26bc5d2
)
- Merge pull request #67 from Bluetooth-Devices/sleepy
feat: add sleepy device bit (6027f94
)
- fix: add sleepy sensors to init (
7a82a50
)
- Merge pull request #65 from Bluetooth-Devices/export_sleepy_sensors
fix: add sleepy sensors to init (894caab
)
- chore: add tests for shelly button (
c8c8365
)
- feat: add sleepy devices (
2bcbf38
)
- fix: typo (
7ddb135
)
- Merge pull request #64 from Bluetooth-Devices/sleepy_sensors
feat: add sleepy sensors (b58a63d
)
- Merge pull request #63 from Bluetooth-Devices/shelly_button_test
chore: add tests for shelly button (847509b
)
- feat: add water sensor (
c228d77
)
- Merge pull request #57 from Bluetooth-Devices/water_sensors
feat: add water sensor (5a49e7c
)
- feat: add gas water energy meter (
152bcea
)
- Merge pull request #54 from Bluetooth-Devices/gas_energy
feat: add gas water energy meter (d18c753
)
- feat: add gas sensor (
956610f
)
- Merge pull request #51 from Bluetooth-Devices/gas
feat: add gas sensor (05fcea0
)
- feat: add possibility to include mac in payload (
1059aa1
)
- fix: fix flake 8 line length error (
e7490b4
)
- Merge pull request #48 from Bluetooth-Devices/mac
feat: add possibility to include mac in payload (ca69f29
)
-
fix: parse objects of the same time correctly (#47)
-
fix: parse objects of the same time correctly
-
fix: readd previous fix for short advertisement decryption (
27e5982
)
- fix: correct data length check (
aed08c4
)
- Merge pull request #44 from Bluetooth-Devices/data_length
fix: correct data length check (8764c65
)
- feat: add voltage with 1 digit (
acd1da7
)
- Merge pull request #40 from Bluetooth-Devices/voltage_2
feat: add voltage with 1 digit (d4ebe9e
)
-
fix: bump sensor-state-data (
1202ace
) -
fix: bump sensor-state-data (
7bff7be
) -
fix: bump sensor-state-data (
930b222
)
- Merge pull request #38 from Bluetooth-Devices/dependencies_update
fix: bump sensor-state-data (ed294b4
)
- feat: add volume and packet id (
aaefa4e
)
- fix: update tests and dependencies (
bb9d0a2
)
- Merge pull request #35 from Bluetooth-Devices/volume_and_packet_id
feat: volume (flow rate) and packet id support (8e49aea
)
- fix: warning for numerical order object id (
b86feaa
)
- Merge pull request #31 from Bluetooth-Devices/numerical-order-fix
fix: warning for numerical order object id (7404a9b
)
- feat: remove cipher update (
21b9390
)
- Merge pull request #30 from Bluetooth-Devices/fix-remove-cipher-update
feat: remove cipher update (b360294
)
- fix: multiple measurements fix (
849deab
)
- Merge pull request #29 from Bluetooth-Devices/multiple_event_fix
fix: multiple measurements fix (20ef2b8
)
- feat: update dependencies (
a3e9daf
)
- Merge pull request #27 from Bluetooth-Devices/uv-and-duration
UV Index and Duration sensor (2ce1e87
)
- feat: new sensor types (
1bbf778
)
- fix: update poetry file (
90cf1ea
)
- Merge pull request #23 from Bluetooth-Devices/new_object_ids
feat: new sensors (dd7b9da
)
- Update CHANGELOG.md (
63141e1
)
- BREAKING CHANGE: v2 release (
30547ca
)
-
feat: remove object format and length byte (
2f43a29
) -
feat: remove predefined device info (
cb16b35
) -
feat: multiple measurements of the same type (
e57ed3d
) -
feat: UUID V2 and adv_info byte (
a4d6440
)
-
fix: parser not parsing multiple uuids (#21) (
e8d2646
) -
fix: adjust button events (
b796cdb
) -
fix: logs and fix for wrong id (
fc611c9
) -
fix: fix v1 tests (
8099cad
) -
fix: add annotations (
fb19043
) -
fix: button and dimmer events (
ac3b8fa
) -
fix: wrong bthome device info byte (
97d03ef
) -
fix: remove device_info_flag (
f524294
) -
fix: resolve comments (
5a904f6
) -
fix: improve coverage (
f21a739
) -
fix: resolve comments review (
e0d58a0
) -
fix: remove mac parser and code cleaning (
4a4fe68
)
- Merge pull request #13 from Bluetooth-Devices/V2
feat: v2 update (955c680
)
- Merge pull request #18 from Bluetooth-Devices/update_events
Button and dimmer events (48ad5d0
)
- Merge pull request #17 from Bluetooth-Devices/remove_object_format_length_byte
Remove object format length byte (3b366aa
)
-
Merge branch 'V2' into remove_object_format_length_byte (
ce64e65
) -
Merge pull request #16 from Bluetooth-Devices/remove-device_info_available-flag
Remove device info available flag (555b097
)
- Merge pull request #15 from Bluetooth-Devices/remove_device_info
feat: remove predefined device info (54547ab
)
- Merge pull request #14 from Bluetooth-Devices/multiple_meas_of_same_type
Multiple measurements of the same type (da5c3dd
)
- feat: force new release adding events (
8ae802a
)
- Add support for events (#12) (
3518264
)
-
fix: add missing comma (
0f889e6
) -
fix: remove unused imports (
8f45606
) -
fix: add test for encryption example (
c323a31
) -
fix: fix formatting issues (
47017b6
) -
fix: fix annotation (
1bc8f72
) -
fix: fix formatting issues (
801679e
) -
fix: remove use of predefined sensor wrapper (
377adaa
) -
fix: remove unused lists (
fd08fae
)
- Merge pull request #11 from Bluetooth-Devices/bthome-encryption-example
fix: remove unused lists (a2a9058
)
- fix: remove update binary sensor (
e529f89
)
- Merge pull request #10 from Bluetooth-Devices/remove_update_binary_sensor
fix: remove update binary sensor (8ffda8e
)
-
fix: remove empty line (
5f7ba24
) -
fix: sort import order (
ba5afd1
) -
fix: always use bthome device classes (
15fa937
)
- Merge pull request #9 from Bluetooth-Devices/fix_device_classes
fix: always use bthome device classes (283b24c
)
- feat: add binary sensors (
c83d0da
)
-
fix: flake8 error (
4ed3312
) -
fix: update poetry lock file (
477f974
) -
fix: remove unused import (
44f171a
) -
fix: mypy error (
716f626
)
- Merge pull request #8 from Bluetooth-Devices/binarysensors
feat: add binary sensors (613648c
)
-
Merge branch 'binarysensors' of https://github.com/Bluetooth-Devices/bthome-ble into binarysensors (
586c4c0
) -
Merge branch 'main' into binarysensors (
5860885
)
- fix: add binary sensor device class (
d48783e
)
- feat: binary sensor support (
35ec5e1
)
- Merge pull request #7 from Bluetooth-Devices/binary_sensors
feat: add binary sensors (b01fdc8
)
- Add binary sensors (
20554b6
)
- feat!: bthome with capital h (
c307462
)
- feat: change name of bthome with capital h (
cf3c702
)
- Merge pull request #6 from Bluetooth-Devices/BTHome_name
feat!: bthome with capital h (ca7733d
)
- BREAKING CHANGE: bthome with capital h (
ad89b34
)
- fix: use full name for bparasite (
bcd07da
)
-
fix: fix tests for non standard device classes (
d48ec31
) -
fix: use update_sonsor for other device classes (
eabde87
)
- feat: add new sensor types (
15ac53a
)
-
fix: add test for b-parasite (
ecbb823
) -
fix: bump sensor-state-data (
e3e21af
) -
fix: lint errors (
8c3697e
)
- Merge pull request #5 from Bluetooth-Devices/new_sensors
feat: add new sensor types (1f732e8
)
- feat: get manufacturer from name (
1e66c90
)
- fix: failing reauth (
7b3b0d2
)
- Merge pull request #4 from Ernst79/poetry-update
fix: code format (02cfcc9
)
- fix: workaround for empty service_uuids (
2cab081
)
- fix: length check (
9817c84
)
- Merge pull request #3 from Bluetooth-Devices/guard-clause
Simplify parsing using guard clauses (0acf776
)
- fix: minor change to force a new release (
a55133a
)
-
Simplify parsing using guard clauses (
cdb8ead
) -
Merge pull request #2 from Bluetooth-Devices/postpone-read-mac
fix: only try to read mac when needed for decryption (1e5c938
)
- Only try to read mac when needed for decryption (
5e0c6eb
)
- fix: supported sensor fix (
0bc45bf
)
- Merge branch 'main' of https://github.com/Bluetooth-Devices/bthome-ble (
fecbfb9
)
- fix: remove double mac from name (
eb77ad8
)
- Merge branch 'main' of https://github.com/Bluetooth-Devices/bthome-ble (
2f7cf7a
)
- feat: add encryption support (
e299228
)
- fix: isort (
d85e345
)
- fix: auto release test (
8fa2ba6
)
- Merge branch 'main' of https://github.com/Bluetooth-Devices/bthome-ble (
26eb78c
)
- fix: auto release (
1eac241
)
- Merge pull request #1 from Ernst79/poetry-setup
Poetry setup (e905b10
)
- feat: initial release (
c097555
)
-
fix: increase line length (
1dd1baa
) -
fix: increase line length (
c8d9a56
) -
fix: flake 8 errors (
71fae3c
) -
fix: flake8 errors (
dd7a283
) -
fix: flake8 errors (
b36bb2d
) -
fix: mypy error (
1364971
) -
fix: formatting conflicts (
e2548b0
) -
fix: formatting errors (
7bef4a3
) -
fix: flake8 errors (
8634293
) -
fix: bump sensor-state-data (
d9e409d
) -
fix: linting errors (
b1dc181
) -
fix: linting errors (
d47bfc9
) -
fix: linting errors (
e33c68f
)
- Initial commit (
cb5dd7d
)