Timoline
9df40bd9be
fixed small typo ( #6149 )
2021-02-07 12:45:07 +01:00
Timoline
d43b445749
Changed some titles in the settings schema ( #6147 )
2021-02-07 15:04:18 +08:00
John Doe
33b6ea86f9
Add frontend config ( #6145 )
...
* 1.17.1
* Add frontend config json schema
2021-02-07 11:19:00 +08: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
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
noned80
ed7f12eb89
Spelling correction of error message ( #6056 )
2021-02-02 22:44:29 +01:00
John Doe
f1c29c9bfc
Flag "readOnly": true some fields ( #6016 )
2021-02-01 11:03:28 +08:00
Koen Kanters
6a33670296
Network scan stability improvement
2021-01-22 19:16:35 +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: https://github.com/Koenkk/zigbee2mqtt.io/blob/05fc32d8e09bf4cc1bccfc4acb8f618ce7ab3a22/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
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
7b0eb87685
Don't allow friendly_name to start with. https://github.com/Koenkk/zigbee2mqtt/commit/d7c74ca3ad65dc8cc0366d321c5494c4f3b7a51b
2021-01-09 15:13:29 +01:00
Koen Kanters
77a6ec09fb
More friendly name checks. https://github.com/Koenkk/zigbee2mqtt/commit/d7c74ca3ad65dc8cc0366d321c5494c4f3b7a51b
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
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
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
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
9ff232fbb2
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-12-02 20:38:48 +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
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
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
ddbf936102
Mark ZIGBEE2MQTT_CONFIG as deprecated. https://github.com/Koenkk/zigbee2mqtt/issues/4697
2020-10-24 16:20:48 +02:00
mr G1K
aa9ba03228
adapter zigate ( #4737 )
2020-10-23 19:13:33 +02:00
Koen Kanters
3a1f697d93
Don't log when including logger.js
2020-10-07 17:15:46 +02:00
github-actions[bot]
34e82118a1
Update zigbee-herdsman-converters to 12.0.201 ( #4575 )
...
* Update zigbee-herdsman-converters to 12.0.201
* Update homeassistant.js
* Update utils.js
* 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-06 20:40:20 +02:00
Koen Kanters
4f9c36ee44
Don't allow renaming to not allowed friendlyName. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-09-19 10:57:39 +02:00
OzGav
7d7b2fc671
Add support for NUE-ZBFLB Update homeassistant.js ( #4279 )
...
* Update homeassistant.js
* Update utils.js
* Update utils.js
* Update homeassistant.js
* Update utils.js
2020-09-12 09:45:26 +02:00
Koen Kanters
d167b149ad
Refactor device options retrieval
2020-08-17 20:57:12 +02:00
Tom
08524953bf
Add Environment Variable Override ( #4085 )
...
* Add Environment Variable Override
I need to be able to manage settings on this service via Environment Variables. I've added the ability to override anything in the settings schema with a corresponding environment variable.
e.g. to override settings.serial.port you can set ZIGBEE2MQTT_SERIAL_PORT=/dev/ttyS0
to override the mqtt username you can set ZIGBEE2MQTT_MQTT_USER=testusername
This new addition will not perform any action on existing installations unless the matching environment variable is set. I have tested this setting string, number, boolean, object and array values.
* Adding test case for environment variables and slight modification to ensure 100% code coverage.
* Adding a test to confirm that env variables will set non default values. Also realized that I was errantly applying the env variables to the defaults for testing. Understanding what this is doing more clearly I realize that should be clean.
* Refactoring to
1. Remove the test variables from the schema and defaults and manually reflect the tests in the test.
2. Rename environment variable base from ZIGBEE2MQTT_ to ZIGBEE2MQTT_CONFIG_
* Small improvements
* Removing the unneeded test.
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2020-08-13 23:50:30 +02:00
Koen Kanters
9a6397fe75
Make Zigbee2MQTT naming consistent
2020-08-01 10:36:20 +02:00
lionel590
ded3a58883
Network parameters / config displayed in zigbee2mqtt/bridge/config ( #4010 )
...
* Update zigbee.js
* added network parameters to zigbee2mqtt/bridge/config
* added network parameters to zigbee2mqtt/bridge/config
* added test for network config in zigbee2mqtt/bridge/config
* Fix network data
* Added test data for network parameters
* Update zigbee.js
* Update zigbee.js
* Update bridge.test.js
* Update bridge.test.js
* Update utils.js
* Update bridge.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2020-07-30 22:31:52 +02:00
Hamish Moffatt
f5e5c76ca9
output plain text to syslog ( #3985 )
...
* output plain text to syslog (#3984 )
* fix lint warnings
Co-authored-by: Hamish Moffatt <hamish@moffatt.id.au >
2020-07-27 22:22:02 +02:00
Koen Kanters
867918bd63
Fix incorrect device type. https://github.com/Koenkk/zigbee2mqtt/issues/3953
2020-07-23 19:55:56 +02:00
Koen Kanters
ad13564687
Improve error messages when configuration is invalid. #3943
2020-07-23 19:17:26 +02:00
Koen Kanters
0e0a364da7
Validate experimental.output settings. #3928
2020-07-18 23:40:23 +02:00
Koen Kanters
67f02adbd0
Prefer blocklist/passlist over blacklist/whitelist
2020-07-15 23:22:32 +02:00
Koen Kanters
ff1a64b192
Change ID -> id for new api. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-07-15 22:16:18 +02:00
Koen Kanters
8415adc514
Make new api snake case. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-07-13 23:00:33 +02:00
Koen Kanters
d3b7fe222f
Update herdsman and converters.
2020-07-12 17:14:56 +02:00
Koen Kanters
b1a4926a30
Add cache_state_persistent and cache_state_send_on_startup options. #3496
2020-07-10 22:09:16 +02:00
Koen Kanters
22387fd637
Don't provide defaults for rtscts and baudrate ( #3854 )
...
* Don't provide defaults for rtscts and baudrate
* Update herdsman
2020-07-06 21:37:58 +02:00
Koen Kanters
4900a2501d
Support Home Assistant configuration for external converters. https://github.com/Koenkk/zigbee-herdsman-converters/issues/1343
2020-07-03 21:20:22 +02:00