Koen Kanters
6278c86d02
Pass device options in global on event. 723dd8358f (comments)
2022-05-07 14:40:25 +02:00
Koen Kanters
49a730f77d
Update tests for https://github.com/Koenkk/zigbee2mqtt/pull/12413
2022-05-07 14:37:29 +02:00
Jorge Schrauwen
723dd8358f
Pass device state to zhc onEvent ( #12407 )
...
* onEvent: want device state as argument
* onEvent: test should check deviceOptions and deviceState returns
* Update onEvent.ts
* Update onEvent.ts
* Fix
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-05-07 08:36:03 +00:00
Koen Kanters
d0530b8214
Don't allow friendly names to include control character. #12379
2022-05-04 21:00:29 +02:00
Koen Kanters
02bc325fc2
Fix configure failing when rejoining device. #10973
2022-03-19 16:41:22 +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
github-actions[bot]
a5db6ef0c4
Update zigbee-herdsman-converters to 14.0.431 ( #11585 )
...
* Update zigbee-herdsman-converters to 14.0.431
* Fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-02-23 18:59:33 +00:00
Tobias
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
Koen Kanters
7ec6a2b483
Allow to specify options device/configure_reporting. https://github.com/Koenkk/zigbee2mqtt/issues/11442
2022-02-16 21:32:59 +01:00
github-actions[bot]
84043702c1
Update zigbee-herdsman-converters to 14.0.422 ( #11441 )
...
* Update zigbee-herdsman-converters to 14.0.422
* fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-02-15 19:12:49 +00:00
github-actions[bot]
6394d0f42e
Update zigbee-herdsman-converters to 14.0.414 ( #11284 )
...
* Update zigbee-herdsman-converters to 14.0.414
* Fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-02-07 17:11:04 +00:00
Valentin
f9c4b4e926
HA Discover when user change option ( #11210 )
...
* HA Discover when user change option
* Fix unit tests
* Update homeassistant.ts
* Update homeassistant.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-02-05 10:12:13 +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
Steven Roebert
9171ef35da
Allowing to use HA device name override as base for entities ( #11107 )
...
* When overriding the home assistant name, use that name as the device name and as a base for each entity name
* Update homeassistant.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-01-31 17:46:42 +01:00
Joshua Spence
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
64f83d74b7
Clear old availability topic when device is renamed. #5244
2022-01-21 20:21:18 +01:00
Koen Kanters
d0ceaba6f2
Fix OTA ( #10833 )
...
* dump
* updates
* Updates
2022-01-16 18:25:53 +01:00
Koen Kanters
30177b0db4
Restructure settings ( #10437 )
...
* -
* deep copy schema
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
2022-01-09 22:28:44 +01:00
Koen Kanters
ee6b035108
Support homeassistant_rename for groups. https://github.com/Koenkk/zigbee2mqtt/discussions/10672
2022-01-09 20:39:15 +01:00
Koen Kanters
e783117a3a
Xiaomi retransmitted messages handling has been moved to zigbee-herdsman. https://github.com/Koenkk/zigbee2mqtt/issues/10656
2022-01-08 17:25:20 +01:00
Oleksandr Masliuchenko
16842a3e72
Add posibility to have local OTA index ( #10141 )
...
* Add a configuration option to override OTA index file
* Cleanup
* Code review corrections
* Move zigbee_ota_override_index_location to ota section of the configuration file
* Suport both local and remote (HTTP) OTA override index files
* Updates
* updates
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-01-04 20:29:17 +01:00
github-actions[bot]
05d545945d
Update zigbee-herdsman-converters to 14.0.367 ( #10502 )
...
* Update zigbee-herdsman-converters to 14.0.367
* Update publish.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2022-01-02 12:54:30 +00:00
Koen Kanters
e8526b7b58
Better test for #10355
2021-12-30 17:32:02 +01:00
Koen Kanters
1e75dd5628
Test case for #10355
2021-12-27 20:29:16 +01:00
Koen Kanters
7a4ecadb6a
Change coordinator ieee addr place.
2021-12-24 17:56:18 +01:00
Koen Kanters
511f3b09af
Expose coordinator_ieeeaddr on bridge/info
2021-12-24 17:52:30 +01:00
github-actions[bot]
2a8a98f9a3
Update zigbee-herdsman-converters to 14.0.356 ( #10329 )
...
* Update zigbee-herdsman-converters to 14.0.356
* Fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-12-23 19:00:19 +00:00
github-actions[bot]
53003b3d0d
Update zigbee-herdsman-converters to 14.0.355 ( #10317 )
...
* Update zigbee-herdsman-converters to 14.0.355
* Fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-12-22 20:34:24 +00:00
Valentin
cd5dd39971
Dynamically expose attributes ( #10132 )
...
* Dynamically expose attributes
* Rollback options in configure step
Use event instead, as proposed in https://github.com/Koenkk/zigbee2mqtt/pull/10132/files#r771801648
* Simplify code
* Switch to already existing event
* Fix all unit tests
* Remove redundant code
* Perfect rollback
* Fix typescript types
* Updates
* Updates
* Updates
* updates
* Improve
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-12-22 19:31:41 +00:00
Koen Kanters
f9aa525048
Refactor Home Assistant extension mapping, prepares for #10132
2021-12-21 22:02:05 +01:00
Koen Kanters
6d8eea2142
Fix tests
2021-12-19 18:12:16 +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
5a624ae188
Fix error for Home Assistant last_seen sensor when epoch is used. #8287
2021-12-14 20:27:49 +01:00
Pavel Sokolov
9c1a15465d
Tuya zcl refactor ( #10112 )
...
* Rename Tuya command setData->dataRequest
https://github.com/Koenkk/zigbee-herdsman/issues/466
* Fix Tuya datapoint commands invalid format (status,transid -> seq). Tuya has `uint16` type for the sequence(transaction) number.
https://github.com/Koenkk/zigbee-herdsman/issues/466
* Tuya zcl refactoring: fix zigbe2mqtt tests
https://github.com/Koenkk/zigbee-herdsman/issues/466
2021-12-09 19:54:06 +01:00
Koen Kanters
ac16d7ce69
Reconfigure device after OTA update. #7716 #7150
2021-12-07 21:58:11 +01:00
Koen Kanters
d4f560d198
Validate QOS value. https://github.com/Koenkk/zigbee2mqtt/issues/9962
2021-12-07 18:52:54 +01:00
Koen Kanters
68e5b39172
Mock update.state for Home Asisstant sensor. https://github.com/Koenkk/zigbee2mqtt/issues/9939
2021-12-03 19:08:00 +01:00
John Doe
ed9d09a629
Replace serve-static with connect-gzip-static ( #9921 )
...
* Replace serve-static with connect-gzip-static in order to serve .gz files
* Make linter happy
Co-authored-by: nurikk <ainur@yojee.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-12-01 07:20:53 +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
cd4ac0c174
Ignore messages from coordinator. https://github.com/Koenkk/zigbee2mqtt/issues/9218
2021-11-28 20:08:09 +01:00
Koen Kanters
0a7a477281
Send only 1 MQTT message when last_seen is enabled and Zigbee message is received. https://github.com/Koenkk/zigbee2mqtt/issues/9519
2021-11-27 09:31:31 +01:00
Koen Kanters
7e2a2bdd34
Remove led control ( #9404 )
2021-11-14 15:04:23 +00:00
github-actions[bot]
2399ec040f
Update zigbee-herdsman-converters to 14.0.309 ( #9526 )
...
* Update zigbee-herdsman-converters to 14.0.309
* Update receive.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-11-05 19:41:23 +00:00
Franck Nijhof
57e93a48ff
Fix HA discovery device firmware version ( #9511 )
2021-11-05 19:19:55 +01:00
Franck Nijhof
a09aa4243e
Improve expose of update sensors to HA ( #9306 )
...
* Improve expose of update sensors to HA
* Update homeassistant.ts
* Update homeassistant.ts
* Update homeassistant.test.js
* Update homeassistant.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-11-04 21:11:58 +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
Franck Nijhof
2612de3c34
Correct device class and entity category for last seen HA sensor ( #9305 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-11-03 20:36:01 +01:00