Commit Graph

46 Commits

Author SHA1 Message Date
Koen Kanters 00c2894bb4 Reread settings on restart. https://github.com/Koenkk/zigbee2mqtt/discussions/6628 2021-03-09 19:50:05 +01:00
Koen Kanters 5889588a8a Add zigbee2mqtt/bridge/request/options and zigbee2mqtt/bridge/request/restart (#6089)
* Initial

* Update schema

* Log changed options

* Implement zigbee2mqtt/bridge/request/restart

* Implement restart required

* Updates

* Updatos

* Set rtscts: false defaults

* Updates

* Updates
2021-02-06 23:32:20 +08:00
Koen Kanters 9a6397fe75 Make Zigbee2MQTT naming consistent 2020-08-01 10:36:20 +02:00
Koen Kanters ad13564687 Improve error messages when configuration is invalid. #3943 2020-07-23 19:17:26 +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 6adfdacb3c Don’t quit twice. https://github.com/Koenkk/zigbee2mqtt/issues/1550 2019-05-20 20:43:25 +02:00
Willi Eggeling 69d04d0648 shutdown controller on SIGTERM (#1313)
Previously, the controller was only properly shutdown on SIGINT.
SIGTERM is used by kill (unix) and to stop Docker containers.
2019-03-24 14:27:49 +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 c5cb60e998 Enforce code style. #45 2018-05-17 17:20:46 +02:00
Koen Kanters d06522d488 Refactor and rename. #8 2018-04-18 18:26:13 +02:00
Koen Kanters 0a73511609 Make parser type specific. 2018-04-16 21:49:25 +02:00
Koen Kanters 7057b2f9d7 Support tradfri light bulbs. 2018-04-16 21:41:24 +02:00
Koen Kanters 49f37047cc Return if device is not supported. 2018-04-16 20:08:38 +02:00
Koen Kanters dd6d6cd407 Cache all states. 2018-04-15 21:52:58 +02:00
Koen Kanters 8d9911b4b5 Move mqtt bridge state. 2018-04-15 21:23:49 +02:00
Koen Kanters 8356fda183 Make retain device specific. 2018-04-15 01:14:43 +02:00
Koen Kanters 39600b394e Switch to json based messages. 2018-04-15 01:11:37 +02:00
Koen Kanters 905feb3701 Add option to retain MQTT messages. 2018-04-14 19:20:34 +02:00
Koen Kanters d7031d259b Use winston logger. 2018-04-14 16:17:25 +02:00
Koen Kanters 5c8da2d36a Allow multiple parsers for one message. 2018-04-14 15:29:07 +02:00
Koen Kanters 0055302bdc Support MQTT authentication. #2 2018-04-11 21:09:19 +02:00
Koen Kanters dc211027ed More robust MQTT handling. #2 2018-04-11 20:14:12 +02:00
Koen Kanters 4c6ab0ee49 Fix yaml read exception. #2 2018-04-11 20:00:18 +02:00
Koen Kanters a8bbd85b15 Use Xiaomi model ids. #2 2018-04-11 19:55:54 +02:00
Koen Kanters d6b26239a1 Force documentation consistency. #2 2018-04-09 20:21:23 +02:00
Koen Kanters 3ee7c54e22 Support more sensor. #2 2018-04-09 20:01:49 +02:00
Koen Kanters e56162d222 Switch: support single, double, triple, quadruple and long clicks. #2 2018-04-09 18:36:32 +02:00
Koen Kanters 1ca19a792d Use base_topic from configuration.yaml. 2018-04-09 17:47:26 +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 63a05fc443 Refactor message parsing. 2018-04-09 17:09:52 +02:00
Koen Kanters 366b5be765 Add config file. 2018-04-08 17:25:28 +02:00
Koen Kanters 3f4fc31835 Change location of database. 2018-04-08 16:41:42 +02:00
Koen Kanters 658b3624ac Refactor. 2018-04-08 16:32:28 +02:00
Koen Kanters 55e1657c80 Add --join parameter 2018-04-08 15:51:33 +02:00
Koen Kanters bc40911f2f Quit zigbee-shepherd friendly. 2018-04-08 15:33:47 +02:00
Koen Kanters 3f37c439c9 Add more logging. 2018-04-08 15:28:59 +02:00
Koen Kanters fb60982077 Refactor. 2018-04-08 15:00:36 +02:00
Koen Kanters fd68c243a8 Allow to set device and mqtt url with CLI arguments. 2018-04-08 14:46:20 +02:00
Andrew Linden d160efbde6 At startup list all currently joined deviced and set them to be "online" so shepherd wont try to query them for info (that would fail, because the devices go to sleep) 2017-12-24 22:41:01 +02:00
Andrew Linden 59926ffeea Added support for occupancy sensor and door sensor.
Changed the temp and humidity sensor topic for humidity from relative_humidity to just humidity
2017-12-08 11:29:34 +02:00
Andrew Linden c446539c95 Bugfixes and switch to upstream zigbee-shepherd 2017-11-28 12:38:12 +02:00
Andrew Linden 2aa7366a82 fix errors introduced by previous merge 2017-11-26 14:33:32 +02:00
João Paulo Barraca 3fcc8278d8 Fixed bug 2017-09-27 23:08:29 +01:00
João Paulo Barraca aa5db1624a Added support for Xiaomi Aqara Temperature Humidity Sensor 2017-09-27 22:56:21 +01:00
Andrew Linden b52bd61e34 Initial commit 2017-09-27 19:39:10 +03:00