Crowbar Z
2515d5f816
Support Tradfri Remote buttons triggering polling ( #6192 )
...
* Support Tradfri Remote buttons triggering polling
* Update Tradfri remote test commandStepWithOnOff
Will now poll both LevelCtrl and OnOff in case light turns on
* Update the right test this time
* Updating both tests
* Update debounce test
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-09 17:20:33 +01:00
Koen Kanters
1b32a46649
Setup reporting when binding and make report feature deprecated ( #5529 )
...
* Initial
* Updates
* Some tests
* tests
* Updates
* Move poll to bind
* Move report to legacy
* Updates
* Remove toPoll key. https://github.com/Koenkk/zigbee2mqtt/pull/5529#pullrequestreview-570285310
* Updates
* Updates
* Update bridge.test.js
* Fix tests
2021-01-22 18:56:44 +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
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
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
Koen Kanters
946ebe16b6
Allow to specify which clusters are being bound/unbound. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-07-28 21:05:02 +02:00
Koen Kanters
d81f5575ff
Bind for new api. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-07-12 21:56:11 +02:00
Koen Kanters
67151fba04
Refactor bind
2020-04-15 20:36:40 +02:00
Koen Kanters
f171d54e4b
Refactor extension names.
2019-02-13 21:03:23 +01:00
Koen Kanters
a62f4289a7
Log more to MQTT. #1075
2019-02-13 19:49:06 +01:00
Koen Kanters
c9c599b60b
Refactor publishDeviceState to publishEntityState (for future group support).
2019-02-04 18:36:49 +01:00
Koen Kanters
4558bffd41
Don’t setup reporting for binding, use report functionallity. #782
2019-02-02 00:37:42 +01:00
Koen Kanters
b8744ce890
Add reporting feature. #966
2019-02-01 19:04:49 +01:00
Koen Kanters
92de1ca942
Implement binding feature. #765 #782 ( #783 )
...
* Start on bind implementation. https://github.com/Koenkk/zigbee2mqtt/issues/765
* Finish binding implementation.
2018-12-30 22:42:55 +01:00