Koen Kanters
49f37acd18
Add adapter_delay option. https://github.com/Koenkk/zigbee2mqtt/issues/4884
2020-11-18 18:46:13 +01:00
William Sutton
1c3ad9da72
Log zigbee-herdsman version on startup ( #4930 )
...
* add getZigbeeHerdsmanVersion Function
Allow current zigbee-herdsman version to be exposed to controller for logging and to startup output.
* Update utils.test.js
Add tests for getZigbeeHerdsmanVersion() function
* Update utils.js
Added getZigbeeHerdsman to module exports
* Update utils.js
Fixed path because I'm dumb.
* Update utils.test.js
Apparently version numbers are important when they're different.
* Update zigbee.js
Added actual display of herdsman version output.
* Update utils.js
Remove git checking in getZigbeeHerdsmanVersion()
* Update utils.test.js
Remove commitHash from getZigbeeHerdsmanVersion test
* Update utils.js
Remove commitHash from getZigbeeHerdsmanVersion
* Update utils.js
* Update utils.test.js
* Update utils.js
Try removing less code this time.
* Update utils.test.js
* Update zigbee.js
* Update utils.js
* Update utils.js
* Update utils.test.js
* Update utils.js
* Update utils.test.js
* Update utils.js
* Update utils.js
* Update zigbee.js
* Update utils.js
Generalize getZigbeeHerdsmanVersion() to getDependVersion(), so any node_module dependency can be checked
* Update zigbee.js
* Update utils.test.js
* Update utils.js
* Update zigbee.js
* Update utils.test.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update zigbee.js
* Update utils.js
* Update zigbee.js
* Update utils.test.js
* Update zigbee.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-14 17:25:22 +01:00
Koen Kanters
8202a10837
Permit joining on specific device. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-10-11 15:05:21 +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
Koen Kanters
c29cc784ba
Touchlink identify. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-09-09 18:24:32 +02:00
Koen Kanters
14da75f4a7
Touchlink factory reset specific device and scan. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-09-08 20:24:49 +02:00
Koen Kanters
676684158a
Fix messages from Xiaomi devices skipped sometimes when send through Xiaomi router. #3592 ( #4170 )
...
* Update receive.js
* Fix messages from Xiaomi devices skipped sometimes when send through Xiaomi router. https://github.com/Koenkk/zigbee2mqtt/issues/3592
2020-08-23 22:05:48 +02:00
Koen Kanters
d167b149ad
Refactor device options retrieval
2020-08-17 20:57:12 +02:00
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
lionel590
ded3a58883
Network parameters / config displayed in zigbee2mqtt/bridge/config ( #4010 )
...
* Update zigbee.js
* added network parameters to zigbee2mqtt/bridge/config
* added network parameters to zigbee2mqtt/bridge/config
* added test for network config in zigbee2mqtt/bridge/config
* Fix network data
* Added test data for network parameters
* Update zigbee.js
* Update zigbee.js
* Update bridge.test.js
* Update bridge.test.js
* Update utils.js
* Update bridge.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-07-30 22:31:52 +02:00
Koen Kanters
6d9affaa49
Revert "Fix device incorrectly identified when still interviewing. #3947 "
...
This reverts commit 1d3a577fc4
.
2020-07-22 13:44:56 +02:00
Koen Kanters
1d3a577fc4
Fix device incorrectly identified when still interviewing. #3947
2020-07-21 20:26:07 +02:00
Koen Kanters
67f02adbd0
Prefer blocklist/passlist over blacklist/whitelist
2020-07-15 23:22:32 +02:00
Koen Kanters
409fb2407a
#3281 Add tests for new bridge API
2020-05-24 18:16:39 +02:00
Koen Kanters
856ecf47f1
Start on new API implementation. #3281
2020-05-04 20:06:50 +02:00
Koen Kanters
d22e73ebb4
#3271 Allow to randomize network_key by settings 'network_key: GENERATE'
2020-04-21 21:58:43 +02:00
Koen Kanters
838cb6e702
Update converters.
2020-04-13 21:15:08 +02:00
Koen Kanters
4fa9aaa0b2
Refactor
2020-04-05 15:41:24 +02:00
Koen Kanters
3ef7555ca2
Refactor
2020-04-05 00:05:05 +02:00
Koen Kanters
eeb85cf096
Update herdsman and converters.
2020-03-30 21:56:34 +02:00
Koen Kanters
6b9baf0114
Allow to specify adapter type. https://github.com/Koenkk/zigbee-herdsman/issues/72
2020-03-19 19:34:11 +01:00
Koen Kanters
99fd93f9a7
Allow setting transmit power. https://github.com/Koenkk/zigbee2mqtt/issues/2253
2019-11-27 22:02:49 +01:00
Koen Kanters
d37d9ee859
Factory reset device through Touchlink.
2019-11-23 20:44:23 +01:00
Koenkk
e2858dc90f
Fix topic postfix detection having number. #2309
2019-11-11 17:36:33 +01:00
Tim Kent
45c6f2345c
Fix extendedPanID parameter name ( #2283 )
...
* Fix extendedPanID parameter name
* Update herdsman and fix tests.
2019-11-06 19:43:12 +01:00
Koen Kanters
99118a0ad8
Update herdsman.
2019-11-05 20:42:32 +01:00
Koen Kanters
cb3ec45294
Fix lint.
2019-10-26 18:25:51 +02:00
Koen Kanters
7e9dfd4f41
Accept device without log when no ban or whitelist set.
2019-10-26 18:05:40 +02:00
Koen Kanters
f64285703c
Implement acceptJoiningDeviceHandler.
2019-10-17 22:01:39 +02:00
Koen Kanters
f1b4cd0480
Don't log start error twice.
2019-10-16 19:33:55 +02:00
Koen Kanters
ba92f73961
Resolve Coordinator to coordinator. https://github.com/Koenkk/zigbee2mqtt/issues/2100
2019-10-09 19:40:46 +02:00
Koen Kanters
a3bbb93f99
Update zigbee-herdsman and zigbee-herdsman-converters.
2019-10-07 19:34:10 +02:00
Koen Kanters
fc3a826f50
Bump zigbee-herdsman. https://github.com/Koenkk/zigbee2mqtt/issues/892
2019-09-30 21:16:00 +02:00
Koen Kanters
9964d8e462
Fix various crashes when removing a device. https://github.com/Koenkk/zigbee2mqtt/issues/2004
2019-09-26 01:14:58 +02:00
Koen Kanters
41e68c8ffe
Update zigbee-herdsman to 0.7.0.
2019-09-23 22:21:27 +02:00
Koen Kanters
9c5b3bf4d1
Use lastSeen from zigbee-herdsman.
2019-09-12 22:48:23 +02:00
Koen Kanters
d83085ea7f
Zigbee-herdsman ( #1945 )
...
* Update zigbee-herdsman and zigbee-shepherd-converters.
* Force Aqara S2 Lock endvices (#1764 )
* Start on zigbee-herdsman controller refactor.
* More updates.
* Cleanup zapp.
* updates.
* Propagate adapter disconnected event.
* Updates.
* Initial refactor to zigbee-herdsman.
* Refactor deviceReceive to zigbee-herdsman.
* Rename
* Refactor deviceConfigure.
* Finish bridge config.
* Refactor availability.
* Active homeassistant extension and more refactors.
* Refactor groups.
* Enable soft reset.
* Activate group membership
* Start on tests.
* Enable reporting.
* Add more controller tests.
* Add more tests
* Fix linting error.
* Data en deviceReceive tests.
* Move to zigbee-herdsman-converters.
* More device publish tests.
* Cleanup dependencies.
* Bring device publish coverage to 100.
* Bring home assistant test coverage to 100.
* Device configure tests.
* Attempt to fix tests.
* Another attempt.
* Another one.
* Another one.
* Another.
* Add wait.
* Longer wait.
* Debug.
* Update dependencies.
* Another.
* Begin on availability tests.
* Improve availability tests.
* Complete deviceAvailability tests.
* Device bind tests.
* More tests.
* Begin networkmap refactors.
* start on networkmap tests.
* Network map tests.
* Add utils tests.
* Logger tests.
* Settings and logger tests.
* Ignore some stuff for coverage and add todos.
* Add remaining missing tests.
* Enforce 100% test coverage.
* Start on groups test and refactor entityPublish to resolveEntity
* Remove joinPathStorage, not used anymore as group information is stored into zigbee-herdsman database.
* Fix linting issues.
* Improve tests.
* Add groups.
* fix group membership.
* Group: log names.
* Convert MQTT message to string by default.
* Fix group name.
* Updates.
* Revert configuration.yaml.
* Add new line.
* Fixes.
* Updates.
* Fix tests.
* Ignore soft reset extension.
2019-09-09 19:48:09 +02:00
Koen Kanters
a60fdd75dc
zcl-id > Zcl.
2019-08-11 14:13:44 +02:00
clockbrain
3ae2d2b946
Network map routes selectable by mqtt topic ( #1736 )
2019-07-15 20:02:56 +02:00
clockbrain
7a19c8876a
Network map fixes ( #1676 )
...
* Include scan failed note in network map
* Include relationship in map structure
* Clearer source and destination node naming
* eslint fixes
* More eslint fixes
* Removed empty brackets for no routes
* Reposition short address in device node
* eslint fixes
2019-07-01 16:10:50 +02:00
Viet Dzung
7b2522f712
Support whitelist devices feature #1643 ( #1654 )
...
* Support whitelist devices feature #1643
* Control via MQTT
* Log
2019-06-25 19:38:36 +02:00
Koen Kanters
0e9931af6c
Improve bind logging. https://github.com/Koenkk/zigbee2mqtt/issues/1662
2019-06-24 20:25:37 +02:00
clockbrain
3981c1c6e4
Include network routes on the map ( #1641 )
...
* Initial inclusion of routes on map
* Forgot to include zigbee.js
* Hex string for route address
* Rebaseline to dev
* Cleaner merging of scan arrays
* style fixes
2019-06-16 13:49:15 +02:00
Koen Kanters
94e03d4189
Update zigbee-herdsman
2019-06-15 22:57:35 +02:00
Koen Kanters
e30ff9e722
Move to zigbee-herdsman.
2019-06-15 22:20:54 +02:00
clockbrain
dd49a76e5c
Network map rewrite using queue ( #1626 )
...
* Initial rewrite of network map scan using queue
* Rename routerList to scanList
* eslist fixes
* More eslint fixes
* Timeout now dynamic based on number of scanable devices
2019-06-13 21:43:12 +02:00
Koen Kanters
82dc8437a1
Get rid of logging during test cases.
2019-06-10 00:01:48 +02:00
clockbrain
4497214588
Network map fixes ( #1590 )
...
* Remove device status from network scan topology
* Random start for each lqi scan then sort resultant link map
* Fix log statement order
* Sort network map links by composite key
* Fix typo in link sorting
* Fix eslint formatting
2019-06-02 10:05:44 +02:00
clockbrain
4b14222bda
Network map error handling ( #1565 )
...
* Catch errors from failing network scans
* Tidier code for process result
* Fix eslint format errors
2019-05-24 18:21:53 +02:00
clockbrain
c4e9ea208a
Add debugging for network scan ( #1559 )
...
* Add debugging for network scan
* Fix eslint warning
2019-05-23 18:53:47 +02:00