Nerivec
15fd9b371e
feat: allow to disable external JS extensions ( #31826 )
2026-05-08 20:26:17 +02:00
Koen Kanters
e1e856d7da
fix(ignore): Fix enableDisableExtension ( #31176 )
2026-02-24 20:46:30 +01:00
Nerivec
f8385b8899
fix: Improve startup signals behavior ( #31130 )
2026-02-24 20:23:52 +01:00
Koen Kanters
a77f48f5c4
fix: Fix Home Assistant options cannot be updated while running ( #31151 )
2026-02-24 20:23:35 +01:00
Nerivec
0025ef87c5
fix: Biome floating promises detection ( #30137 )
2025-12-13 20:38:03 +01:00
Nerivec
db20369447
fix: Various fixes to align behaviors (+add benchmarks for dev) ( #28011 )
2025-07-18 21:34:51 +02:00
Koen Kanters
0e0a5618af
fix: Exit with code 2 when adapters disconnects ( #28013 )
2025-07-18 20:32:39 +02:00
Koen Kanters
c87d4524d5
fix(ignore): Migrate to Biome 2 ( #27785 )
2025-06-28 10:20:41 +02:00
Nerivec
cd9b752ede
feat: New health extension & extras in bridge/info ( #27164 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2025-06-16 19:45:36 +02:00
Nerivec
d697c29c7b
fix: Rerun onboarding if Z2M start failed after previous onboarding ( #27386 )
2025-05-12 21:33:55 +02:00
Koen Kanters
b7b92da8ff
fix(ignore): Cleanup publish options ( #27226 )
2025-05-03 08:45:45 +02:00
Koen Kanters
39e4468308
fix: Only send JSON state over WebSocket ( #27225 )
2025-05-03 08:42:07 +02:00
Nerivec
6fbb8b5ca2
fix: Migrate to Biome ( #27150 )
2025-04-18 20:34:47 +02:00
Nerivec
e3d214ba9c
fix: Guard against ZHC throwing ( #27093 )
2025-04-13 20:52:52 +02:00
Nerivec
fc31e0af0a
fix(ignore): partial cleanup for biome move ( #27076 )
2025-04-12 14:02:47 +02:00
[pʲɵs]
7fb10b1dcb
fix: Do not call start() on extensions twice when starting ( #27032 )
2025-04-09 21:31:33 +02:00
Nerivec
db578d9d11
fix: Use dynamic import for optional extensions ( #26735 )
2025-03-15 08:07:56 +01:00
Koen Kanters
1fe2d8dae6
fix(ignore): Remove uncessary extensions spread ( #26581 )
2025-03-02 20:30:36 +00:00
Simon Rettberg
bfeac07c4c
fix: Implement systemd-notify directly ( #26456 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2025-03-02 08:59:28 +01:00
Ricc68
bcec40f84a
fix: Fix URL in startup failed bailout message ( #25339 )
...
Co-authored-by: Ricc68 <Ricc68@local>
2024-12-28 13:59:50 +01:00
Nerivec
06f44533af
feat: Use Vitest for testing ( #25284 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-22 20:19:45 +01:00
Nerivec
758ab34747
fix(ignore): import using node: prefix for built-in ( #25248 )
2024-12-18 22:19:33 +01:00
Koen Kanters
c3b4628a1d
fix: Remove oneOf bool/obj from settings schema ( #25195 )
...
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-12-17 22:27:55 +01:00
Nerivec
1a9c79bb2f
feat: Typing for MQTT API ( #25098 )
2024-12-07 20:21:30 +00:00
Koen Kanters
51f364a1d5
fix(ignore): Fix external converter loading ( #25063 )
2024-12-05 19:58:55 +01:00
Koen Kanters
9bd20afb9c
fix(ignore): Update usb discovery discussion link
2024-12-01 20:54:46 +01:00
Nerivec
9907005256
feat: Live loading of external JS (converters/extensions) ( #24764 )
...
* feat: Live loading of external JS (converters/extensions)
* Fix imports
* Improve error message on MQTT save
* Handle non-existing base path
* Throw on bad converter
* Add tests
* Fix use of ext conv in network map tests.
* More coverage.
* Dont mock zhc for basics, tests actual live loading
* Update
* feat: Live loading of external JS (converters/extensions)
* Fix imports
* Improve error message on MQTT save
* Handle non-existing base path
* Throw on bad converter
* Add tests
* Fix use of ext conv in network map tests.
* More coverage.
* Dont mock zhc for basics, tests actual live loading
* Update
* Fix rebase
* Fix
* Bump zhc
* pretty
* fix typing
* Cleanup `external_converters` setting remnants.
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-01 20:11:34 +01:00
Nerivec
e052988663
fix: Use built-in async for mqtt ( #24786 )
...
* fix: Use async for mqtt.
* Update mocks, fix expects
* Prettier.
* Use appropriate error for publish
* Set max listeners immediately after connect
* Add mqtt v5+ `disconnect` event handler
* Set maximum packet size in `CONNECT` packet
* Fix tests.
* Add setting for maximum packet size.
* Add `reasonString` to disconnect logs
* Fix tests
* Fix
* Prettier
2024-12-01 20:11:34 +01:00
Nerivec
6f6e7c3ee0
fix: Refactor tests to TS ( #24357 )
2024-12-01 20:09:27 +01:00
Nerivec
2124d3450c
fix!: Improve permit join ( #24257 )
...
* fix: Improve permit join
* Update Home Assistant permit join switch
* Remove `permit_join` from `settings.schema.json`
* Update zigbee-herdsman version to pre-release.
* Fix pnpm overrides
* Update test/homeassistant.test.js
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-12-01 20:07:06 +01:00
Koen Kanters
b6186623f0
feat!: The big cleanup ( #24200 )
...
* Remove `deviceGroupMembership`
* Fix controller.ts
* Remove `legacy_api` logic from non-legacy extensions.
* Fix network map coverage.
* Remove all `legacy` extensions.
* Remove `legacy_availability_payload`, `legacy_api`. Remove legacy from configure.
* Fix prettier.
* Remove some leftovers
* Renamed `updateAvailable` to `update_available`
* Remove emitPublishAvailability
* Remove `configuration.yaml`
* Switch to pnpm
* Remove direct mqtt-packet dependency.
* fix pretty
* fix `getDependencyVersion`
* fix pnpm publish
* fix(ignore): fix pnpm publish
* Remove deprecated bridge `config/*`
* Improve update script
* Improve update.sh
---------
Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com >
2024-12-01 20:06:49 +01:00
Koen Kanters
98b977030e
fix(ignore): Changes for improved adapter discovery ( #24147 )
...
* fix: Comment serial config in example configuration
* Link to issue
* Update link
* Update example config
* Feedback
2024-12-01 20:06:37 +01:00
Koen Kanters
e642f7c86a
fix(ignore): Sync eslint settings from zhc ( #23951 )
...
* fix(ignore): Sync eslint settings from zhc
* u
2024-09-12 19:36:57 +00:00
Koen Kanters
afd80449b3
fix(ignore): Migrate to eslint 9 ( #23800 )
...
* Eslint 9
* Automatic changes
* Manual changes
* Process feedback
* u
2024-09-08 14:26:18 +02:00
Nerivec
48d77e4b5e
fix: Enforce TS strict type checking ( #23601 )
...
* Enforce TS `strict` type checking.
* updates
* updates
* updates
* Updates
* Updates
* pretty
* u
* u
* u
* Updates
* updates
* Updates
* Updates
* `ReadonlyArray`
* scenesChanged
* objectID
* Improve coverage
* u
* u
* process feedback
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-09-07 11:40:50 +00:00
Nerivec
13ac8a0f53
fix: Improve looping performance ( #23541 )
...
* Use herdsman improved looping.
* Fix lint.
* Fix tests.
* Feedback
2024-08-08 20:21:40 +02:00
Koen Kanters
bd7dec0f11
fix(ignore): update dependencies ( #23508 )
...
* fix(ignore): update dependencies
* update
---------
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com >
2024-08-05 21:08:40 +00:00
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
Nerivec
282dfd5b01
fix: Fix floating promises originating from index.js ( #22943 )
2024-06-05 20:19:53 +02:00
Nerivec
2b8eaa196a
fix: Enforce no floating promises ( #22880 )
...
* Enforce no floating promises.
* forEach => for/of. Fix tests.
2024-06-04 20:05:39 +02:00
Koen Kanters
04e88baf60
fix: Fix custom cluster not available in frontend https://github.com/Koenkk/zigbee2mqtt/issues/22425
2024-05-10 22:15:38 +02:00
Nerivec
d26ccaed65
fix: Fix logger crashing on restart ( #22565 )
2024-05-09 21:42:28 +02:00
Nerivec
3c1a4afcb7
fix: Convert logger into a class ( #22129 )
2024-04-07 20:52:55 +02:00
Nerivec
73566dff98
feat: Unified logging across z2m/zh/zhc ( #21984 )
...
* Unified logging across z2m/zh/zhc
* Updates
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-04-02 22:33:51 +02:00
koenkk
f83709d96c
fix(ignore): set zhc logger
2024-02-03 12:27:04 +01:00
chrthi
97eac16aaf
fix: Notify systemd for start, stop, watchdog ( #20482 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2024-01-21 21:49:17 +01:00
koenkk
212c70913c
fix: Prevent extension errors from crashing Zigbee2MQTT https://github.com/Koenkk/zigbee2mqtt/issues/20477
2024-01-06 10:19:56 +01:00
Koen Kanters
56f57625b0
feat: Support automatically generating device definitions ( #20358 )
...
* feat: Support automatically generating device definitions
* updates
* update template
2023-12-25 12:46:57 +01:00
Koen Kanters
0bc685a8e3
Sanatize manufacturerName. https://github.com/home-assistant/core/issues/85691
2023-01-24 17:19:56 +01:00
Matt
19bd87de4a
Keep cached device state until Zigbee2MQTT is stopped ( #15770 )
...
* Fix extension path to make debugginge easier in VScode
* Fix linting error
* Add setting "cache_state_persist_on_leave" (default false)
This setting does not remove a device from State if it leaves the network
* Merge from upstream kk/dev
* Re-define cache_state_persist_on_leave to be a timeout
Allows the config to specify how long the state should be held (and the device to re-join & maintain the state).
Remove all pending deletions if the system is stopped
* Add debug. Fix "time" test
* Disable esline warnings for long debug lines
* Simplify state maintenance for leave/join devices
* Restore default configuration.yaml
* Don't track device presence via events, but examine herdsman on system stop
* Update configuration.yaml
* Update state.ts
* Update state.ts
* Update controller.test.js
* Update eventBus.ts
* Update eventBus.ts
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-12-31 10:15:11 +01:00