Koen Kanters
30227a13ae
chore: Implement prettier ( #23153 )
...
* chore: Implement prettier
* Run prettier
* fix lint
* process feedback
* process feedback
2024-06-24 18:58:47 +00:00
Koen Kanters
b2d32657f3
fix(ignore): Allow deprecated warn log_level https://github.com/Koenkk/zigbee2mqtt/issues/22706
2024-05-22 20:12:15 +02:00
Koen Kanters
ce6043acb0
fix: Improve settings changing ( #22674 )
...
* Add namespaced levels for logger. Add NS to mqtt. Deprecate 'warn'.
* Improve setting validation.
* Fix setting through frontend
* Support reload + frontend improvements
* update description
* remove requiresRestart
* Fix tests.
* Fix namespaced logging at lower levels. Add better tests.
* fix: Fix settings changing
* remove `removeNullPropertiesFromObject` from bridge
* Add extra test
* update
---------
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-05-19 16:01:28 +02:00
Nerivec
2eec6a4d26
fix: Add namespace-specific levels support to logger ( #22619 )
...
* Add namespaced levels for logger. Add NS to mqtt. Deprecate 'warn'.
* Improve setting validation.
* Fix setting through frontend
* Support reload + frontend improvements
* update description
* remove requiresRestart
* Fix tests.
* Fix namespaced logging at lower levels. Add better tests.
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-05-19 15:47:40 +02:00
Nerivec
eb49f523bf
fix: Add settings for finer control over debug log level ( #22426 )
...
* Add settings for finer control over debug log level.
* Updates from feedback.
2024-05-05 21:52:26 +02:00
Koen Kanters
c5c0a8b193
feat: Add experimental Ember adapter @Nerivec https://github.com/Koenkk/zigbee-herdsman/pull/918 ( #21459 )
2024-02-18 22:11:09 +01:00
Viacheslav Bocharov
48347a51dc
fix: Allow null for zigbee_ota_override_index_location option ( #20151 )
2023-12-11 19:25:49 +01:00
Nicolas Thumann
45ac44dd06
fix: Make frontend listen on both IPv4 and IPv6 by default ( #19660 )
...
* Change: Set frontend host to null by default
* Change: Allow frontend to listen on port without host
* Change: Unit test
* Add: Unit test
2023-11-10 21:57:53 +01:00
Rotzbua
83e331323c
fix: Correct typos ( #19143 )
...
Credit to `codespell`.
2023-10-03 10:54:13 +02:00
Koen Kanters
aa021d988d
feat: Support generating extended_pan_id ( #18596 )
...
* feat: Support generating extended_pan_id
* Update configuration.example.yaml
2023-08-12 15:07:30 +02:00
oddlama
07d238d5b9
Support hosting the frontend on a Unix socket ( #17123 )
2023-03-23 17:08:23 +01:00
mtdcr
06820d2220
Sane defaults for remote syslog ( #16300 )
...
The most commonly used transport for remote syslog is port 514/udp.
It also is the only defined method for BSD syslog (RFC 3164). RFCs
5424+5425 specify an additional TLS transport via 6514/tcp, which
does not seem to be supported by zigbee2mqtt, as evidenced by the
lack of TLS-related configuration options in this area. RFC 6587
describes legacy uses of syslog over TCP, recommending against them.
Port 123, the previous default, was probably used by accident and
is reserved for NTP.
| $ grep -w -e 123 -e 514 -e 601 -e 6514 /etc/services
| ntp 123/udp # Network Time Protocol
| shell 514/tcp cmd syslog # no passwords used
| syslog 514/udp
| syslog-tls 6514/tcp # Syslog over TLS [RFC5425]
2023-01-23 19:31:10 +01:00
Koen Kanters
1f642d86e8
Add disabled option ( #15589 )
...
* Add disabled option
* Updates
* Tests
* Add restart required
2022-12-23 23:56:29 +01:00
Pheel Ti
b0e352bfea
Support HTTPS for frontend server ( #15329 )
...
* Adding 2 config params under 'frontend' : 'ssl_cert' and 'ssl_key' to contain file patch of certificate files to expose frontend in HTTPS.
* Taking all PR remarks in account.
Co-authored-by: phil <phil@8godsprod.com >
2022-12-04 19:33:04 +01:00
dreed47
ced2ba7344
small clarification to the description for adding a user-defined device icon ( #14960 )
...
* small clarification to the description for adding a user-defined device icon
* small wording change
2022-11-14 17:49:18 +01:00
Jorge Schrauwen
db021e6711
Allow regexes for filtered_attributes, filtered_cache and filtered_optimistic options ( #13047 )
...
* Ensure filtered_attributes and filtered_optimistic are also regex
Bring filtered_attributes and filtered_optimistic in line with the newer filtered_cache.
All three of them are now regex matches instead of absolute matches.
* update tests to use regex ^$ anchors
* utils: add filterProperties
2022-07-06 17:07:22 +02:00
Jorge Schrauwen
dedbf336af
Add filtered_cache option ( #12988 )
...
* want a way to prevent attribute from being cached
* Update filtered_cache description to be more clear
* Fix emitStateChange was returning wrong payload in to parameter
* Directly get filtered_cache from entity and forgo parameter to State.set()
* Add tests to cover filtered_cache
* Update state.ts
* Update controller.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-07-02 20:33:04 +02:00
Koen Kanters
f2e953cf18
Add group off_state option ( #12868 )
2022-06-18 15:47:06 +02:00
Koen Kanters
40ef638e0e
Fix null not allowed for Home Assistant device options. #12340
2022-05-03 19:39:30 +02:00
John Doe
27bc646cf6
Add home assistant name to settings schema ( #12191 )
...
Co-authored-by: nurikk <ainur@yojee.com >
2022-04-16 10:27:41 +08: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
30177b0db4
Restructure settings ( #10437 )
...
* -
* deep copy schema
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
* -
2022-01-09 22:28:44 +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
Rotzbua
e8caddaf63
Fix typo: suppress ( #10490 )
...
* Fix typo: suppress
* Fix typo: discovered
2022-01-02 07:11:39 +00:00
Koen Kanters
7592c627c2
Fix typo in settings.schema.json. https://github.com/Koenkk/zigbee2mqtt/pull/9803
2021-12-08 17:46:17 +01:00
tteckster
372ec315b5
Update settings.schema.json ( #9803 )
...
* Update settings.schema.json
* Update settings.schema.json
2021-11-23 18:00:44 +00:00
Pavel Sokolov
181944d2ff
Fix invalid frontend.host default value in schema ( #9508 )
2021-11-05 19:08:34 +01:00
Koen Kanters
7415e8416d
Update availability config title. https://github.com/Koenkk/zigbee2mqtt/issues/6281
2021-10-04 21:24:31 +02:00
Koen Kanters
30badb62e7
Update availabiltiy config schema. https://github.com/Koenkk/zigbee2mqtt/issues/6281
2021-10-04 17:48:05 +02:00
Koen Kanters
0282011255
Replace old availability implementation with new one ( #8904 )
...
* Update
* Updates
* More refactoringzzz
* Bindoo
* Loadz of typescripting
* Logga
* Updates
* Updates
* Updates
* Updates
* cleanup
* updates
* Fix coverage
* Fixes
* Updates
* Updates
* Replace old availability implementation with new one.
2021-10-02 10:25:43 +02:00
github-actions[bot]
d67649e458
Update dependencies ( #7956 )
...
* Update dependencies
* Update dependencies
* updates
* update
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-07-05 22:12:50 +02:00
Franck Nijhof
000884b080
Deprecate Home Assistant entity attributes ( #7683 )
...
* Deprecate Home Assistant entity attributes
* Adjust test to match latest dev
* Set default only for new installations
* Fix tests
2021-06-08 15:33:14 +02:00
Jorge Schrauwen
e1bc0b53a2
Update title/description for filtered_attributes and filtired_optimistic ( #7643 )
...
* Update title/description for filtered_attributes and filtired_optimistic
The way the frontend displays it is a bit confusing, this should hopefully clear that up.
* Lint
2021-05-30 17:27:23 +02:00
Jorge Schrauwen
15a7bab5f3
#7571 Add filtered_optimistic device option ( #7633 )
...
* Add filtered_optimistic device option
* Add test to cover filtered_optimistic
2021-05-30 13:03:55 +02:00
John Doe
fb7be8684f
Fix json schema default values and examples ( #7426 )
2021-05-11 09:25:55 +08:00
Koen Kanters
febcb2b1c7
Set default for adapter to auto in schema. https://github.com/nurikk/z2m-frontend/issues/449
2021-05-05 19:50:59 +02:00
Koen Kanters
37f773a5ee
Add auto adapter type.
2021-05-04 20:04:21 +02:00
Koen Kanters
a35faa9554
Allow null values for serial.adapter. https://github.com/nurikk/z2m-frontend/issues/449
2021-05-03 20:44:33 +02:00
daxy01
edc18e3376
Add log_symlink_current option ( #7166 )
...
* Update logger.js
Adding a symlink from "log/<timestamp>" to "log/current" to be able to always view the last logfile using "log/current/log.txt".
* Update logger.js
* Update logger.js
Create directory first to prevent startup failure
* Update logger.js
Fixing check on startup
* Update settings.js
* Update logger.js
* Update settings.schema.json
* Update bridge.test.js
* Update logger.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-04-25 19:21:38 +02:00
Hedda
75dc72550f
Add 57600 as another common baud rate speed example ( #7094 )
...
* Add 57600 as another common board date example
Add 57600 as another common board date example to avoid confusions like in https://github.com/Koenkk/zigbee-herdsman/issues/319
* Spelling and grammar
Spelling and grammar
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-04-17 14:45:48 +02:00
ptvo
d5d16d1616
Update schema with the Icon device property. ( #7018 )
...
* Device-specific icon
* Updated tests.
* Updated test
* Updated tests
* Updated tests.
* Updated tests
* Update schema with the Icon device property.
* Fix
Co-authored-by: ptvoinfo <xagga@ya.ru >
2021-04-09 20:52:41 +08:00
John Doe
39239d1416
Revert "Add additionalProperties to device schema ( #6687 )" ( #6692 )
...
This reverts commit eb930ac544 .
2021-03-13 20:59:44 +08:00
John Doe
eb930ac544
Add additionalProperties to device schema ( #6687 )
2021-03-13 11:22:23 +01:00
Koen Kanters
4100ebb670
Update update_check_interval in settings.schema.json. https://github.com/Koenkk/zigbee2mqtt/commit/fb2ab44e3e28a242ae12bbaf78864f470910dc62
2021-03-02 20:24:27 +01:00
Ilya Kirov
d77231b99f
Added "ezsp" adapter to schema ( #6532 )
2021-03-02 19:41:56 +01:00
Timoline
f1a473d506
Updated transmit_power description ( #6318 )
...
Updated transmit_power description
2021-02-16 19:20:04 +01:00
Timoline
6f2210e792
Added syslog settings ( #6312 )
...
* Added syslog settings
not perfect yet, should be a dependencie of other setting
* fixed typo
* Update settings.schema.json
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-02-16 19:09:43 +01:00
Timoline
0b66e84295
Added examples for MQTT protocol version ( #6303 )
2021-02-15 19:36:17 +01:00
Timoline
6ab609cd46
added some examples for channel in schema ( #6279 )
2021-02-15 17:59:01 +01:00
Timoline
e358ec305e
Update update_check_interval to type number ( #6278 )
2021-02-15 17:58:39 +01:00