Koen Kanters
7b65dc631b
Enable TypeScript ( #8074 )
...
* Enable Typescript
* Fix tests
* Fix tests again
* Automatically (re)build
* Updates
* Updates
* Update shrinkwrap
* Enable sourcemaps
2021-07-21 19:35:14 +02:00
Koen Kanters
a76c13c461
Make tests compatible with Jest 27
2021-07-05 20:46:53 +02:00
github-actions[bot]
ab0ae8ce91
Update zigbee-herdsman-converters to 14.0.104 ( #6975 )
...
* Update zigbee-herdsman-converters to 14.0.104
* Update bridge.test.js
* Update otaUpdate.test.js
* Update zigbeeHerdsman.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-04-06 22:24:30 +02:00
Koen Kanters
06a14c5b20
Prepare for https://github.com/Koenkk/zigbee2mqtt/pull/6711
2021-03-14 17:09:43 +01:00
github-actions[bot]
29343f8e9c
Update zigbee-herdsman-converters to 14.0.85 ( #6680 )
...
* Update zigbee-herdsman-converters to 14.0.85
* Update bridge.test.js
* Update zigbeeHerdsman.js
* Update otaUpdate.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-03-13 10:28:48 +01:00
Koen Kanters
00c2894bb4
Reread settings on restart. https://github.com/Koenkk/zigbee2mqtt/discussions/6628
2021-03-09 19:50:05 +01:00
Koen Kanters
049deaf590
Change +- to ≈ for OTA update message. https://github.com/Koenkk/zigbee2mqtt/issues/6397
2021-02-21 20:47:00 +01:00
flatsiedatsie
9dd9f33b4a
OTA updates: add update_check_interval and disable_automatic_update_check options ( #6268 )
...
* OTA privacy enhancement
Adds the option to disallow device-initiated OTA update checks.
Currently these OTA update checks can be quite frequent, and essentially mean the device is indirectly able to ping a cloud server. In the EU it's wise to handle an IP address as personal information, and therefore it might be wise to not enable OTA checking by default. Ideally a user would agree to a privacy policy that clarifies things a bit first.
* Added default settings for OTA update management
* Set update interval in minutes
* OTA update settings
* Adds both settings for OTA updates control
* Update settings.schema.json
* Update settings.js
* Update otaUpdate.js
* Update otaUpdate.test.js
* Update bridge.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-14 18:20:32 +01: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
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
9ff232fbb2
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-12-02 20:38:48 +01:00
Koen Kanters
9c8323326d
Greatly reduce amount of subscribed topics. #4948
2020-11-16 17:03:22 +01:00
qm3ster
f26ddd93ff
Replace "problematic" depenencies
...
Also one comment typo lol
`node-static` was abandoned and vulnerable, which might matter since
it's used in production usage and not development.
replaced with popular `serve-static` + `finalhandler`
`json-stable-stringify` depended on an unneeded and unlicensed
polyfill for JSON builtin.
2020-09-25 15:58:45 +02:00
Koen Kanters
8db16cca3d
Republish devices on OTA update. https://github.com/Koenkk/zigbee2mqtt/issues/4266
2020-09-15 22:13:30 +02:00
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
Koen Kanters
852bca5a08
Implement update state for new api. https://github.com/Koenkk/zigbee2mqtt/issues/3634 https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-08-02 23:09:43 +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
62b26ab4b9
Fix tests
2020-07-14 22:09:11 +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
0a84412d75
Implement OTA commands for new api. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-07-08 23:23:44 +02:00
Koen Kanters
7c0e1b0c65
Don't throw exception when device requets OTA but does not have OTA endpoint. #3339
2020-04-28 21:23:32 +02:00
Koen Kanters
48641f3028
Fix OTA percentage. #3422
2020-04-24 22:38:51 +02:00
Koen Kanters
838cb6e702
Update converters.
2020-04-13 21:15:08 +02:00
Koen Kanters
27b3fd2f03
Update converters.
2020-03-15 22:26:03 +01:00
Koen Kanters
f1a685bea2
Reduce MQTT subscriptions in deviceBind. https://github.com/Koenkk/zigbee2mqtt/issues/3102
2020-03-11 21:30:01 +01:00
Koen Kanters
a16e3542c0
Update herdsman. #3019
2020-02-29 12:43:53 +01:00
Koen Kanters
dd3678f84b
TEMP: disable OTA response. https://github.com/Koenkk/zigbee2mqtt/issues/3019
2020-02-28 23:52:30 +01:00
Koen Kanters
a40ad0c52f
Respond with ABORT when device checks for OTA. https://github.com/Koenkk/zigbee2mqtt/issues/3019
2020-02-28 23:42:59 +01:00
Koen Kanters
f6aba5f64a
Respond with image not available when OTA is requested but we don't support it. #3019
2020-02-28 23:30:33 +01:00
Koen Kanters
6b5b4ab433
Log when update is availabe. 58d987b523 (r37363068)
2020-02-20 20:01:26 +01:00
Koen Kanters
58d987b523
Implement update_available attribute and discover Home Assistant sensor. #2948
2020-02-16 16:00:15 +01:00
Koen Kanters
87faaa1817
Don't crash when devices doesn't respond to read modelID after update. https://github.com/Koenkk/zigbee2mqtt/issues/2921
2020-02-13 21:10:44 +01:00
Koen Kanters
984bad4cb3
Major OTA improvements. https://github.com/Koenkk/zigbee2mqtt/issues/2921
2020-02-09 20:44:37 +01:00
Koen Kanters
83291e242e
OTA https://github.com/Koenkk/zigbee-herdsman/issues/60 ( #2920 )
...
* ota
* Bla
* Update converters.
2020-02-08 19:55:26 +01:00