Koen Kanters and GitHub
002050f35b
fix: Reduce MQTT publishing by excluding debug logging from bridge/logging ( #22066 )
...
* fix: Reduce MQTT publishing by excluding debug logging from `bridge/logging`
* fix tests
* fix
2024-04-06 12:44:43 +02:00
73566dff98
feat: Unified logging across z2m/zh/zhc ( #21984 )
...
* Unified logging across z2m/zh/zhc
* Updates
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-04-02 22:33:51 +02:00
Koen Kanters
29543bad4b
fix(ignore): fix tests
2024-03-10 19:54:35 +01:00
Koen Kanters and GitHub
66fb672492
fix: Fix set endpoint name conversion ( #21653 )
...
* fix: Fix `set` endpoint name conversion https://github.com/Koenkk/zigbee2mqtt/issues/21646
* fix
2024-03-02 21:45:19 +01:00
Koen Kanters and GitHub
956003aa0a
fix: Fix endpoint matching for TuYa dummy endpoints ( #21576 )
2024-02-26 20:02:05 +01:00
slugzero and GitHub
0007db42b0
fix(ignore): Ability to trigger events from converters on incoming Zigbee messages ( #20776 )
...
* emit event on converter triggers
* use meta.deviceExposesChanged() instead
* add ExposesChanged event for homeassistant discovery
* add tests for receive.ts and homeassistant.ts
2024-01-15 21:08:08 +01:00
koenkk
e9aee4c6dc
fix: Fix configure on startup crashing coordinator https://github.com/Koenkk/zigbee2mqtt/issues/20526
2024-01-03 10:51:05 +01:00
Koen Kanters and GitHub
56f57625b0
feat: Support automatically generating device definitions ( #20358 )
...
* feat: Support automatically generating device definitions
* updates
* update template
2023-12-25 12:46:57 +01:00
Koen Kanters and GitHub
3af130a2c0
feat: Support coordinator check ( #18599 )
...
* feat: Support coordinator check
* add tests
2023-08-14 20:35:15 +02:00
Koen Kanters and GitHub
891392ff9a
Revert "Fix Home Assistant installed_version error ( #15369 )" ( #15396 )
...
This reverts commit ba2d9aefe6 .
2022-12-06 17:31:48 +01:00
Koen Kanters and GitHub
ba2d9aefe6
Fix Home Assistant installed_version error ( #15369 )
...
* Fix HA installed_version error
* add link
2022-12-05 16:52:11 +01:00
3b60a8e02a
Fix cover state publishing of multi-endpoint devices ( #14200 )
...
* Fix cover state publishing of multi-endpoint devices
* WIP testing
* WIP test for multiEndpoint cover device
* WIP zigfred plus test
* WIP zigfred plus test
* Remove zigfred plus meta testing flag
* Working zigfred plus integration into bridge test
* Working integration of zigfred plus in tests
* WIP zigfred plus testing
* Add working test for multi-cover devices. Working cover state for multi-cover + multi-light devices.
* Fix republishing of cover state
* Fix cover position and tilt readout with postfix topic
* Fix homeassistant.test.js for zigfred plus cover
* Fix cover value template to support multi-cover devices
* Update homeassistant.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-09-28 20:21:30 +02:00
1966456814
Add HVAC swing mode to Home Assistant discovery ( #13784 )
...
* hvac swing mode
* test: add GW003-AS-IN-TE-FC to tested devices
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-09-19 17:56:58 +02:00
9519ffdac7
Add install code support ( #13780 )
...
* Add install code support
* Update bridge.ts
Co-authored-by: John Doe <nurikk@users.noreply.github.com >
2022-09-06 09:30:03 +02:00
Andrew Lamchenko and GitHub
759c2f3f00
Add new clusters for bind ( #13214 )
...
* Add new clasters for bind
Add new clasters for bind
* Add new clasters for bind
Add new clasters for bind
2022-07-20 19:41:46 +02:00
bab764e2be
Binding to msRelativeHumidity ( #12877 )
...
* Binding to new clusters
Binding to new clusters. This is necessary for new EFEKTA devices.
* Update bind.ts
* Fix tests
Co-authored-by: nurikk <ainur@yojee.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-07-01 17:02:34 +02:00
Koen Kanters
dd129830d3
Create herdsman backup before backup. https://github.com/Koenkk/zigbee2mqtt/pull/12797
2022-06-15 17:05:20 +02:00
Koen Kanters
8e2f0f613f
Send cached group state on startup and when Home Assistant comes online. https://github.com/Koenkk/zigbee2mqtt/issues/12693
2022-06-09 20:52:39 +02:00
Koen Kanters and GitHub
68035a1256
Fix restart not working ( #12629 )
2022-05-29 08:15:47 +00:00
Koen Kanters
d910c05e6e
Improve tests
2022-05-25 11:38:37 +02:00
9cfc38223e
Add device and groups descriptions ( #11493 )
...
* Add device and groups descriptions
* Improvements
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-02-20 14:45:53 +01:00
1a70b80282
Flush logger before exiting process ( #10905 )
...
* Wait for async logs
* Fix tests
* Better solution
Based on https://stackoverflow.com/a/59260151
* Fix lint/test coverage
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-01-26 15:57:51 +00:00
Koen Kanters
e7447cf1e3
Another attempt to fix https://github.com/Koenkk/zigbee2mqtt/issues/9822
2021-11-30 20:20:46 +01:00
Koen Kanters
c2d9ffa7ad
Fix "Possible EventEmitter memory leak detected. 1001 drain listeners added to [Socket]" warning. #9822
2021-11-29 17:49:54 +01:00
Koen Kanters and GitHub
7e2a2bdd34
Remove led control ( #9404 )
2021-11-14 15:04:23 +00:00
Koen Kanters and GitHub
3b0a906a97
Expose scenes ( #9056 )
...
* Expose scenes
* Republish devices and groups when changed.
* Send scene name if set.
2021-10-08 19:02:24 +08:00
Koen Kanters
23b87755cf
Stop Zigbee2MQTT with error when initial MQTT connect fails. https://github.com/Koenkk/zigbee2mqtt/issues/8956
2021-10-04 22:08:06 +02:00
Koen Kanters and GitHub
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
22bba95a70
ead bulb state, brightness and colour on scene recall command ( #8585 )
...
* Poll brightness/state after recalling scene
When a ZigBee Scene Controller is recalling a scene through a direct binding
we need to poll for changed state and brightness.
* Also poll for color changes on scene recalling
* Force copy of settings.schema.json
* Update bind.js
* Update zigbeeHerdsman.js
* Update bind.test.js
* Update bind.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-09-07 19:17:23 +02:00
Koen Kanters
a76c13c461
Make tests compatible with Jest 27
2021-07-05 20:46:53 +02:00
Koen Kanters
fe1aa084fb
Only use converters of group members. https://github.com/Koenkk/zigbee2mqtt/issues/7922
2021-07-02 21:01:58 +02:00
Koen Kanters and GitHub
8dc7ad8dcc
Home Assistant group discovery #2410 ( #7672 )
...
* Initial
* done
2021-06-16 22:48:48 +02:00
pklokke and GitHub
95dd6c485c
Support binding of server clusters towards clients ( #7127 )
...
This allows binding of devices such as sleepy temperature sensors to heating actuators
2021-04-19 20:16:31 +02:00
Koen Kanters
30efb3e824
Fix "Cannot read property 'ID' of undefined". https://github.com/Koenkk/zigbee2mqtt/issues/6981
2021-04-07 18:39:54 +02:00
ab0ae8ce91
Update zigbee-herdsman-converters to 14.0.104 ( #6975 )
...
* Update zigbee-herdsman-converters to 14.0.104
* Update bridge.test.js
* Update otaUpdate.test.js
* Update zigbeeHerdsman.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-04-06 22:24:30 +02:00
Koen Kanters
bf47282ea7
Fix optimistic group state property not postfixed with endpoint name when necessary. https://github.com/Koenkk/zigbee2mqtt/issues/6905
2021-04-04 21:00:24 +02:00
Koen Kanters
326823ee00
Add permit_join_timeout to bridge/info
2021-03-22 17:03:01 +01:00
Koen Kanters
06a14c5b20
Prepare for https://github.com/Koenkk/zigbee2mqtt/pull/6711
2021-03-14 17:09:43 +01:00
29343f8e9c
Update zigbee-herdsman-converters to 14.0.85 ( #6680 )
...
* Update zigbee-herdsman-converters to 14.0.85
* Update bridge.test.js
* Update zigbeeHerdsman.js
* Update otaUpdate.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-03-13 10:28:48 +01:00
Koen Kanters
377356b9c1
Fix no attribute property in configured_reportings when attribute is manufacturer specific. #6580
2021-03-06 14:51:07 +01:00
Koen Kanters and GitHub
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
Koen Kanters and GitHub
1b32a46649
Setup reporting when binding and make report feature deprecated ( #5529 )
...
* Initial
* Updates
* Some tests
* tests
* Updates
* Move poll to bind
* Move report to legacy
* Updates
* Remove toPoll key. https://github.com/Koenkk/zigbee2mqtt/pull/5529#pullrequestreview-570285310
* Updates
* Updates
* Update bridge.test.js
* Fix tests
2021-01-22 18:56:44 +01:00
Koen Kanters
c67de5eb28
Fix nothing logged in frontend when log_level warn is set. https://github.com/Koenkk/zigbee2mqtt/issues/5812
2021-01-19 18:14:40 +01:00
Koen Kanters
1be15c67cf
Prepare test for next zigbee-herdsman-converters version.
2021-01-04 21:16:49 +01:00
Koen Kanters
3558635797
Only reconfigure reporting for Ikea bulbs on device annouce when configuredReportings is empty, this is now done in https://github.com/Koenkk/zigbee-herdsman-converters/commit/5f99e26eda41baad0d692eec397816168808ad5d
2020-12-29 20:06:10 +01:00
Koen Kanters
09c5631b4d
Expose configured reportings.
2020-12-28 23:12:40 +01:00
Koen Kanters
6c4b345a58
Fix tests for zigbee-herdsman-converters 13.0.38
2020-12-28 21:15:45 +01:00
Koen Kanters
81704f1807
Fix setting brightness via "brightness_[ENDPOINT]" not working. #5186
2020-12-04 16:41:06 +01:00
John Doe and GitHub
dba9b4d931
Fix network map request failing when device has no exposes. ( #5161 )
...
* Fix map request if external converter doesn't have exposes attribute
* Remove dead code
2020-12-02 19:25:56 +01:00
Drzony and GitHub
7305960d53
Display manufacturer name for unsupported devices ( #4938 )
...
* Display manufacturer name for unsupported devices
* fixup! Display manufacturer name for unsupported devices
2020-11-11 18:27:20 +01:00