Commit Graph

134 Commits

Author SHA1 Message Date
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
Koen Kanters
87fb513758 Simplify YAML configuration. 2018-04-25 19:29:03 +02:00
Koen Kanters
3322d6cb20 Allow settings permit_join via home assistant switch. 2018-04-24 19:30:56 +02:00
Koen Kanters
8673fa27e2 Improve naming of configuration 2018-04-24 18:04:36 +02:00
Koen Kanters
500bce2418 Perform home assistant MQTT discovery on startup. 2018-04-23 18:17:47 +02:00
Koen Kanters
31c6d794a9 Select endpoint dynamically needed for Hue support. #7 2018-04-18 21:57:39 +02:00
Koen Kanters
90cc4ad0e1 Improve robustness. 2018-04-18 21:55:00 +02:00
Koen Kanters
3b068daa12 Log vendor on startup. 2018-04-18 21:01:42 +02:00
Koen Kanters
3b317535d3 Fixes & improvements. #8 2018-04-18 20:53:22 +02:00
Koen Kanters
dec470fb51 Add eslint & fixes. #8 2018-04-18 19:10:33 +02:00
Koen Kanters
d06522d488 Refactor and rename. #8 2018-04-18 18:26:13 +02:00