Commit Graph

243 Commits

Author SHA1 Message Date
sebastianheierhoff
4f1b521bee Fix issue #229: router devices can't be managed by zigbee2mqtt 2018-08-29 18:49:01 +02:00
Koenkk
2a520b0e81 Raw implementation of network map. #252 2018-08-28 21:55:00 +02:00
tb-killa
4fa1a4c57a Extend configureDevice with friendlyName Output 2018-08-13 19:21:55 +02:00
Koenkk
04b2f24d6b Persist devices state across restarts. #249 2018-08-13 19:21:55 +02:00
Koenkk
2ba86a13eb Add linkquality to messages. #173 2018-08-13 19:21:55 +02:00
Koen Kanters
b3cedc4ad1
Merge pull request #206 from tb-killa/rename-devices
Rename devices (friendly_name) ->  (#177)
2018-07-24 18:27:04 +02:00
Koenkk
8ea62f535e Update change friendly name of device. 2018-07-24 18:25:16 +02:00
tb-killa
aab18de88d
ADD Rename Function via MQTT Command 2018-07-21 18:19:11 +02:00
Koenkk
04d7a87765 Fix logging of unsupported cid. #199 2018-07-18 22:30:51 +02:00
Koenkk
49878e093d Log message on unsupported cid. 2018-07-14 21:22:50 +02:00
Koenkk
f03ade2775 Don't log 'Connecting with device' when device is already known. 2018-06-25 20:18:50 +02:00
Kees Schollaart
a43e3969ed
Show why we have an error during initialization 2018-06-21 20:11:08 +02:00
Koenkk
9dbdfc0a2e Set send cached state for home assistant to 20 seconds. #105 2018-06-20 22:02:29 +02:00
Koenkk
0d6c001f2c Fix report on/off for devices with multiple states (e.g. state_left/state_right). #117 2018-06-16 20:38:44 +02:00
Koenkk
df99c7edf5 Log zigbee message data on one line. 2018-06-16 01:04:32 +02:00
Koenkk
d69111f577 Add .hash.json for Docker. 2018-06-16 00:10:08 +02:00
Koenkk
96191a2836 Update log version on startup 2018-06-15 17:49:15 +02:00
Marius Ciotlos
b6aabcca64 Add support for version numbers and hash 2018-06-15 14:02:40 +03:00
Marius Ciotlos
4cb98b6257 Added debug for mqtt message as well 2018-06-14 20:11:08 +02:00
Marius Ciotlos
2b4fc21585 Updated debug and moved message to info 2018-06-14 20:09:43 +02:00
Marius Ciotlos
f40de00d32 Rollback of debug as it doesn't cover dependencies this way 2018-06-14 20:09:43 +02:00
Marius Ciotlos
1d49f349b9 Added message data logging in debug mode 2018-06-14 20:09:43 +02:00
Marius Ciotlos
e29d5f70ae Added allowed levels when setting level fails 2018-06-14 20:09:43 +02:00
Marius Ciotlos
dc5a090d44 Corrections @c727 suggestions 2018-06-14 20:09:43 +02:00
Marius Ciotlos
06142115af Fixed lint problems 2018-06-14 20:09:43 +02:00
Marius Ciotlos
c1b597c02f Added loging level through mqtt 2018-06-14 20:09:43 +02:00
Koenkk
744444ceb9 logger.debug incoming MQTT messages. #105 #110 2018-06-14 20:06:35 +02:00
Koenkk
7a13626da7 Fix crash on MQTT message device model not known. 2018-06-14 20:00:57 +02:00
Koenkk
3196c0a974 Send all cached status on hass/status:online. #105 2018-06-13 19:51:40 +02:00
Koenkk
3c062a330d Resend cached states on MQTT reconnect. #105 2018-06-11 20:31:05 +02:00
Koenkk
cd13286ca7 Homeassisant: rediscover devices on MQTT reconnect. #105 2018-06-11 20:20:18 +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
cbc1b3ab39 removed_device -> device_removed 2018-06-10 17:37:16 +02:00
Koenkk
db0d8c1cdd Best effort remove device 2018-06-10 17:35:14 +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
34feef6cf4 Update controller.js
ADD "remove" MQTT Topic with "message" - Check
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
eae8a80588 Update zigbee-shepherd-converters to 1.0.0. 2018-06-04 20:03:53 +02:00
Koenkk
bb9b6dd550 Update zigbee-shepherd-converters to 0.2.0. 2018-06-04 19:23:23 +02:00
Koenkk
8ada85e1ce Log to MQTT when pairing with device. #85 2018-06-03 00:50:30 +02:00
Koenkk
a8dca627d9 Allow spaces in MQTT device commands (for friendly names with spaces in it). #86 2018-06-03 00:42:15 +02:00
Koenkk
ab64d079aa Don't mutate stateCache. #82 2018-06-02 19:11:49 +02:00
Koenkk
ffa6012079 Support light transitions. #72 2018-05-30 22:28:08 +02:00
Koenkk
7b2763a053 Log devices to bridge/log. #77 2018-05-30 18:09:24 +02:00
Koenkk
77f344198c MQTT publish log message when new device connects. #77 2018-05-30 18:00:08 +02:00
Koenkk
6d73dd143c Add endpoint to request connected devices. #77 2018-05-30 17:52:46 +02:00
Koenkk
9396bde1f3 Add cache_state option to configuration.yaml. #70 2018-05-28 21:10:58 +02:00
Koenkk
ae01f30f71 Log device type on startup. #26 2018-05-28 20:40:30 +02:00
Koenkk
fb27bd292f Use zigbee-shepherd-converters. #45 2018-05-24 13:09:58 +02:00
Koenkk
ad4f77b5ce Link to How to support new devices page. 2018-05-24 12:09:36 +02:00
Koenkk
f25e6a50b9 Refactor mqtt2zigbee to toZigbee and add convertes move devices. #45 2018-05-23 18:23:51 +02:00
Koenkk
3fdfc6f57f Move converters to devices.js. #45 2018-05-23 17:55:30 +02:00
Koenkk
bc4dff65ff Remove disableCache. #45 2018-05-22 19:10:16 +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
b38eb76274 Change comment in controller.js 2018-05-21 12:00:35 +02:00
Koenkk
02818ddaf5 Refactor softResetTimeout 2018-05-21 11:59:01 +02:00
Koenkk
78c4f43496 Update controller.js 2018-05-21 11:52:16 +02:00
Koenkk
f886259f92 Refactor controller.js. 2018-05-21 11:49:02 +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
8559ea2301 Refactor homeassistant configuration out of devices.js. #45 2018-05-16 19:40:05 +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
2521af7d78 Allow device specific QoS configuration. #47 2018-05-15 18:42:26 +02:00
Koenkk
debc96c232 Allow to set device specific occupancy_timeout. #27 2018-05-15 18:06:16 +02:00
Koenkk
1a688cf363 Add disableCache option and remove disablePublish option for converters. #32 2018-05-11 19:14:18 +02:00
Koenkk
b3257c714a Add debug logging for incoming zigbee messages. #25 2018-05-08 19:57:50 +02:00
Koenkk
17cb59b958 Support QBKG03LM. #4 2018-04-29 14:09:49 +02:00
Koenkk
78b0e00d14 Support QBKG04LM. #4 2018-04-27 23:58:46 +02:00
Koen Kanters
875ca536e0 Fix homeassistant discover crash when device undefined. 2018-04-25 21:34:26 +02:00
Koen Kanters
a13080f399 Refactor & remove home assistant pair switch discovery. 2018-04-25 20:54:41 +02:00
Koen Kanters
d20012e4d8 Update docgen. 2018-04-25 19:41:20 +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
e0feacea0b Improve MQTT switch support. 2018-04-24 19:03:09 +02:00
Koen Kanters
8673fa27e2 Improve naming of configuration 2018-04-24 18:04:36 +02:00
Koen Kanters
1543373b7f Improve support current supported devices. 2018-04-23 21:44:06 +02:00
Koen Kanters
500bce2418 Perform home assistant MQTT discovery on startup. 2018-04-23 18:17:47 +02:00
Koen Kanters
5b52defe9e Add more logging 2018-04-21 12:45:22 +02:00
Koen Kanters
65ad81a7b6 Support discovering multiple homeassistant sensors of same type. #9 2018-04-21 12:15:00 +02:00
Koen Kanters
bc3fca9d68 Homeassistant discovery: allow multiple homeassistant sensor/devics per device. #9 2018-04-21 09:13:14 +02:00
Koen Kanters
e6e558eae7 Improve homeassistant discovery. #8 2018-04-20 23:39:20 +02:00
Koen Kanters
7cd8e74a7e Implement homeasisstant MQTT discovery. #9 2018-04-20 19:53:40 +02:00
Koen Kanters
f9860f5b9d Dont handle messages without cid. 2018-04-19 23:15:09 +02:00
Koen Kanters
69736a883e Use device retain setting. 2018-04-18 22:07:18 +02:00
Koen Kanters
90cc4ad0e1 Improve robustness. 2018-04-18 21:55:00 +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