Commit Graph

5541 Commits

Author SHA1 Message Date
Nerivec 2b36f7492b fix: Optional watchdog for "adapter disconnected"-type events (non-node-crash) (#23043)
* Watchdog for "adapter disconnected"-type events (non-node-crash)

* Reset watchdog count on successful start.

* Cleanup

* Switch from argv to env.
2024-06-19 20:51:04 +02:00
Koen Kanters bcc36811a9 chore: merge master to dev 2024-06-19 12:53:13 +02:00
dependabot[bot] 6c7d52a3ce chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#23105) 2024-06-19 12:52:44 +02:00
Koen Kanters 9f1d6f7d94 chore: merge master to dev 2024-06-19 12:48:53 +02:00
dependabot[bot] 89d3acf1d4 chore(deps): bump ws from 8.17.0 to 8.17.1 (#23100) 2024-06-19 12:48:36 +02:00
Koen Kanters 70e84ddc90 fix(ignore): update zigbee-herdsman-converters to 19.57.1 (#23099)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-18 19:10:38 +00:00
Nerivec 9c2264e86e fix: MQTT code optimization/formatting (#23072)
* MQTT code optimization/formatting

* Feedback.

* Move `onConnect` logic inside `connect` event.
2024-06-18 13:59:07 +02:00
Koen Kanters a85d3e4331 fix(ignore): update zigbee-herdsman-converters to 19.57.0 (#23077)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-16 15:47:07 +00:00
Koen Kanters d45e254f50 fix(ignore): update dependencies (#23073) 2024-06-16 17:42:28 +02:00
Nerivec f57465324a fix: Availability code optimization/formatting (#23065)
* Availability code optimization/formatting

* Fix mock.

* Fix map => some
2024-06-16 17:25:40 +02:00
Koen Kanters 83ac5649d3 fix(ignore): update zigbee-herdsman-converters to 19.56.0 (#23068)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-15 13:26:21 +00:00
ghoz d41cf43a7c fix: Exclude homeassistant entries from null cleanup (#22995)
* exclude homeassistant entries from null cleanup

* Add a test

* Don't hardcode the exclude list, add one more test

* implement suggested changes as per review
2024-06-15 10:27:29 +02:00
Rotzbua fcdae971e5 fix: Remove outdated @types/debounce (#23063)
`debounce` now includes types.
https://github.com/sindresorhus/debounce/releases/tag/v2.0.0
2024-06-15 10:26:38 +02:00
ghoz ef2c939482 fix: Don't call onEvent on disabled devices (#23058)
As z2m requires a restart for  enable/disable to be effective,
we don't need to handle changes at runtime (stop events etc)
2024-06-15 10:26:06 +02:00
Koen Kanters 85356a2932 fix(ignore): update zigbee-herdsman to 0.50.0 (#23064)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-14 21:29:13 +00:00
Koen Kanters a371347ceb fix(ignore): update zigbee-herdsman-converters to 19.55.0 (#23039)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-13 19:48:53 +00:00
Koen Kanters 0754fa8552 fix(ignore): Improve network key hiding https://github.com/Koenkk/zigbee-herdsman/pull/1086 2024-06-13 21:19:09 +02:00
Koen Kanters 47bba42357 fix(ignore): update zigbee-herdsman-converters to 19.54.0 (#23027)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-12 19:23:25 +00:00
ghoz eff341bd14 fix: Differentiate the MQTT publish/ received from regular MQTT logs (#23026)
* Differentiate the spammy "MQTT publish"/"received MQTT message" from regular logs

Rather than creating subnamespaces, keep the z2m:mqtt logger namespace only for those 2 , move back to z2m default for the rest.

* fix tests
2024-06-12 21:01:16 +02:00
Nerivec 6064194e52 fix: Groups code optimization/formatting (#23015) 2024-06-11 21:08:01 +02:00
Koen Kanters 69541c6348 chore: merge master to dev 2024-06-10 22:18:32 +02:00
Koen Kanters f18473017e chore: Fix problem_report template debugging link 2024-06-10 22:18:15 +02:00
Koen Kanters aa53303c0f fix(ignore): update zigbee-herdsman-converters to 19.53.0 (#23007)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-10 20:14:26 +00:00
Koen Kanters dbcae00316 fix(ignore): update dependencies (#22986) 2024-06-09 15:48:05 +02:00
Koen Kanters a4a0c6f3b9 fix(ignore): update zigbee-herdsman-converters to 19.52.0 (#22982)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-08 16:29:39 +00:00
Koen Kanters fd3d9a318d fix(ignore): update zigbee-herdsman-converters to 19.51.0 (#22953)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-05 18:45:20 +00:00
Koen Kanters 76959067e2 fix(ignore): update zigbee-herdsman to 0.49.3 (#22952)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-05 18:24:11 +00:00
Nerivec 282dfd5b01 fix: Fix floating promises originating from index.js (#22943) 2024-06-05 20:19:53 +02:00
Koen Kanters cdfbb17b4a fix(ignore): update zigbee2mqtt-frontend to 0.7.2 (#22938)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-06-04 19:08:43 +00:00
Koen Kanters 9d95d61e32 fix(ignore): update zigbee-herdsman-converters to 19.50.1 (#22936)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-04 18:36:16 +00:00
ghoz 881037c371 feat: Allow hierarchical filtering of logger namespaces (#22859)
* POC: Allow hierarchical filtering of logger namespaces

matches the closes defined namespace log level:

advanced:
  log_namespaced_levels:
    'zh:zstack:unpi': info

would also apply to zh:zstack:unpi:write and zh:zstack:unpi:parse

To limit runtime penalty uses the namespacedLevels as a lazy cache

* Move namespace levels to separate cache

Avoid poluting the namespacedLevel in the config / UI
Add cache reset on config time log level change

* Actually use the cache

* Optimize/Cleanup

* Add some namespace hierarchy filter tests

* More coverage.

* Fix #22935

---------

Co-authored-by: Nerivec <62446222+Nerivec@users.noreply.github.com>
2024-06-04 20:17:35 +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
Adam Goode dbf0a3358d fix: Set voc_index to mdi:molecule to match other VOC icons in Home Assistant (#22920) 2024-06-04 20:00:30 +02:00
Koen Kanters 6fbf14cced fix(ignore): update zigbee-herdsman-converters to 19.50.0 (#22918)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-03 18:55:10 +00:00
Adam Goode 40ad896114 fix: Support ppb and ppm for VOC reporting in Home Assistant (#22895)
See https://github.com/home-assistant/core/pull/92973.
2024-06-03 20:11:40 +02:00
Koen Kanters 6c123c28b3 fix(ignore): update zigbee-herdsman-converters to 19.49.0 (#22902)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-02 19:25:26 +00:00
Adam Goode 519e123b69 fix: Use occupancy device_class instead of motion for occupancy sensors (#22896)
'occupancy' matches the zigbee terminology more closely and is more
consistent with other Home Assistant entities of this type.

https://www.home-assistant.io/integrations/binary_sensor/

In general, it looks like 'motion' is more for alarms, and 'occupancy'
for non-alarm situations. Z2M currently makes no distinction between
these concepts, but they could be separated (with a fair amount of work).
2024-06-02 21:11:00 +02:00
Koen Kanters 8b4f753c5d chore: merge master to dev 2024-06-02 15:59:59 +02:00
Koen Kanters 0e6da85d19 chore: fix problem_report.yaml logging link 2024-06-02 15:59:38 +02:00
Koen Kanters 8f195f67e6 fix(ignore): update dependencies (#22883)
* fix(ignore): update dependencies

* Update homeassistant.test.js

---------

Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-02 11:33:34 +02:00
Koen Kanters 457ed86ef8 fix(ignore): TuYa -> Tuya https://github.com/Koenkk/zigbee2mqtt/discussions/22876 2024-06-01 16:44:22 +02:00
Koen Kanters 6924db79e8 fix: Add logging for interview https://github.com/nurikk/zigbee2mqtt-frontend/pull/2027 2024-06-01 16:30:38 +02:00
github-actions[bot] 137087d8ac chore: promote to dev 2024-06-01 09:29:38 +00:00
Koen Kanters fe048e6e66 chore(dev): release 1.38.0 (#22867) 1.38.0 2024-06-01 11:18:35 +02:00
Koen Kanters aa439d6687 chore: Move to googleapis/release-please-action@v4 2024-06-01 11:16:56 +02:00
Koen Kanters b5fc1689c4 chore: remove Helm chart, moved to Koenkk/zigbee2mqtt-chart 2024-06-01 11:13:21 +02:00
Koen Kanters 33d8223e52 fix(ignore): update zigbee-herdsman-converters to 19.47.1 (#22865)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-01 09:05:00 +00:00
Koen Kanters 2cc68fd862 fix(ignore): update zigbee-herdsman to 0.49.2 (#22864)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-06-01 08:49:39 +00:00
Koen Kanters a02fd3cee6 fix(ignore): update zigbee-herdsman-converters to 19.47.0 (#22855)
Co-authored-by: Koenkk <2892853+Koenkk@users.noreply.github.com>
2024-05-31 18:50:52 +00:00
Koen Kanters a3ea91deb9 fix(ignore): update zigbee2mqtt-frontend to 0.7.1 (#22854)
Co-authored-by: nurikk <1525421+nurikk@users.noreply.github.com>
2024-05-31 18:45:28 +00:00