Commit Graph

330 Commits

Author SHA1 Message Date
Koen Kanters
2328ecb2ee Update zigbee-shepherd-converters to 8.0.13. 2019-03-25 21:53:39 +01:00
Koen Kanters
1ea694cb1a Update zigbee-shepherd-convertes to 8.0.12. 2019-03-23 15:32:18 +01:00
Koen Kanters
e537784d34 Update zigbee-shepherd-converters to 8.0.11. 2019-03-22 23:37:07 +01:00
Koen Kanters
0277591085 Update zigbee-shepherd-converters to 8.0.10. 2019-03-22 22:45:59 +01:00
Koen Kanters
7b2480be52 Update zigbee-shepherd-conveters to 8.0.9. 2019-03-21 20:34:54 +01:00
Koen Kanters
24cf72f166 Update zigbee-shepherd. https://github.com/Koenkk/zigbee2mqtt/issues/1295 2019-03-21 19:59:25 +01:00
Koen Kanters
2af2a8ea05 Update zigbee-shepherd-converters to 8.0.8. 2019-03-19 20:58:12 +01:00
Koen Kanters
4cb0c0bbb0 Update zigbee-shepherd-converters to 8.0.7. 2019-03-18 18:21:21 +01:00
Koen Kanters
1043053812 Update zigbee-shehperd. 2019-03-17 20:03:07 +01:00
Koen Kanters
e6044da604 Implemented device debounce option. #1264 2019-03-16 23:41:46 +01:00
Koen Kanters
a8cf925fcb Update zigbee-shepherd, zigbee-shepherd-converters and zcl-id. 2019-03-16 22:55:37 +01:00
Koen Kanters
7461fec28b Update zigbee-shepherd-converters to 8.0.4. 2019-03-15 23:33:24 +01:00
Koen Kanters
b39e195763 Update zigbee-shepherd. 2019-03-15 22:06:02 +01:00
Koen Kanters
f2cdbeab38 Update zigbee-shepherd-converters to 8.0.3. 2019-03-15 21:58:49 +01:00
Koen Kanters
d4d85633d2 Log groupID. #1238 2019-03-15 19:07:26 +01:00
Koen Kanters
03ca8ec24d Update zigbee-shepherd-converters to 8.0.2. 2019-03-13 20:02:53 +01:00
Koen Kanters
a65fbd6e2c Update zigbee-shepherd-converters to 8.0.1. 2019-03-13 19:48:31 +01:00
Koen Kanters
ac28ca2841 Update to zigbee-shepherd-converters 8.0.0 2019-03-13 19:41:58 +01:00
Koen Kanters
6e60063337 Update zigbee-shepherd and zigbee-shepherd-converters to 7.2.8. 2019-03-10 14:12:11 +01:00
qm3ster
7cec70aba8 Add @types/jest for editor completion 2019-03-10 13:32:36 +01:00
qm3ster
84a5277d45 Replace sinon with jest builtins 2019-03-10 13:32:36 +01:00
qm3ster
acbab01b7e Apply jest-codemods
`chai` ELIMINATED
2019-03-10 13:32:36 +01:00
qm3ster
6a4073b305 Use jest instead of mocha
Oh nice, coverage works now
2019-03-10 13:32:36 +01:00
Koen Kanters
e5ca977579 1.2.1 2019-03-09 21:40:09 +01:00
Koen Kanters
5f19d9cc82 1.2.0 2019-03-09 21:03:16 +01:00
Koen Kanters
e2ebe5e1ff Update zigbee-shepherd-converters to 7.2.7. 2019-03-09 17:04:41 +01:00
Koen Kanters
184eef72b0 Update zigbee-shepherd-converters to 7.2.6. 2019-03-08 17:39:15 +01:00
Mihal Malostanidis
bb6c226d55 Test improvements (#1207)
* Add missing `zcl-id` dependency

* Improve devicePublish test

Now passes in both mocha and jest
Each test now waits for all publishes, such as readbacks,
and asserts their number.
Replaced `calledOnce` and such with numeric assertion,
for a more informative error message.

* Use sinon default sandbox

* Take assert out of chai

Improves clutter, but also `jest-codemods` also makes use of this.

* Replace proxyquire with simple cache delete

* Reduce shared mutable state in settings.test
2019-03-08 16:56:53 +01:00
Koen Kanters
e892a54013 Update zigbee-shepherd-converters to 7.2.5. 2019-03-06 22:09:51 +01:00
Koen Kanters
f0e9ebe4ed Fix readRsp spamming no converter available messages. https://github.com/Koenkk/zigbee2mqtt/issues/1064 2019-03-05 19:41:59 +01:00
Koen Kanters
8902bd1d60 Fix zcl-id dependency. https://github.com/Koenkk/zigbee2mqtt/issues/1182 2019-03-05 19:27:37 +01:00
Koen Kanters
339816c160 Update zigbee-shepherd-converters to 7.2.4 2019-03-04 17:41:33 +01:00
Koen Kanters
2a3670d3d7 Update zigbee-shepherd-converters to 7.2.3 2019-03-03 18:37:46 +01:00
Koen Kanters
889e972176 Update zigbee-shepherd-converters to 7.2.2. https://github.com/Koenkk/zigbee2mqtt/issues/1176 2019-03-02 17:27:29 +01:00
Koen Kanters
e213356c40 Update zigbee-shepherd-* dependencies. 2019-03-02 17:04:21 +01:00
Koen Kanters
ae14fa5cd6 Update zigbee-shepherd-converters to 7.2.0. 2019-03-02 16:35:00 +01:00
Koen Kanters
05769ce1a3 Update zigbee-shepherd. #518 #176 2019-02-28 20:31:57 +01:00
Koen Kanters
516bd704c6 Allow devices and groups to be specified in separate file. https://github.com/Koenkk/zigbee2mqtt/issues/1148 2019-02-24 15:49:41 +01:00
Koen Kanters
ee167e603a Update zigbee-shepherd-converters to 7.1.12. 2019-02-23 19:30:17 +01:00
Koen Kanters
147a130628 Update zigbee-shepherd-converters to 7.1.11 2019-02-23 16:02:45 +01:00
Koen Kanters
061285bd17 Update zigbee-shepherd. 2019-02-19 19:31:05 +01:00
Koen Kanters
14377c04a0 Update zigbee-shepherd. 2019-02-18 19:19:52 +01:00
Koen Kanters
a20ec7caa1 Update zigbee-shepherd-converters to 7.1.10. 2019-02-17 15:14:36 +01:00
Koen Kanters
15cad740ee Update zigbee-shepherd-converters to 7.1.9. 2019-02-14 19:45:52 +01:00
Koen Kanters
54dbb9732f Cleanup dependencies. 2019-02-12 21:28:39 +01:00
Koen Kanters
781b542f92 Update zigbee-shepherd. #937 2019-02-12 19:21:18 +01:00
Koen Kanters
e5233494af Update zigbee-shehperd-converters to 7.1.8. 2019-02-11 19:59:50 +01:00
Koen Kanters
3d151298ae Update zigbee-shepherd-converters to 7.1.7. 2019-02-10 20:35:26 +01:00
Koen Kanters
004f4a5eb9 Update zigbee-shepherd-converters to 7.1.5. 2019-02-09 20:25:08 +01:00
Koen Kanters
0f89053d05 Update zigbee-shepherd-converters to 7.1.4. 2019-02-09 01:01:08 +01:00
Koen Kanters
37405ee079 1.1.1 2019-02-09 00:33:06 +01:00
Koen Kanters
f0d0a62471 Update zigbee-shepherd. https://github.com/Koenkk/zigbee2mqtt/issues/1001 2019-02-09 00:26:18 +01:00
Koen Kanters
5fc7760db6 Update zigbee-shepherd-converters to 7.1.3. 2019-02-05 18:26:17 +01:00
Koen Kanters
6d16875a37 Update zigbee-shepherd-converters to 7.1.2 2019-02-03 18:16:01 +01:00
Koen Kanters
c569840d6c Update zigbee-shepherd-converters to 7.1.1. 2019-02-03 14:49:44 +01:00
Koen Kanters
96dcb93859 Update zigbee-shepherd-converters to 7.1.0. 2019-02-02 20:31:55 +01:00
Koen Kanters
4405e71610 Retrieve device state after device offline -> online. #775 2019-02-02 01:47:53 +01:00
Koen Kanters
720addd906 Update zigbee-shepherd-converters to 7.0.30. 2019-02-02 00:53:18 +01:00
Koen Kanters
0d9741e511 Update zigbee-shepherd-converters to 7.0.28. 2019-02-01 19:58:12 +01:00
Koen Kanters
dd8ee60535 Drop node 8 and 9 support. 2019-02-01 17:14:56 +01:00
Koen Kanters
d5c6e39e7d Refactor device reconfigure when device comes online and mark online. #966 #775 2019-01-31 21:42:53 +01:00
Koen Kanters
30823a5a0c Update zigbee-shepherd. 2019-01-31 19:22:14 +01:00
Koen Kanters
cf7e0d1aa9 1.1.0 2019-01-29 21:45:36 +01:00
Koen Kanters
7e74b8c549 Update zigbee-shepherd-converters to 7.0.27. 2019-01-29 20:11:06 +01:00
Koen Kanters
fd932926e7 Update zigbee-shepherd-converters to 7.0.26. 2019-01-28 22:22:20 +01:00
Koen Kanters
16f3e884fc Update zigbee-shepherd-converters to 7.0.25. 2019-01-27 00:45:31 +01:00
Koen Kanters
6ff3954b71 Update zigbee-shepherd-converters to 7.0.23. 2019-01-22 20:22:16 +01:00
Koen Kanters
5f6b37bf83 Support mesh networks in grapvhiz networkmap. https://github.com/Koenkk/zigbee2mqtt/issues/652 2019-01-18 22:11:01 +01:00
Koen Kanters
653dfc7b6f Update zigbee-shepherd-converters to 7.0.22. https://github.com/Koenkk/zigbee2mqtt/issues/887 2019-01-18 22:00:33 +01:00
Koen Kanters
f5a5668359 Update zigbee-shepherd-converters to 7.0.21. 2019-01-18 20:45:24 +01:00
Koen Kanters
28e32884d9 Update zigbee-shepherd-converters to 7.0.20 2019-01-15 21:19:07 +01:00
Koenkk
9605e724e1 Update zigbee-shepherd-converters to 7.0.19 2019-01-14 18:19:59 +01:00
Koenkk
3c0e784afb Update zigbee-shepherd-converters to 7.0.18. 2019-01-14 17:38:49 +01:00
Koen Kanters
be50d650a4 Update-zigbee-shepherd-converters to 7.0.16 2019-01-13 19:12:13 +01:00
Koen Kanters
4ec905efca Update zigbee-shepherd-converters to 7.0.14. 2019-01-10 18:23:22 +01:00
Koen Kanters
f62eabcb6d Update zigbee-shepherd-converters to 7.0.13 2019-01-10 17:52:58 +01:00
Koen Kanters
6fdd58be8a Update zigbee-shepherd-converters to 7.0.12. 2019-01-08 22:07:13 +01:00
Koen Kanters
26083a62d9 Update zigbee-shepherd-converters to 7.0.11 2019-01-08 19:38:56 +01:00
Koen Kanters
3bb1f0f10b Update zigbee-shepherd-converters to 7.0.10. 2019-01-06 15:31:08 +01:00
Koen Kanters
57aefe477d Update zigbee-shepherd-converters to 7.0.9. 2019-01-01 22:03:39 +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
faede151f3 Update zigbee-shepherd-converters to 7.0.7. #142 2018-12-27 22:51:16 +01:00
Koen Kanters
ac94b95bba Update zigbee-shepherd-converters to 7.0.6. 2018-12-27 22:23:57 +01:00
Koen Kanters
708c497614 Update zigbee-shepherd. 2018-12-27 22:01:24 +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
Koenkk
bd8282a41a Update zigbee-shepherd-converters to 7.0.4. 2018-12-20 21:49:15 +01:00
Koenkk
82e87d563e Add semver dependency. https://github.com/Koenkk/zigbee2mqtt/issues/726 2018-12-19 17:36:06 +01:00
Koen Kanters
919178840f Merge branch 'master' into dev 2018-12-17 21:30:14 +01:00
Koen Kanters
84593a55ee 1.0.1 2018-12-17 21:28:17 +01:00
Koen Kanters
75dddf462e Update zigbee-shepherd-converters to 7.0.3. https://github.com/Koenkk/zigbee2mqtt/issues/708 2018-12-15 22:02:23 +01:00
Koen Kanters
91bbb0d4a8 1.0.0 2018-12-15 19:41:04 +01:00
Koen Kanters
cf9a5b7553 Update zigbee-shepherd-converters to 7.0.2. 2018-12-14 22:08:01 +01:00
Koen Kanters
ec20bfdd15 Cleanup references to wiki. 2018-12-14 19:37:57 +01:00
Koen Kanters
a13bd85ef3 Update zigbee-shepherd-converters to 7.0.1 2018-12-06 21:27:41 +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
dcc410f6c5 Update zigbee-shepherd-converters to 6.0.7. 2018-12-06 21:27:41 +01:00
Koenkk
db945c90be Update zigbee-shepherd-converters to 6.0.6. https://github.com/Koenkk/zigbee2mqtt/issues/627 2018-12-06 21:27:41 +01:00
Koenkk
65f23171e6 Update zigbee-shepherd-converters to 6.0.4 2018-12-06 21:27:41 +01:00
Koenkk
920d1c91c7 Update zigbee-shepherd-converters to 6.0.1 2018-12-06 21:27:41 +01:00
Koenkk
d652856e90 Update zigbee-shepherd-converters 6.0.0. https://github.com/Koenkk/zigbee2mqtt/issues/608 2018-12-06 21:27:41 +01:00
Koenkk
7d09d065c5 Update zigbee-shepherd-converters to 5.0.3. https://github.com/Koenkk/zigbee2mqtt/issues/627 2018-12-06 21:27:41 +01:00
Koenkk
349ebad659 Move docs to repo 2018-12-06 21:27:41 +01:00
Koenkk
78984a65ab Add devices images to repository. 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
ac6eb19aff Fix node version requirement. https://github.com/Koenkk/zigbee2mqtt/issues/596 2018-12-06 21:27:41 +01:00
Koenkk
b0d3c2f964 0.2.0 2018-11-14 19:18:31 +01:00
Koenkk
f797a12250 Update zigbee-shepherd-converters. 2018-11-14 18:32:02 +01:00
Koenkk
fc664bdc68 Fix node version to >=8.11 10 and implement check on startup. https://github.com/Koenkk/zigbee2mqtt/issues/552 2018-11-07 20:05:14 +01:00
Koenkk
2cb27b14f9 Allow ‘/‘ in friendly_name. https://github.com/Koenkk/zigbee2mqtt/issues/470 2018-11-07 19:40:58 +01:00
Koenkk
9119e54c2c Prepare for read commands. https://github.com/Koenkk/zigbee2mqtt/issues/518 2018-11-05 21:55:30 +01:00
Koenkk
2e736bf501 Update zigbee-shepherd-converters to 4.0.11 2018-10-31 17:10:28 +01:00
Koenkk
61c4ff33e0 Update zigbee-shepherd-converters to 4.0.10 2018-10-29 21:34:48 +01:00
Koenkk
4eb56319c4 Update zigbee-shepherd-converters to 4.0.9 2018-10-25 20:44:55 +02:00
Koenkk
ddb83cc6e4 Handle zigbee commands sequentially (and refactor it). #529 2018-10-23 20:39:48 +02:00
Koenkk
97cc56b691 0.1.8 2018-10-19 22:44:26 +02:00
Koenkk
c9df5c8221 Update zigbee-shepherd-converters to 4.0.7. 2018-10-19 22:27:29 +02:00
Koenkk
0aab565083 Update zigbee-shepherd-converters to 4.0.6 2018-10-17 21:17:45 +02:00
Koenkk
b063e67e24 Update zigbee-shepherd-converters to 4.0.5. https://github.com/Koenkk/zigbee2mqtt/issues/467 2018-10-15 19:07:12 +02:00
Koenkk
a4da482225 0.1.7 2018-10-15 17:37:06 +02:00
Koenkk
98302bebd1 Update zigbee-shepherd-converters to 4.0.3 2018-10-09 21:28:32 +02:00
Koenkk
b692c94fe9 Update zigbee-shepherd. https://github.com/Koenkk/zigbee-shepherd/pull/6 2018-10-05 22:08:47 +02:00
Koenkk
1496861811 Fix https://github.com/Koenkk/zigbee2mqtt/issues/373 again. 2018-10-05 20:54:57 +02:00
Koenkk
bf68f4575f Update zigbee-shepherd-converters to 4.0.2 2018-09-29 23:05:18 +02:00
Koenkk
33ea08ad22 Update dependencies for. #388 2018-09-29 23:05:18 +02:00
Koenkk
e4bcac5411 Update zigbee-shepherd. https://github.com/Koenkk/zigbee-shepherd/pull/4 2018-09-29 23:05:18 +02:00
Koenkk
5ed29d045b 0.1.6 2018-09-23 11:21:24 +02:00
Koenkk
7d49e136a6 0.1.5 2018-09-19 21:00:03 +02:00
Koenkk
63f4f681c4 0.1.4 2018-09-19 18:59:52 +02:00
Unknown
b71a9920de Update zcl-packet. #373 2018-09-18 18:03:27 +02:00
Koenkk
6ede5a373e Update zigbee-shepherd/zcl-packet. 2018-09-12 22:16:59 +02:00
Koenkk
c8c8417192 0.1.3 2018-08-17 18:32:11 +02:00
Koenkk
197a3cdebc Update log file extension. 2018-08-16 20:04:29 +02:00
tb-killa
c2cd02e790 add moment to package.json 2018-08-16 19:06:48 +02:00
Koenkk
9a70c95672 Start adding tests. 2018-08-15 22:19:54 +02:00
Koenkk
fc2e93d96f Update dependencies 2018-08-15 21:10:19 +02:00
Koenkk
494c15a731 Update dependencies. 2018-08-13 20:37:01 +02:00
Koenkk
426a89914f Update zigbee-shepherd. #252 2018-08-13 19:21:55 +02:00
Koenkk
07d8fd5605 Update zigbee-shepherd. 2018-08-13 19:21:55 +02:00
Koenkk
74c8758a3b Update zigbee-shepherd. 2018-08-13 19:21:55 +02:00
Koenkk
32a512ea6b Update zcl-packet. #150 2018-08-13 19:21:55 +02:00
Koenkk
46a3461e76 Update dependencies 2018-08-13 19:21:55 +02:00
Koenkk
fe92e9c421 Fix package.json 2018-08-13 19:21:55 +02:00
Koenkk
2f02168fcb Update to latest zcl-packet. #150 #198 2018-08-13 19:21:55 +02:00
Koenkk
a3d89c0137 0.1.2 2018-07-31 17:20:50 +02:00
Koenkk
f1ae2194c9 Lock zigbee-shepherd version. #236 2018-07-31 17:18:19 +02:00
Koenkk
738c31c758 0.1.1 2018-07-27 18:06:57 +02:00
Koenkk
f8fcf3a7c8 Temp: lock zcl-packet to older version. #198 2018-07-27 17:49:56 +02:00
Koenkk
74e7c7d73a 0.1.0 2018-07-03 18:57:39 +02:00
Koenkk
deab0004f2 Set version to 0.0.0 2018-06-16 00:12:38 +02:00
Koenkk
96191a2836 Update log version on startup 2018-06-15 17:49:15 +02:00
Marius Ciotlos
949d236697 Removed dependency 2018-06-14 20:11:08 +02:00
Koenkk
7041637e5b Update zigbee-shepherd-converters to 2.0.5. 2018-06-12 21:02:24 +02:00
Koen Kanters
e7ba350770
Use forked zcl-packet. 2018-06-09 18:19:15 +02:00
Koenkk
aec871cd27 Add zcl-packet dependency 2018-06-09 11:29:28 +02:00
Koenkk
ffa6012079 Support light transitions. #72 2018-05-30 22:28:08 +02:00
Koenkk
08f3f96d73 Use js-yaml as yaml parser instead of yawn-yaml. #64 2018-05-25 16:42:29 +02:00
Koenkk
fb27bd292f Use zigbee-shepherd-converters. #45 2018-05-24 13:09:58 +02:00
Koenkk
c5cb60e998 Enforce code style. #45 2018-05-17 17:20:46 +02:00
Koenkk
8559ea2301 Refactor homeassistant configuration out of devices.js. #45 2018-05-16 19:40:05 +02:00
Koenkk
8436768dc0 Use @kirovilya zigbee-shepherd fork. #17 2018-05-08 20:46:52 +02:00
Koenkk
b3257c714a Add debug logging for incoming zigbee messages. #25 2018-05-08 19:57:50 +02:00
Koen Kanters
87fb513758 Simplify YAML configuration. 2018-04-25 19:29:03 +02:00
Koen Kanters
1319f8087c Docgen update for home assistant discovery. #9 2018-04-21 22:41:27 +02:00
Koen Kanters
dec470fb51 Add eslint & fixes. #8 2018-04-18 19:10:33 +02:00
Koenkk
abe9655bc1 Update package.json 2018-04-18 18:42:38 +02:00
Koen Kanters
d06522d488 Refactor and rename. #8 2018-04-18 18:26:13 +02:00
Koen Kanters
d7031d259b Use winston logger. 2018-04-14 16:17:25 +02:00
Koen Kanters
4c2948145a Support battery level. #3 2018-04-14 15:46:36 +02:00
Koen Kanters
2cfd078b2d Add npm start again. #2 2018-04-11 20:59:18 +02:00
Koen Kanters
3d3a8d6e95 Automatically generated docs. #2 2018-04-11 20:54:22 +02:00
Koen Kanters
1b6365b136 Start via npm start. 2018-04-11 19:01:44 +02:00
Koen Kanters
808370307b Update readme and package.json. 2018-04-09 20:48:30 +02:00
Koen Kanters
26027bfb85 Perfy is nice but we dont need it :(. #2 2018-04-09 20:27:32 +02:00
Koen Kanters
43f45f5860 Move join parameter to configuration.yaml. 2018-04-09 17:45:02 +02:00
Koen Kanters
e17f2c30c0 YAML configuration. 2018-04-09 17:37:21 +02:00
Koen Kanters
fd68c243a8 Allow to set device and mqtt url with CLI arguments. 2018-04-08 14:46:20 +02:00
Koen Kanters
c516973b4a Unlock version in package.json because we have npm-shrinkwrap.json now. 2018-04-08 14:15:34 +02:00
Koen Kanters
2b843781e0 Fix package.json. 2018-04-08 14:09:17 +02:00
Andrew Linden
c446539c95 Bugfixes and switch to upstream zigbee-shepherd 2017-11-28 12:38:12 +02:00
Andrew Linden
b52bd61e34 Initial commit 2017-09-27 19:39:10 +03:00