Mario Guggenberger
5aeec130b1
fix: Fix availability checks not stopped on extension stop ( #20093 )
...
* fix: availability checks not stopped on extension stop
* Add test
* Clarify comments
* Simplify test
* Simplify code
2023-12-10 21:20:59 +01:00
Rotzbua
83e331323c
fix: Correct typos ( #19143 )
...
Credit to `codespell`.
2023-10-03 10:54:13 +02:00
Yip Rui Fung
d1e50ce534
fix: Use QOS1 for rarely sent discovery and availability messages ( #18756 )
...
* Use QOS1 for rarely sent messages
Specifically discovery and availability depending on the set up, it's possible for these messages to be silently discarded by the broker.
Sending them as QOS1 means the mqtt library used will resend them until it gets an ACK.
Ensuring delivery is particularly important for messages that are rarely sent like discovery or availability as they are only sent when there are changes, and nondelivery or dropped messages for them impede proper functioning in home assistant.
* Fix tests for discovery and availability using QOS1
2023-08-27 06:26:07 +00:00
Koen Kanters
1f642d86e8
Add disabled option ( #15589 )
...
* Add disabled option
* Updates
* Tests
* Add restart required
2022-12-23 23:56:29 +01:00
Koen Kanters
2524e030fa
Fix device reconnect resulting in brightness 1 when device is off. #11864
2022-03-17 19:21:35 +01:00
Koen Kanters
8bf06901c2
Availability for groups ( #11626 )
...
* Availability for groups. https://github.com/Koenkk/zigbee2mqtt/issues/9176
* Updates
* Fix
2022-03-14 15:51:02 +01:00
Koen Kanters
41ece365aa
Allow to configure availablility payloads to be a JSON object. #10802
2022-02-02 19:28:44 +01:00
Koen Kanters
73f02bfee3
Fix crash when availability is enabled per device. #11184
2022-02-02 17:39:45 +01:00
Koen Kanters
64f83d74b7
Clear old availability topic when device is renamed. #5244
2022-01-21 20:21:18 +01:00
Koen Kanters
a56061b36d
Attempt to fix crash due to availability state read. #10177
2021-12-15 19:48:32 +01:00
Koen Kanters
20b6fd42d3
Stop pinging device (availability feature) when it is removed. https://github.com/Koenkk/zigbee2mqtt/issues/9490
2021-11-04 20:52:10 +01:00
Koen Kanters
0282011255
Replace old availability implementation with new one ( #8904 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
* Replace old availability implementation with new one.
2021-10-02 10:25:43 +02:00
Koen Kanters
045ee573a0
Final TypeScript refactor ( #8859 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
2021-10-02 10:09:38 +02:00
Koen Kanters
ca3c6ce32f
More TypeScript refactoring ( #8797 )
...
* ts
* Updates
2021-09-18 18:23:28 +02:00
Koen Kanters
4125ae0888
TypeScript refactoring ( #8567 )
...
* Updates
* Updates
* Updates
* Rename
* Updates
* updates
* Updates
* Updates
2021-09-01 20:39:17 +02:00
Koen Kanters
a76c13c461
Make tests compatible with Jest 27
2021-07-05 20:46:53 +02:00
Koen Kanters
00c2894bb4
Reread settings on restart. https://github.com/Koenkk/zigbee2mqtt/discussions/6628
2021-03-09 19:50:05 +01:00
github-actions[bot]
8eb1a986fd
Update zigbee-herdsman-converters to 14.0.58 ( #6305 )
...
* Update zigbee-herdsman-converters to 14.0.58
* Update availability.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-02-15 20:12:51 +01:00
Koen Kanters
5889588a8a
Add zigbee2mqtt/bridge/request/options and zigbee2mqtt/bridge/request/restart ( #6089 )
...
* Initial
* Update schema
* Log changed options
* Implement zigbee2mqtt/bridge/request/restart
* Implement restart required
* Updates
* Updatos
* Set rtscts: false defaults
* Updates
* Updates
2021-02-06 23:32:20 +08:00
github-actions[bot]
f042b9df2c
Update zigbee-herdsman-converters to 14.0.44 ( #6055 )
...
* Update zigbee-herdsman-converters to 14.0.44
* Update availability.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-02-02 22:50:22 +01:00
Koen Kanters
1be15c67cf
Prepare test for next zigbee-herdsman-converters version.
2021-01-04 21:16:49 +01:00
Koen Kanters
6c4b345a58
Fix tests for zigbee-herdsman-converters 13.0.38
2020-12-28 21:15:45 +01:00
Koen Kanters
9b7ecff5d0
Clear outdated availability topics. #5414
2020-12-28 20:19:00 +01:00
Koen Kanters
9ff232fbb2
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-12-02 20:38:48 +01:00
Koen Kanters
9a53399a8c
Changes for zigbee-herdsman-converters 12.0.221
2020-10-27 21:50:55 +01:00
Koen Kanters
da2eb505fd
Clear availability topic on device remove. #4432
2020-09-25 16:50:12 +02:00
Koen Kanters
67f02adbd0
Prefer blocklist/passlist over blacklist/whitelist
2020-07-15 23:22:32 +02:00
Koen Kanters
f793eab4ab
Republish availability on MQTT connected. #3625
2020-05-28 17:44:50 +02:00
Koen Kanters
cc008db2ad
Refactor
2020-04-11 18:31:57 +02:00
Koen Kanters
f171d54e4b
Refactor extension names.
2019-02-13 21:03:23 +01:00
Koen Kanters
959e7458a4
Fix availability tests.
2019-02-02 18:15:03 +01:00