Koen Kanters
0e1d683c77
Republish devices after configure
2020-12-29 10:43:06 +01:00
Koen Kanters
09c5631b4d
Expose configured reportings.
2020-12-28 23:12:40 +01:00
Koen Kanters
c0fa732833
Add zigbee2mqtt/bridge/request/device/configure_reporting
2020-12-28 22:57:35 +01:00
Koen Kanters
9345fe8c99
Pass logger to configure(). https://github.com/Koenkk/zigbee2mqtt/issues/5212
2020-12-28 21:48:07 +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
2385cf62e5
Fix debug logging not logged on frontend. #5425
2020-12-28 18:53:22 +01:00
Koen Kanters
0bc86a97e7
Refactor homeassistant.js
2020-12-28 18:31:34 +01:00
Jakob Nohe
0b8cd232af
Do not fallback to string if array can be parsed ( #5420 )
...
* Do not fallback to string if array can be parsed
This in needed, otherwise ZIGBEE2MQTT_CONFIG_ADVANCED_NETWORK_KEY can never be set to a JSON object (array).
* Update settings.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-12-27 19:47:00 +01:00
github-actions[bot]
fb4b014940
Update zigbee-herdsman-converters to 13.0.28 ( #5360 )
...
* Update zigbee-herdsman-converters to 13.0.28
* Update otaUpdate.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-12-20 21:55:39 +01:00
Koen Kanters
5e226efe9d
Add water to endpoint names. https://github.com/Koenkk/zigbee2mqtt/issues/5357
2020-12-20 21:40:23 +01:00
Koen Kanters
026f1bfd1c
Fix no devices logged when publishing empty message to zigbee2mqtt/bridge/config/devices. #5289
2020-12-13 18:12:11 +01:00
Koen Kanters
ab3fd769d5
Allow to use IKEA TRADFRI OTA test server. https://github.com/Koenkk/zigbee2mqtt/issues/2921
2020-12-09 19:51:16 +01:00
Koen Kanters
2134966f6e
Home Assistant: separate discovered name by space instead of _ when friendly_name has no _. #5226
2020-12-08 19:41:34 +01:00
Koen Kanters
c78206b9ef
Support Home Assistant discovery for composite. https://github.com/Koenkk/zigbee-herdsman-converters/pull/1873
2020-12-08 19:01:59 +01:00
John Doe
743c701ac5
Fix disabling HA discovery after device was discovered ( #5200 )
2020-12-08 16:45:31 +01:00
Koen Kanters
81704f1807
Fix setting brightness via "brightness_[ENDPOINT]" not working. #5186
2020-12-04 16:41:06 +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
John Doe
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
Pedro Lamas
8b508971db
Poll lamps with Philips, Atmel, Gledopto, Mueller-Licht manufacturer codes ( #5139 )
...
* Poll lamps with Philips or Atmel manufacturer code
* Fixes incorrect test
Following up on https://github.com/Koenkk/zigbee2mqtt/pull/2122#discussion_r532618336
* Adds GLEDOPTO_CO_LTD and MUELLER_LICHT_INT to lamp polling
2020-11-30 19:21:17 +01:00
Koen Kanters
6548250eb4
Allow read-only devices/groups files by allowing to specify devices/groups in multiple files. #2970
2020-11-27 17:32:32 +01:00
github-actions[bot]
ab8035d6bb
Update zigbee-herdsman-converters to 13.0.4 ( #5095 )
...
* Update zigbee-herdsman-converters to 13.0.4
* Update homeassistant.js
* Update homeassistant.js
* Update homeassistant.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-26 20:12:09 +01:00
John Doe
68f243221f
Add auth to frontend and remove development server ( #5079 )
...
* Add frontend authentification
* Delete auth_token from bridge/info
2020-11-25 16:28:02 +01:00
Roman
481cdefafc
Add host bind option for frontend ( #5014 )
...
* Added IP address bind to HTTP frontend listener
* Changed ip to host in configuration and code
Co-authored-by: romanius <me@romanius.me>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-23 19:09:47 +01:00
Koen Kanters
9ee35f6933
Home Assistant: don't include object_id in name if same as type (e.g. light.bulb_light -> light.bulb). #5054
2020-11-23 19:01:16 +01:00
Koen Kanters
982e918a50
Don't use supports anymore and prepare for next zigbee-herdsman-converters.
2020-11-22 12:54:19 +01:00
Koen Kanters
fc19f2e903
Don't pass messages from coordinator to extensions. https://github.com/Koenkk/zigbee2mqtt/issues/5028
2020-11-21 16:20:48 +01:00
John Doe
153b82ca77
Fix loading external convertersThis fixes Error: Cannot find module 'zigbee-herdsman-converters'Caused by requiring converter from folder which is located outside z2m sources folder (ZIGBEE2MQTT_DATA) ( #5027 )
2020-11-20 22:22:08 +08:00
Koen Kanters
49f37acd18
Add adapter_delay option. https://github.com/Koenkk/zigbee2mqtt/issues/4884
2020-11-18 18:46:13 +01:00
Chris Nesbitt-Smith
aabb88fbf4
Add force_disable_retain option ( #4948 )
...
* support configurable retain on mqtt settings since some servers throw errors and drop the connections if you try (e.g. aws iot)
* Revert "support configurable retain on mqtt settings since some servers throw errors and drop the connections if you try (e.g. aws iot)"
This reverts commit 40d3a9c0bc84c83d2b167e2e3c3a06ca6df80f47.
* support configurable retain on mqtt settings
* support subscribing to the whole base prefix
* Update mqtt.js
* Fixes
* Fixes
* Fix tests
* Updates
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-16 17:27:49 +01:00
Koen Kanters
9c8323326d
Greatly reduce amount of subscribed topics. #4948
2020-11-16 17:03:22 +01:00
Koen Kanters
c1e5c75473
Fix bridge/state online not send after reconnect. https://github.com/Koenkk/zigbee2mqtt/issues/4854
2020-11-15 13:22:29 +01:00
William Sutton
1c3ad9da72
Log zigbee-herdsman version on startup ( #4930 )
...
* add getZigbeeHerdsmanVersion Function
Allow current zigbee-herdsman version to be exposed to controller for logging and to startup output.
* Update utils.test.js
Add tests for getZigbeeHerdsmanVersion() function
* Update utils.js
Added getZigbeeHerdsman to module exports
* Update utils.js
Fixed path because I'm dumb.
* Update utils.test.js
Apparently version numbers are important when they're different.
* Update zigbee.js
Added actual display of herdsman version output.
* Update utils.js
Remove git checking in getZigbeeHerdsmanVersion()
* Update utils.test.js
Remove commitHash from getZigbeeHerdsmanVersion test
* Update utils.js
Remove commitHash from getZigbeeHerdsmanVersion
* Update utils.js
* Update utils.test.js
* Update utils.js
Try removing less code this time.
* Update utils.test.js
* Update zigbee.js
* Update utils.js
* Update utils.js
* Update utils.test.js
* Update utils.js
* Update utils.test.js
* Update utils.js
* Update utils.js
* Update zigbee.js
* Update utils.js
Generalize getZigbeeHerdsmanVersion() to getDependVersion(), so any node_module dependency can be checked
* Update zigbee.js
* Update utils.test.js
* Update utils.js
* Update zigbee.js
* Update utils.test.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update utils.js
* Update zigbee.js
* Update utils.test.js
* Update zigbee.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-14 17:25:22 +01:00
Koen Kanters
b5436d4b93
Fix devices marked unavailable in Home Assistant after restart. https://github.com/Koenkk/zigbee2mqtt/issues/4912
2020-11-13 19:45:27 +01:00
Koen Kanters
cbf353e387
Fix linkquality N/A when refreshing frontend. https://github.com/Koenkk/zigbee2mqtt/issues/4942
2020-11-13 17:29:23 +01:00
Nonsense112
1ff4be4600
Fix state.json not pretty printed ( #4943 )
...
* state.json format
Since 9774031
the state.json file is not formatted anymore, it's just 1 line.
* Update state.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-11 18:36:15 +01:00
Drzony
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
Kamil Trzciński
d5d2b68e67
Expose position
for compatible thermostats ( #4936 )
...
This exposes an absolute position.
2020-11-11 18:22:37 +01:00
Koen Kanters
f8943011d4
Fix unbind for default_bind_group (901) not working from frontend. https://github.com/Koenkk/zigbee2mqtt/issues/4901
2020-11-11 18:11:18 +01:00
Koen Kanters
21b8e01149
Fix set/get with property including endpoint name having _ not working.
2020-11-11 17:11:54 +01:00
github-actions[bot]
b1f129c6e8
Update zigbee-herdsman-converters to 12.0.231 ( #4905 )
...
* Update zigbee-herdsman-converters to 12.0.231
* Update homeassistant.js
* Update bridge.test.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-08 14:45:56 +01:00
Koen Kanters
f99257ae83
Home Assistant: use device_class presence for presence binary sensor.
2020-11-07 19:16:16 +01:00
Koen Kanters
c27e66b618
Changes for exposes.
2020-11-04 22:33:00 +01:00
Koen Kanters
bd7d0be07a
Clear device state when device leaves network. https://github.com/Koenkk/zigbee2mqtt/issues/4485
2020-11-02 18:27:06 +01:00
github-actions[bot]
2ee3b5f12b
Update zigbee-herdsman-converters to 12.0.225 ( #4850 )
...
* Update zigbee-herdsman-converters to 12.0.225
* Update homeassistant.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-02 18:00:58 +01:00
Jan
195d56d4ef
Enhanced MQTT logging when connecting ( #4843 )
...
* enhanced logging
* reduced loglevel
2020-11-02 18:00:02 +01:00
Koen Kanters
a09bb3bc00
Home Assistant: support multiendpoint for enum sensor
2020-11-01 11:02:35 +01:00
github-actions[bot]
e1b5a105dd
Update zigbee-herdsman-converters to 12.0.223 ( #4820 )
...
* Update zigbee-herdsman-converters to 12.0.223
* Update homeassistant.js
* Update bridge.test.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-10-30 23:39:26 +01:00
github-actions[bot]
79275f9a4c
Update zigbee-herdsman-converters to 12.0.222 ( #4816 )
...
* Update zigbee-herdsman-converters to 12.0.222
* Update homeassistant.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-10-29 21:43:47 +01:00
Koen Kanters
aac7cb1ff6
Fix brightness or state not read when reading state and brightness. https://github.com/Koenkk/zigbee2mqtt/issues/4803
2020-10-29 18:03:16 +01:00