Commit Graph

839 Commits

Author SHA1 Message Date
Koen Kanters
c80be7bda2 Don't provide undefined state. https://github.com/Koenkk/zigbee2mqtt/issues/2164 2019-10-20 21:17:18 +02:00
Tommy Goode
6b97df7b47 Add support for battery percentage on Iris 3326-L motion sensor. (#2170) 2019-10-20 11:04:23 +02:00
Tristan Crichton
35a1dd6b0a Add autodiscovery for Innr BF 263 bayonet filament bulb (#2165) 2019-10-20 11:00:32 +02:00
Tommy Goode
ff9e6cdacc Improve support for MCT-340 E, MCT-340 SMA, XHS2-SE (#2156)
* Add temperature and battery level reporting for Visonic MCT-340 E contact sensor.

* Improve HA sensors for MCT-340 SMA and XHS2-SE.
2019-10-19 10:32:39 +02:00
Koen Kanters
f219e5df9f Fix ban todo. 2019-10-17 22:08:34 +02:00
Koen Kanters
f64285703c Implement acceptJoiningDeviceHandler. 2019-10-17 22:01:39 +02:00
Koen Kanters
f02ec9a8dd Update herdsman and herdsman-converters. 2019-10-17 19:42:40 +02:00
Tommy Goode
3ca35ad72f Allow a device to be configured even if the interview process fails (#2150)
* Allow a device to be configured even if the interview process fails. This fixes #2148.

* Adjust failing test to account for new behavior.
2019-10-17 18:36:55 +02:00
Timo S
da58dcbd7c Eurotronic thermostat improvments (#2124)
* - Setting temperature_command_topic
 to current_heating_setpoint for Eurotronic thermostat
- Thermostat function to dynamically publish values to HA

* Function getTemperatureCommandTopicByVendor()

* strict compare

* Get right setpoint by function and mapping
for current_heating_setpoint

* fix lint

* Update homeassistant.js

* Update homeassistant.js

* Update homeassistant.js
2019-10-17 18:31:42 +02:00
Koen Kanters
f415171036 Allow null for port. https://github.com/Koenkk/zigbee2mqtt/issues/2145 2019-10-16 21:21:52 +02:00
Koen Kanters
4164f01a6b Update zigbee-herdsman and zigbee-herdsman-converters. 2019-10-16 19:44:44 +02:00
Koen Kanters
f1b4cd0480 Don't log start error twice. 2019-10-16 19:33:55 +02:00
Koen Kanters
1428e0bb87 Don't setup reporting for Gledopto devices. https://github.com/Koenkk/zigbee2mqtt/issues/2132 2019-10-15 20:16:04 +02:00
Gabe Cook
9ebb1b96dd Group device staying off when already off (#2140)
* Fix devices within a group staying off if they are off when the group state changes

* Group test cleanups
2019-10-15 16:42:28 +02:00
Koen Kanters
8bcbb5930a Update zigbee-herdsman-converters. #2133 2019-10-14 18:56:41 +02:00
Gabe Cook
09b7fe699e Fix optimistic group behavior whenever a device is shared between groups (#2134) 2019-10-14 18:04:04 +02:00
Koen Kanters
f3a51f66fd Make serial and serial.port optional. 2019-10-12 23:18:01 +02:00
Koen Kanters
d5925efca7 Only try to configure reporting once. https://github.com/Koenkk/zigbee2mqtt/issues/2123 2019-10-12 18:02:15 +02:00
Koen Kanters
ba92f73961 Resolve Coordinator to coordinator. https://github.com/Koenkk/zigbee2mqtt/issues/2100 2019-10-09 19:40:46 +02:00
Koen Kanters
6e6305253e Update zigbee-herdsman-converters. 2019-10-09 18:08:14 +02:00
Tommy Goode
dcebba857b Fix power reporting for Iris 3210-L smart plug. (#2105) 2019-10-09 17:58:05 +02:00
Koen Kanters
8d97262d39 Discover thermostat and battery for SPZB0001. https://github.com/Koenkk/zigbee2mqtt/issues/2094 2019-10-07 22:21:41 +02:00
Koen Kanters
997c5d3e44 Allow to disable Home Assistant device discovery. https://github.com/Koenkk/zigbee2mqtt/issues/2089 2019-10-07 21:58:35 +02:00
Koen Kanters
a3bbb93f99 Update zigbee-herdsman and zigbee-herdsman-converters. 2019-10-07 19:34:10 +02:00
Koen Kanters
41c8c2a146 Update zigbee-herdsman-converters. 2019-10-04 19:12:49 +02:00
Matt
4a996bd84d Add ZWallRemote0 homeassistant mapping (#2076)
* Add ZWallRemote0 homeassistant mapping

* Fix Spaces in list

* Update homeassistant.js
2019-10-04 18:38:12 +02:00
Koen Kanters
732a97ba0c Don’t write to configuration.yaml when it didn’t change. https://github.com/Koenkk/zigbee2mqtt/issues/2071 2019-10-03 20:06:31 +02:00
Koen Kanters
e7bf5ee648 Update zigbee-herdsman-converters. 2019-10-03 19:03:36 +02:00
Gabe Cook
159a846c50 Do not publish a new optimistic group state if any devices within are (#2063)
on. Relates to #764
2019-10-03 17:41:36 +02:00
Koen Kanters
a6d3e7209f Update zigbee-herdsman-converters. 2019-10-02 22:01:29 +02:00
Koen Kanters
1a48c85365 Update zigbee-shepherd-converters. 2019-10-01 21:11:44 +02:00
Koen Kanters
6a8abd8ff4 Fix tests. 2019-10-01 20:58:08 +02:00
Koen Kanters
b492b0ce5f Improve logging. 2019-10-01 20:50:05 +02:00
Koen Kanters
518232e15e Zigbee-herdsman 0.8.0 2019-10-01 20:22:47 +02:00
Gabe Cook
fe4f43843d Update other groups with a shared device when a group state updates (#2055)
* Update other groups with a shared device when a group state updates #764

* Add group to test which does not have the shared device to be sure it does not change
2019-09-30 21:18:07 +02:00
Koen Kanters
fc3a826f50 Bump zigbee-herdsman. https://github.com/Koenkk/zigbee2mqtt/issues/892 2019-09-30 21:16:00 +02:00
Koen Kanters
c8eb503ae7 Simplify group optimistic mode. https://github.com/Koenkk/zigbee2mqtt/issues/764 2019-09-29 14:35:05 +02:00
Pauline Middelink
7507ad6dcb Remove caching for to_side and from_side. (#2048)
Stop caching `to_side` and `from_side` which only have meaning during the `flip90` action of the MFKZQ01LM Smart Cube.
Fixes #641
2019-09-29 13:42:58 +02:00
Koen Kanters
92fcf5a85a Update zigbee-herdsman-converters. 2019-09-28 18:11:02 +02:00
Koen Kanters
7b8b2c5213 Update zigbee-shepherd-converters 2019-09-28 13:48:25 +02:00
Koen Kanters
9d8e56408a Fix device configuring when paired through zigbee-shepherd. 2019-09-28 13:08:32 +02:00
Koen Kanters
67f6ccc8a8 Don’t allow duplicate friendly_name. #1876 2019-09-27 22:56:59 +02:00
Andreas Brett
d12943556c Update controller.js (#2040)
fixed typo
2019-09-26 09:30:12 +02:00
Koen Kanters
9964d8e462 Fix various crashes when removing a device. https://github.com/Koenkk/zigbee2mqtt/issues/2004 2019-09-26 01:14:58 +02:00
Koen Kanters
ca481d7f76 Update zigbee-shepherd-converters. 2019-09-25 13:38:10 +02:00
Koen Kanters
62e67e99d2 Don’t publish chached states when cache_state is disabled.https://github.com/Koenkk/zigbee2mqtt/issues/2033 2019-09-25 13:15:30 +02:00
Koen Kanters
d4011fabc7 Implement group optimistic ‘group_devices’ mode. https://github.com/Koenkk/zigbee2mqtt/issues/764#issuecomment-534146878 2019-09-25 12:51:17 +02:00
Koen Kanters
cfefaeb73c Validate settings on startup with JSON schema. 2019-09-25 12:08:39 +02:00
Koen Kanters
34111159ae Update Winston logger to 3.x 2019-09-25 10:55:50 +02:00
Koen Kanters
007bc42bf7 Update zigbee-shepherd-converters. 2019-09-23 23:57:41 +02:00
Koen Kanters
3001e2d3a0 Add more properties for coordinator /devices/get. https://github.com/Koenkk/zigbee2mqtt/issues/2020 2019-09-23 23:10:29 +02:00
barrygwn
f60b4ddd80 added support for IKEA LED1836G9: TRADFRI bulb E27 WW 806lm (#2022)
* added 'LED1836G9' TRADFRI bulb E27 WW 806lm

* added 'LED1836G9' TRADFRI bulb E27 WW 806lm

* Update homeassistant.js
2019-09-23 22:39:22 +02:00
Koen Kanters
41e68c8ffe Update zigbee-herdsman to 0.7.0. 2019-09-23 22:21:27 +02:00
Koen Kanters
63acd4a43b Update zigbee-herdsman and zigbee-shepherd-converters. 2019-09-22 21:29:38 +02:00
Koen Kanters
c5218bbd31 Update zigbee-herdsman. 2019-09-22 20:02:46 +02:00
alwashe
4dd9f0ee57 Update homeassistant.js (#2015) 2019-09-22 18:35:47 +02:00
Koen Kanters
e441cf1752 Add extra logging for failed to configure. https://github.com/Koenkk/zigbee2mqtt/issues/1957 2019-09-22 18:01:10 +02:00
Koen Kanters
e65f9d36d0 Add extra failed to setup reporting logging. https://github.com/Koenkk/zigbee2mqtt/issues/2005 2019-09-22 17:56:12 +02:00
Koen Kanters
9e94148459 Fix group membership args. https://github.com/Koenkk/zigbee2mqtt/issues/2003 2019-09-20 22:09:11 +02:00
Koen Kanters
5b71eeeed8 Update zigbee-herdsman zigbee-shepherd-converters. 2019-09-20 21:25:56 +02:00
Koen Kanters
d4f01e6893 Replace Livolo extension with DeviceEvent. https://github.com/Koenkk/zigbee2mqtt/issues/592 2019-09-19 20:36:05 +02:00
felixstorm
d7401c817c entityPublish.js - add logger to meta (#1988) 2019-09-17 21:46:16 +02:00
Koen Kanters
c09f55873b Add group optimistic feature. https://github.com/Koenkk/zigbee2mqtt/issues/764 2019-09-17 19:01:57 +02:00
Koen Kanters
1a7331609a Fix lint. 2019-09-17 18:38:25 +02:00
Koenkk
ff83840f76 Change group state when device state changes. https://github.com/Koenkk/zigbee2mqtt/issues/1971 2019-09-17 18:33:27 +02:00
Koenkk
c8a07a5c2d Add base extension. 2019-09-17 18:32:16 +02:00
Koenkk
11aacb8620 Fix networkmap raw graph breaking change. https://github.com/azuwis/zigbee2mqtt-networkmap/issues/6 2019-09-17 18:19:42 +02:00
Koen Kanters
21dadd631c Don’t throw error when devices is null. https://github.com/Koenkk/zigbee2mqtt/issues/1973 2019-09-16 19:49:49 +02:00
Koen Kanters
c32f8961b6 Update zigbee-shepherd-converters. 2019-09-16 19:38:24 +02:00
Koenkk
1f1c771075 Make logging consistent. https://github.com/Koenkk/zigbee2mqtt/issues/1965 2019-09-15 09:13:02 +02:00
Koen Kanters
f5463dbf0e Add last seen to zigbee2mqtt/bridge/config/devices/get. https://github.com/Koenkk/zigbee2mqtt/issues/1910 2019-09-12 22:50:51 +02:00
Koen Kanters
9c5b3bf4d1 Use lastSeen from zigbee-herdsman. 2019-09-12 22:48:23 +02:00
Koen Kanters
798a4ee565 Fix hardware and software version in devices payload. https://github.com/Koenkk/zigbee2mqtt/issues/1958 2019-09-12 20:58:57 +02:00
Koen Kanters
09743f13f9 Improve publish logging. https://github.com/Koenkk/zigbee2mqtt/issues/1958 2019-09-12 20:53:23 +02:00
Koen Kanters
d53e1330f5 Improve error message when reading invalid YAML file. 2019-09-11 21:42:44 +02:00
Koen Kanters
8b4e0fd865 Log stack on zigbee start error. 2019-09-10 22:07:31 +02:00
Koen Kanters
cfae1bf3b0 Default transition for groups. https://github.com/Koenkk/zigbee2mqtt/issues/1948 2019-09-10 19:42:04 +02:00
Koen Kanters
053e646f50 Update zigbee-herdsman-converters. 2019-09-09 21:31:57 +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
eb69ea6808 Fix lint 2019-09-09 19:04:07 +02:00
Koen Kanters
d0242fbd54 Update zigbee-shepherd-converters to 10.2.5. 2019-09-08 20:52:17 +02:00
Michal Szymura
bd8801698f Added Sengled Z01-A60EAE27 to HA Autodiscovery (#1936)
* Added Sengled Z01-A60EAE27 to HA Autodiscovery

* Update homeassistant.js

* Update homeassistant.js
2019-09-06 08:09:41 +02:00
wixoff
b77be8e673 Support Hue white ambiance E26 with Bluetooth (#1932) 2019-09-05 19:44:07 +02:00
BIERAAP
1189d16839 Added support TRADFRI bulb GU10 WW 400lm LED1837R5 (#1927) 2019-09-03 18:04:42 +02:00
LagaV
b00d4d55fa Adding Philips Adore lights to Home Assistant integration (#1917) 2019-09-01 10:41:29 +02:00
Abílio Costa
4f7e3a179f add support for TRADFRI bulb E27 WS clear 806lm (#1902) 2019-08-31 13:14:46 +02:00
stkang90
1bdbeae144 add support SA-003-Zigbee (#1894)
* add support SA-003-Zigbee

[product detail]
https://ko.aliexpress.com/item/32957480204.html?spm=a2g0o.productlist.0.0.5b4e7321varbKb&algo_pvid=a9497085-a7c0-4863-ba60-f911cb532362&algo_expid=a9497085-a7c0-4863-ba60-f911cb532362-0&btsid=bb62c063-3baf-452c-99a9-ba43e40f04a1&ws_ab_test=searchweb0_0,searchweb201602_4,searchweb201603_52

* Update homeassistant.js
2019-08-28 17:32:31 +02:00
Koen Kanters
48fc7d8d3b Update zigbee-shepherd-converters. 2019-08-21 19:37:36 +02:00
Koen Kanters
7d04185f2c Update zigbee-shepherd-converters and zigbee-herdsman. 2019-08-16 19:03:23 +02:00
Kiall Mac Innes
377e9d50dc IKEA TRADFRI E1810 (#1866)
Add the IKEA E1810, which appears to be a replacement for the E1524. Functionally, they appear to
work identically, the only difference I can see is front finish is matte rather than glossy, and
the internals behind the battery cover are slightly different.
2019-08-16 18:41:11 +02:00
felixstorm
9628cf2c95 Home Assistant discovery: allow to delete setting (#1839)
* Home Assistant discovery: allow to delete setting by setting it to `null`

* Home Assistant discovery: support boolean values
2019-08-16 17:44:18 +02:00
hawkefly
4d4a63f913 support aqara s2 lock pro (#1859) 2019-08-16 17:40:47 +02:00
Kiall Mac Innes
d96c3da8d5 Fix commit hash output in version info (#1855) 2019-08-13 20:03:08 +02:00
Leander Seidlitz
6abe7d2fd7 Add support for Osram Smart+ GU10 PAR16 AC08560 (#1850) 2019-08-13 19:47:43 +02:00
Koen Kanters
a62d6aad91 Update zigbee-herdsman and zigbee-shepherd-converters. 2019-08-12 19:20:33 +02:00
Koen Kanters
c55691daec Fix groups log messages. https://github.com/Koenkk/zigbee2mqtt/issues/1848 2019-08-12 19:13:18 +02:00
acc
c9f56f0bbf separate HGZB-01A and HGZB-02A and identify HGZB-01A as a switch (#1844) 2019-08-12 17:47:55 +02:00
felixstorm
c53c4c894f Support reporting for closuresWindowCovering cluster (#1837) 2019-08-11 14:13:44 +02:00
felixstorm
6ae307d893 Home Assistant integration - support for ubisys D1, J1, S1, S2 (#1830)
* HomeAssistant integration - support for ubisys D1, J1, S1, S2

* fixes for eslint
2019-08-11 14:13:44 +02:00
hawkefly
511f9406e2 add sensor_action config for WXKG12LM (#1826) 2019-08-11 14:13:44 +02:00