Koen Kanters
01b46cf74e
Use fileVersion for Home Assistant update sensor instead of softwareBuildID ( #15630 )
...
* Use fileVersion for Home Assistant update sensor instead of softwareBuildID. https://github.com/Koenkk/zigbee2mqtt/issues/15502
* Remove onlythis
2022-12-18 22:05:16 +01:00
Koen Kanters
891392ff9a
Revert "Fix Home Assistant installed_version error ( #15369 )" ( #15396 )
...
This reverts commit ba2d9aefe6 .
2022-12-06 17:31:48 +01:00
Koen Kanters
ba2d9aefe6
Fix Home Assistant installed_version error ( #15369 )
...
* Fix HA installed_version error
* add link
2022-12-05 16:52:11 +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
Koen Kanters
342955666a
Fix 'dict object' has no attribute 'installed_version'. https://github.com/Koenkk/zigbee2mqtt/discussions/15039
2022-11-17 17:52:59 +01:00
Koen Kanters
1d36dfd932
Support Home Assistant MQTT update #14748 ( #14905 )
2022-11-09 21:01:30 +01:00
github-actions[bot]
ecfc7e8906
Update zigbee-herdsman-converters to 14.0.659 ( #14780 )
...
* Update zigbee-herdsman-converters to 14.0.659
* Fix tests
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-11-02 20:56:54 +00:00
Koen Kanters
68e5b39172
Mock update.state for Home Asisstant sensor. https://github.com/Koenkk/zigbee2mqtt/issues/9939
2021-12-03 19:08:00 +01:00
John Doe
ed9d09a629
Replace serve-static with connect-gzip-static ( #9921 )
...
* Replace serve-static with connect-gzip-static in order to serve .gz files
* Make linter happy
Co-authored-by: nurikk <ainur@yojee.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-12-01 07:20:53 +00:00
Koen Kanters
a774b43d63
Fix Home Assistant template variable warnings ( #9088 )
...
* Fix more template warnings. https://github.com/Koenkk/zigbee2mqtt/issues/8769
* Update
* Updates
2021-10-09 19:41:00 +02:00
github-actions[bot]
bee7474b8f
Update dependencies ( #8298 )
...
* Update dependencies
* Update frontend.js
* Update frontend.js
* Update frontend.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-08-10 19:12:13 +02:00
Koen Kanters
a76c13c461
Make tests compatible with Jest 27
2021-07-05 20:46:53 +02:00
Koen Kanters
2fe085d409
Home Assistant: don't publish mocked values anymore replaced by unknown state in #7032
2021-05-01 17:01:59 +02:00
Koen Kanters
5963f3b7f4
Home Assistant: set unknown values to null ( #7032 )
2021-04-12 16:59:41 +02:00
Koen Kanters
00c2894bb4
Reread settings on restart. https://github.com/Koenkk/zigbee2mqtt/discussions/6628
2021-03-09 19:50:05 +01:00
John Doe
028792e5b4
Implement extension loading api ( #6378 )
...
* Implement extension loading api
* Fix frontend tests
* Implement saving and unloading extensions
* Save after loading
* Add tests
* Fix coverage
* Refactor frontent test calls
* Update controller.js
* Review fixes
* Update utils.js
* Rename list topic
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-02-22 21:29:58 +08:00
Koen Kanters
0b006ae9e7
Fix tests
2021-02-06 18:29:36 +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
81704f1807
Fix setting brightness via "brightness_[ENDPOINT]" not working. #5186
2020-12-04 16:41:06 +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
John Doe
dba9b4d931
Fix network map request failing when device has no exposes. ( #5161 )
...
* Fix map request if external converter doesn't have exposes attribute
* Remove dead code
2020-12-02 19:25:56 +01:00
John Doe
68f243221f
Add auth to frontend and remove development server ( #5079 )
...
* Add frontend authentification
* Delete auth_token from bridge/info
2020-11-25 16:28:02 +01:00
Roman
481cdefafc
Add host bind option for frontend ( #5014 )
...
* Added IP address bind to HTTP frontend listener
* Changed ip to host in configuration and code
Co-authored-by: romanius <me@romanius.me >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2020-11-23 19:09:47 +01:00
Koen Kanters
cbf353e387
Fix linkquality N/A when refreshing frontend. https://github.com/Koenkk/zigbee2mqtt/issues/4942
2020-11-13 17:29:23 +01:00
Koen Kanters
8f40d18c0a
Fix last seen unknown when opening frontend. #4266
2020-10-07 17:05:46 +02:00
Koen Kanters
4bb3ddcff2
Make frontend non-experimental. https://github.com/Koenkk/zigbee2mqtt/issues/4266
2020-09-27 22:18:48 +02: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
John Doe
2caaaa8d24
Fix mallformed (nullish) messages handling ( #4347 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2020-09-13 15:38:10 +02:00
John Doe
9cabe1e23a
Fix frontend api messages pollution ( #4326 )
2020-09-10 20:54:03 +08:00
Koen Kanters
ba7a85bbb5
Frontend ( #4232 )
...
* Initial implementation of backend for frontend.
* Frontend fixes (#4205 )
* Send data to frontend api withoud baseTopic preffix
* Send frontend api requests to mqtt
* Fix topic name sanitisation
* Fix base_topic trimming
* Update frontend.js
* Add zigbee2mqtt-frontend dependency
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
* Dont' setup separate MQTT connection.
* Correctly stop
* Add frontend tests.
* [WIP] Bindings structure change (#4233 )
* Change bindings location
* Bump frontend version
* Republish devices on bindings change
* Fix data structure
* Fix payload double encoding
* Change endpoints structure
* Expose config to bridge/info
* Fix typo
* Updates
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
* Resend states on ws reconnect
* Update deps
* Bump frontend (#4264 )
Co-authored-by: John Doe <nurikk@users.noreply.github.com >
2020-09-04 18:42:24 +02:00