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
clockbrain
22b64d09f2
Network map ( #1546 )
...
* Initial iterative rewrite of network scan
* Remove unused linkKey
* Restore original log message
* Cleaner array flattening
* Fix various travis warnings
* Add a timeout so partial map can be generated
* Fix further eslint issues
* Add a timeout so partial map can be generated
* Fix further eslint issues
2019-05-21 21:04:14 +02:00
Koen Kanters
1e04c229dd
Merge remote-tracking branch 'origin/master' into dev
2019-05-19 19:34:02 +02:00
clockbrain
31d21546b9
Simpler network map scan ( #1543 )
...
* Initial iterative rewrite of network scan
* Remove unused linkKey
* Restore original log message
* Cleaner array flattening
* Fix various travis warnings
2019-05-19 19:33:30 +02:00
Koen Kanters
7f9104367b
Reduce permitJoin interval to 160 seconds to fix pairing devices after pairing E1603. https://github.com/Koenkk/zigbee2mqtt/issues/1099
2019-05-19 19:10:51 +02:00
Koen Kanters
9cc82701c1
Fix crash when device not in configuration.yaml
2019-05-14 19:25:13 +02:00
Andreas Brett
3d74a6e031
log friendly name when possible ( #1524 )
...
* log friendly name when possible
* make travis happy
2019-05-14 17:51:43 +02:00
Koen Kanters
ba1eca82eb
Reenable joining after 200 seconds. https://github.com/Koenkk/zigbee2mqtt/issues/1429 #1445
2019-05-07 21:16:25 +02:00
Koen Kanters
c2edaed866
Backup coordinator on start.
2019-04-14 18:53:34 +02:00
Koen Kanters
2d4c447ee1
Add CC2652R backup mechanism.
2019-04-14 16:27:02 +02:00
Koen Kanters
32db1fd07a
Fix acceptDevIncoming. #538
2019-04-01 20:30:27 +02:00
Koen Kanters
2f52b851a9
Add extra acceptDevIncoming logging. #538
2019-03-30 16:48:58 +01:00
Koen Kanters
c737f569f9
Allow already connected devices to rejoin. #1294 #1334
2019-03-29 19:18:15 +01:00
Koen Kanters
9a15e8c118
Improve ban functionallity. #816
2019-03-26 21:40:31 +01:00
Koen Kanters
008fda4d90
Introduce new ping mechanism (‘basic’) and use it for Xiaomi. https://github.com/Koenkk/zigbee2mqtt/issues/1248
2019-03-23 17:45:28 +01:00
Oli
a2a90bcdbd
Log zigbee2mqtt version information to bridge/config ( #1267 )
...
* add coordinator_firmware to bridge/config
* Add zigbee2mqtt version and commit
* Whoops
2019-03-17 20:07:24 +01:00
Koen Kanters
969585c84e
Allow to bind specific endpoint. #176
2019-03-15 21:19:42 +01:00
Jakub
672a0cac4f
Hide network_key from debug output ( #1169 )
...
* Hide network_key from debug output
There's no need to print this key.
* strings must use singlequote
* Update zigbee.js
2019-03-02 14:04:52 +01:00
Koen Kanters
cd2fb54615
Changes to report/bind functionallity.
2019-02-26 20:46:34 +01:00
Koen Kanters
7893f9256f
Refactor report to new queue mechanism.
2019-02-26 19:33:32 +01:00
Koen Kanters
09f26a104c
Restore zigbee.js changes.
2019-02-26 19:33:32 +01:00
jbn
b8f689fe6e
fix lint errors
2019-02-26 19:33:32 +01:00
jbn
09e0fe8e3f
setup automatic attribute change reporting
2019-02-26 19:33:32 +01:00
Koen Kanters
4a664cf230
Implement zigbee queue. #1027
2019-02-22 18:58:50 +01:00
Andreas Brett
1287a596f9
fix typo ( #1142 )
2019-02-22 10:54:10 +01:00
Koen Kanters
259a3417e2
Coordinator group is not needed anymore. #102
2019-02-18 17:42:50 +01:00
Koen Kanters
d6b9627146
Don’t return error when coordinator is already in group. https://github.com/Koenkk/zigbee2mqtt/issues/1064
2019-02-14 19:47:25 +01:00
Koen Kanters
9faeb53ddb
Refactor addCoordinatorToGroup.
2019-02-13 20:43:22 +01:00
Koen Kanters
88cec5dfa6
Check for valid Zigbee channel. https://github.com/Koenkk/zigbee2mqtt/issues/1077
2019-02-13 20:06:14 +01:00
Koen Kanters
059e4719c6
Log ‘Failed to ping’ on debug instead of error when device is already unavailable. #775
2019-02-09 19:50:32 +01:00
Koen Kanters
443a14e40a
Add coordinator to group 99 by default. https://github.com/Koenkk/zigbee2mqtt/issues/997
2019-02-06 20:33:58 +01:00
ptvo
37d516d770
Some improvements (extPanId, .configure, Livolo) ( #982 )
...
* Added the new ext_pan_id options (required update of zigbee-shepherd)
Improved code for configure
Added the new extension for Livolo.
* Formatting corrections
* Update controller.js
* Updated Livolo extension
* Improvements in the extensions for Livolo.
* Fixed conflict.
* Add default ext_pan_id.
* Remove duplicate extension.
* Update deviceConfigure.
* Update comment.
* Updates.
2019-02-02 20:09:20 +01:00
Koen Kanters
189c0f360e
Guard callbacks.
2019-02-02 02:14:31 +01:00
Koen Kanters
dc70840c8a
Use defaultCfg.
2019-02-02 02:00:20 +01:00
Koen Kanters
fd4a88acd0
Refactor zigbee publish queue to zigbee.js
2019-02-02 01:41:05 +01:00
Koen Kanters
3963a8d26f
Refactor ping queue to zigbee.js.
2019-02-02 00:57:51 +01:00
Koen Kanters
ae08deb2fd
Refactor and remove unnecessary bind. #966
2019-02-02 00:31:30 +01:00
Koen Kanters
7d9c21ba24
Fix reporting.
2019-02-01 19:43:22 +01:00
Koen Kanters
b8744ce890
Add reporting feature. #966
2019-02-01 19:04:49 +01:00
Koenkk
35b9e6204d
Implement banning devices. #816
2019-01-08 19:00:02 +01:00
Koen Kanters
a2ea9c548f
Improve logging.
2019-01-07 18:18:14 +01:00
Gergely Markics
afeed4f372
Add device availability functionality for HASS based on router devices ping and attribute reporting also available on battery-powered devices ( #761 )
...
* Discovery on HASS restart and last_message attribute added
- On restarting Home Assistant, resending device discovery information
- Add timestamp on receiving message from Zigbee
* Add option: add_timestamp in settings
* typo
* Update homeassistant.js
* Update homeassistant.js
* Update homeassistant.js
* Update controller.js
* Update zigbee.js
* Add files via upload
* Update zigbee.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update homeassistant.js
* Update deviceAvailabilityHandler.js
* Update deviceAvailabilityHandler.js
* Update homeassistant.js
* Fix checkonline callback.
* Refactor.
* Refactor.
2018-12-29 19:55:59 +01:00
Koen Kanters
69e805c882
Allow to configure network_key. https://github.com/Koenkk/zigbee2mqtt/issues/685
2018-12-24 16:29:06 +01:00
Koen Kanters
d3f705162d
Group support #15 ( #745 )
...
* Start on group support. #15
* Implement publishing to zigbee groups. https://github.com/Koenkk/zigbee2mqtt/issues/15
* Complete first version of group support.
* Fix tests.
2018-12-22 00:07:53 +01:00
Koen Kanters
16c222d3b3
Support iAS cluster. ( #654 )
...
* Implement zapp-cie. https://github.com/Koenkk/zigbee2mqtt/issues/507
* Cleanup cie app. https://github.com/Koenkk/zigbee2mqtt/issues/507
* Update package.json
* Update zigbee.js
2018-12-06 21:27:41 +01:00
Koen Kanters
a52d3ea073
Publish bridge config. https://github.com/Koenkk/zigbee2mqtt/issues/626
2018-12-06 21:27:41 +01:00
Koenkk
6c059c3898
Update zigbee-shepherd-converters (remove onAfIncomingMsg code). https://github.com/Koenkk/zigbee2mqtt/issues/553
2018-12-06 21:27:41 +01:00
Koenkk
6df4e39f18
Refactor!
2018-12-06 21:27:36 +01:00
Koenkk
9119e54c2c
Prepare for read commands. https://github.com/Koenkk/zigbee2mqtt/issues/518
2018-11-05 21:55:30 +01:00
Koenkk
ddb83cc6e4
Handle zigbee commands sequentially (and refactor it). #529
2018-10-23 20:39:48 +02:00
Laurent
0322354c37
[RFC] graphviz network map, display all devices ( #443 )
...
* network map, more info
* add a get(All)Devices method to zigbee
* graphviz: display all devices
loop through all devices, display all devices even those that haven't
responded to the lqi scan.
* makes eslint happy :)
* remove null chars from network map graphviz output
makes graphviz happy :-)
* Improvements to graphviz network map
* Always add device type
2018-10-07 21:46:54 +02:00
Koenkk
1db926173d
Refactor router polling & only poll Xiaomi routers, refactor soft reset timeout and disable by default. #274
2018-10-02 21:15:12 +02:00
Koenkk
71d12c3c71
Revert "Allow joining through specified device."
...
This reverts commit bf85ea1494
.
2018-09-29 23:05:18 +02:00
Koenkk
bc7b2bd5e0
Allow joining through specified device.
2018-09-29 23:05:18 +02:00
Viet Dzung
b06e3b61f2
Support cfg in foundation and functional ( #390 )
...
* Support cfg in foundation and functional
* Update zigbee-shepherd-converters.
2018-09-29 23:05:18 +02:00
Koenkk
0c1dba7208
Fix functional command. #386
2018-09-19 20:59:30 +02:00
Koen Kanters
d5de918247
Revert
2018-09-14 08:33:28 +02:00
Koen Kanters
f916ec5f4c
Update foundation publish
2018-09-14 08:31:11 +02:00
Viet Dzung
469a01ebb6
Fix foundation error from #8433571
2018-09-14 10:01:07 +07:00
Koenkk
8433571b1e
Refactor multiple foundation.
2018-09-11 21:28:30 +02:00
Viet Dzung
fccb4de565
Fix Lint error
2018-09-11 14:28:04 +07:00
Viet Dzung
236afaacaf
Support Foundation Command for use in zigbee-shepherd converter https://github.com/zigbeer/zcl-packet/wiki/6.-Appendix#FoundCmdTbl
2018-09-11 13:59:49 +07:00
Koenkk
2a520b0e81
Raw implementation of network map. #252
2018-08-28 21:55:00 +02:00
Koenkk
b4398e21c3
Fix linting
2018-08-13 19:21:55 +02:00
tb-killa
3900d56d6e
Extend ping function with friendlyName logging
2018-08-13 19:21:55 +02:00
Koenkk
5ddfcea8f3
Log coordinator firmware version on startup.
2018-08-13 19:21:55 +02:00
Koenkk
502c0cb852
Log error when zigbee command fails. #254
2018-08-13 19:21:55 +02:00
Alex Mekkering
5e96c46a7a
Update to serialport 6.2.2
2018-08-13 19:21:55 +02:00
Koenkk
0e608c7b2e
Add disable_led option. #133
2018-07-21 21:13:28 +02:00
Koenkk
3897541366
Log zigbee-shepherd information on startup. #178
2018-07-05 20:06:38 +02:00
Koenkk
52c51b687d
And instructions on how to (soft) reset stick. #156
2018-06-28 19:49:16 +02:00
Marius Ciotlos
01effab24c
Fixes #97
2018-06-14 22:48:25 +03:00
Marius Ciotlos
2b4fc21585
Updated debug and moved message to info
2018-06-14 20:09:43 +02:00
Koenkk
d86aa10875
Xiaomi devices: check if exsist. #116
2018-06-14 18:19:54 +02:00
Koen Kanters
b7252379b9
Merge pull request #99 from ciotlosm/add_device_remove
...
Add device remove
2018-06-10 17:41:25 +02:00
Koenkk
884e3aa475
Refactor remove device & remove from home assistant
2018-06-09 12:33:40 +02:00
Koenkk
cf3775e0b8
Update zigbee-shepherd-converters to 2.0.0.
2018-06-08 20:20:35 +02:00
Marius Ciotlos
7c53e9bb15
Added settings removal and bug fixes
2018-06-07 20:41:11 +03:00
Marius Ciotlos
9bc87b765a
Formatting
2018-06-06 22:19:50 +03:00
Marius Ciotlos
0f2f7462a5
Added force remove
2018-06-06 22:13:32 +03:00
tb-killa
0328ad7cb6
Update zigbee.js
...
Add "removedevice" Function into zigbee.js
2018-06-06 21:45:36 +03:00
Koenkk
a976c1db93
Update zigbee-shepherd-converters to 1.0.1. #36 #62
2018-06-04 21:36:51 +02:00
Koenkk
b7c525de65
Increase recovery timeout. #79
2018-06-04 17:36:46 +02:00
Koenkk
f0b19cc696
Try to recover in zigbee-shepherd start failure. #79
2018-06-01 21:04:48 +02:00
Koenkk
ffa6012079
Support light transitions. #72
2018-05-30 22:28:08 +02:00
Koenkk
312ed033db
Dont add advanced configuration by default.
2018-05-24 20:19:04 +02:00
Diogo Gomes
567bdca276
Edp redy - Power Plug ( #53 )
...
* fixed json
* added mqtt commands
* added endpoints
* support battery status
* added firmware for CC2531 USB Stick with maximum number of possible devices (48)
* support aqara magnet
* added support for wall switch
* update regex
* Update README.md
* added automatic chip selection
* fix reconnect
* Update README.md
* added missing dependency
* fix magnets
* fix topic
* support for aqara button
* yaml based configuration
* restore project defaults
* save bridgeID
* default values
Don’t change the configured bridgeID (backward compatible with bridgeID
= “bridge”)
* personal configuration
* added EDP RE:DY
* don't mess remote
* don't mess remote
* don't mess remote
* fix
* clean
* lint
* generic
* lint
* Update devices.js
* Update zigbee2mqtt.js
* lint
* Refactor configure reports.
* Fix lint.
2018-05-21 13:21:18 +02:00
Koenkk
f886259f92
Refactor controller.js.
2018-05-21 11:49:02 +02:00
Koenkk
0fdec7c225
Refactor zigbee.js
2018-05-17 17:48:41 +02:00
ptvoinfo
55a1709103
Added polling for routers (prevents deep sleep mode of Xiaomi routers)
...
Added more parsers for Xiaomi Power Plug
Added a custom router
2018-05-17 17:39:01 +02:00
Koenkk
c5cb60e998
Enforce code style. #45
2018-05-17 17:20:46 +02:00
Koenkk
ca40cf622a
Move logging devices on startup to controller.js. #45
2018-05-16 19:29:47 +02:00
Koenkk
e3c9448656
cId -> cid. #45
2018-05-16 19:22:47 +02:00
Koenkk
ff61f24b74
Make panID configurable. #34
2018-05-12 15:54:02 +02:00
Daniel Welch
03123fb783
configure datapath with env variable
2018-05-11 23:04:15 -04:00
Koenkk
78b0e00d14
Support QBKG04LM. #4
2018-04-27 23:58:46 +02:00