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
Koen Kanters
bf2d793577
Don't log publishes to bridge/info
, bridge/devices
and bridge/groups
to reduce log spam
2021-02-06 15:44:10 +01:00
Koen Kanters
6c3ac2cd85
Don't allow adding groups with invalid name. #6066
2021-02-04 18:01:44 +01:00
Koen Kanters
836aac46c7
Deprecate retrieve_state option
2021-02-03 20:55:05 +01:00
John Doe
7c1e2c1bbf
Log info after changing entity option ( #6063 )
2021-02-03 12:26:12 +08:00
noned80
ed7f12eb89
Spelling correction of error message ( #6056 )
2021-02-02 22:44:29 +01:00
Koen Kanters
7cf746aa6a
Merge branch 'dev'
2021-02-01 18:13:27 +01:00
John Doe
f1c29c9bfc
Flag "readOnly": true some fields ( #6016 )
2021-02-01 11:03:28 +08:00
Lubomir Kaplan
9f5c68e9ec
Pass logger to zigbee-herdsman controller ( #5988 )
...
* passing logger to zigbee-herdsman controller
* updated controller test for logger passing
2021-01-31 16:14:06 +01:00
John Doe
236ba3951f
Publish wheither device supports OTA or not ( #5995 )
2021-01-31 19:31:14 +08:00
John Doe
0903f4c777
Dummy options ( #5981 )
...
* Split groups and devices schema into definition
* Dummy bridge/request/options
* Linter
2021-01-30 15:44:36 +01:00
Koen Kanters
5cdd8eb7be
Preps for new zigbee-herdsman-converters (build will fail for this commit)
2021-01-27 20:51:30 +01:00
Koen Kanters
6a33670296
Network scan stability improvement
2021-01-22 19:16:35 +01:00
Koen Kanters
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
e65d660236
Remove duplicate E11-N1EA. https://github.com/Koenkk/zigbee2mqtt/issues/775#issuecomment-763999942
2021-01-21 17:39:53 +01:00
Koen Kanters
51c2a8fdb8
Make E11-N1EA pingable. https://github.com/Koenkk/zigbee2mqtt/issues/775#issuecomment-763755661
2021-01-20 19:31:29 +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
Jorge Schrauwen
0d59b52479
Add missing devices options to settings.schema.json ( #5823 )
...
Looks like a few more were missing that just debounce: 05fc32d8e0/docs/information/configuration.md (device-specific-configuration)
2021-01-19 17:39:46 +01:00
Koen Kanters
d1a1035e43
Fix nothing logged when log_level set to warn. https://github.com/Koenkk/zigbee2mqtt/issues/5812
2021-01-18 18:31:47 +01:00
Koen Kanters
48767a7bcf
Allow to generate panID by setting "pan_id: GENERATE". https://github.com/Koenkk/zigbee2mqtt/issues/5745
2021-01-18 18:01:10 +01:00
John Doe
dbf84e775e
Update schema ( #5786 )
...
* Split groups and devices schema into definition
* Update settings schema
2021-01-17 17:20:50 +08:00
John Doe
0e6779db3a
Republish info ( #5785 )
...
* Split groups and devices schema into definition
* Republish bridge info after device/group props change
2021-01-17 09:51:32 +01:00
xyzroe
bbe4f9cd5f
endpoint support for binary and numeric discovery entries ( #5771 )
...
* endpoint support for binary and numeric exposes
* endpoint support for binary and numeric exposes
2021-01-16 18:26:55 +01:00
John Doe
d50d010b82
Publish settings json schema to bridge/info ( #5754 )
...
* Publish settings json schema to bridge/info
* Update frontend
* Please linter
* Rename configSchema -> config_schema
* Fix settings schema
* Update titles
* Updated descriptions
* Update frontend
* Update json schema titles and descriptions
* Update schema
* Update frontend
* Update npm-shrinkwrap.json
* Update package.json
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-01-16 12:32:15 +01:00
Koen Kanters
16cd176822
Fix group state not changing when members state changes under certain circumstances. https://github.com/Koenkk/zigbee2mqtt/issues/5725
2021-01-15 18:05:51 +01:00
Koen Kanters
ed76bbbdc5
Add ExtensionFrontend. https://github.com/Koenkk/zigbee2mqtt/issues/5688
2021-01-11 17:01:20 +01:00
Koen Kanters
19c54040bc
Allow string values for permit_join call. https://github.com/Koenkk/zigbee2mqtt/issues/5644
2021-01-10 16:54:01 +01:00
Koen Kanters
7b0eb87685
Don't allow friendly_name to start with. d7c74ca3ad
2021-01-09 15:13:29 +01:00
Koen Kanters
77a6ec09fb
More friendly name checks. d7c74ca3ad
2021-01-09 14:21:01 +01:00
Koen Kanters
4626d557d3
Fix log level in frontend not updating after setting log level. https://github.com/Koenkk/zigbee2mqtt/issues/5635
2021-01-08 21:47:05 +01:00
Koen Kanters
d7c74ca3ad
Fix not allowed friendly_names being allowed. #5618
2021-01-08 20:46:04 +01:00
Koen Kanters
b2cd519e0b
Allow disabling discovery of device_automation. https://github.com/Koenkk/zigbee2mqtt/issues/5597
2021-01-08 20:23:25 +01:00
Koen Kanters
4fc10f0cfb
Attempt to fix external converters exposes not loaded into HA discovery. https://github.com/Koenkk/zigbee2mqtt/discussions/5605
2021-01-07 19:24:48 +01:00
Koen Kanters
2942ae9f4a
Fix some properties not being published when debounce is used ( #5509 )
...
* initial
* More logging. https://github.com/Koenkk/zigbee-herdsman-converters/issues/1988
* More logging
* Ignore group_optimistic
* Cleanup
* Add logging again
* We got him?
* go
* linto
2021-01-07 19:17:13 +01:00
David
2524020963
Fix availability not working for Sengled E11-N1EA bulb ( #5603 )
...
Added availability support for Sengled E11-N1EA (RGB) bulb.
https://www.zigbee2mqtt.io/devices/E11-N1EA.html#sengled-e11-n1ea
2021-01-07 19:07:36 +01:00
Koen Kanters
2cf9657bd4
Fix disabling discovery of specific Home Assistant sensor not working. #5597
2021-01-07 18:56:39 +01:00
Koen Kanters
4b8500603d
Prepare for next zhc release
2021-01-05 20:36:04 +01:00
Koen Kanters
adfb9f0c42
Fix setting last_seen from frontend not working. #5545
2021-01-05 19:15:08 +01:00
Koen Kanters
acfd938e48
HA discovery: prefer XY over HS.
2021-01-05 18:40:26 +01:00
Igor Listopad
660796a1e4
Add specifying auth_token in a different file ( #5537 )
...
* Add specifying auth_token in a different file
* Update settings.js
* Update settings.js
* Update settings.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-01-04 19:32:03 +01:00
Koen Kanters
d53b63d67e
Allow joining for a specific amount of time. https://github.com/nurikk/z2m-frontend/issues/202
2021-01-03 11:08:33 +01:00
Pedro Lamas
2dc9016f9f
More HA device classes in use ( #5495 )
2021-01-01 22:48:07 +01:00
Koen Kanters
016137b82b
Republish devices after configuring reporting. 5f99e26eda
2020-12-30 12:20:38 +01:00
Koen Kanters
3558635797
Only reconfigure reporting for Ikea bulbs on device annouce when configuredReportings is empty, this is now done in 5f99e26eda
2020-12-29 20:06:10 +01:00
Koen Kanters
ff59480bce
Expose model_id.
2020-12-29 18:50:57 +01:00
Koen Kanters
332ccee44a
Log succesful configured reporting.
2020-12-29 10:56:46 +01:00
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
Emil Flach
084fccc53d
Partial fix for #4571 , changed current_heating_setpoint for occupied_heating_setpoint ( #4784 )
...
Co-authored-by: Emil Flach <emil.flach@skopei.com>
2020-10-28 17:54:31 +01:00
Drzony
5d643bac8e
Home Assistant fixes for Saswell TRV ( #4800 )
...
* Home Assistant fixes for Saswell TRV
* fixup! Home Assistant fixes for Saswell TRV
2020-10-28 17:49:44 +01:00
Koen Kanters
9a53399a8c
Changes for zigbee-herdsman-converters 12.0.221
2020-10-27 21:50:55 +01:00
Koen Kanters
b2049b449b
Home Assistant discovery: use availability instead of availability_topic. https://github.com/Koenkk/zigbee2mqtt/issues/775
2020-10-27 21:49:44 +01:00