qm3ster
c0bdf2e3a2
Lazy load settings on first use
2019-03-09 16:30:05 +01:00
qm3ster
9321a04ecc
Move resolveEntity
into settings.js
...
Had to refer to `module.exports.`
because all of those functions get mocked in tests.
2019-03-09 16:30:05 +01:00
Koen Kanters
184eef72b0
Update zigbee-shepherd-converters to 7.2.6.
2019-03-08 17:39:15 +01:00
Koen Kanters
e892a54013
Update zigbee-shepherd-converters to 7.2.5.
2019-03-06 22:09:51 +01:00
Koen Kanters
2c6176ff10
Fix parse topic when topic ends with postfix. https://github.com/Koenkk/zigbee2mqtt/issues/1200
2019-03-06 21:38:49 +01:00
Koen Kanters
83b8fc9778
Add top and bottom to postfixes. https://github.com/Koenkk/zigbee-shepherd-converters/pull/319
2019-03-06 21:08:33 +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
Markus Goy
1857ac525b
Added Home Assistant autodiscovery configuration ( #1187 )
2019-03-04 20:04:42 +01:00
Koen Kanters
6427da244f
Implement attribute output. https://github.com/Koenkk/zigbee2mqtt/issues/493
2019-03-04 18:13:36 +01:00
Koen Kanters
2a3670d3d7
Update zigbee-shepherd-converters to 7.2.3
2019-03-03 18:37:46 +01:00
Andreas Brett
1cde620d70
add support for local ISO8601 timestamp format ( #1171 )
...
* add support for local ISO8601 timestamp format
added local ISO8601 timestamp format for local rather than UTC-based timestamps
ISO8601 = 2019-03-01T15:32:45.941+0000
ISO8601_Local = 2019-03-01T16:32:45.941+0100 (for TZ GMT+1)
* fixed indentation
* tabs to spaces
* comply with Travis
* comply with Travis once again
* Removed spaces to make Travis happy
* updates
2019-03-02 16:47:36 +01:00
Koen Kanters
ae14fa5cd6
Update zigbee-shepherd-converters to 7.2.0.
2019-03-02 16:35:00 +01:00
Jakub
672a0cac4f
Hide network_key from debug output ( #1169 )
...
* Hide network_key from debug output
There's no need to print this key.
* strings must use singlequote
* Update zigbee.js
2019-03-02 14:04:52 +01:00
Andreas Brett
4ea55fe22a
fixed typo ( #1173 )
2019-03-01 17:15:03 +01:00
Koen Kanters
61116ec670
Fix tests.
2019-02-26 21:06:48 +01:00
Koen Kanters
709046db2a
Add binary battery low sensor for HS1SA and HS3SA. https://github.com/Koenkk/zigbee2mqtt/issues/1159
2019-02-26 21:00:20 +01:00
Koen Kanters
8f0794cb8f
Also assume brightness on publish. https://github.com/Koenkk/zigbee2mqtt/issues/1155
2019-02-26 20:53:30 +01:00
Koen Kanters
cd2fb54615
Changes to report/bind functionallity.
2019-02-26 20:46:34 +01:00
Koen Kanters
7893f9256f
Refactor report to new queue mechanism.
2019-02-26 19:33:32 +01:00
Koen Kanters
09f26a104c
Restore zigbee.js changes.
2019-02-26 19:33:32 +01:00
Koen Kanters
5ffae5a09a
Remove unecessary device param.
2019-02-26 19:33:32 +01:00
jbn
f7ceb62eec
fix lint more errors
2019-02-26 19:33:32 +01:00
jbn
b8f689fe6e
fix lint errors
2019-02-26 19:33:32 +01:00
jbn
09e0fe8e3f
setup automatic attribute change reporting
2019-02-26 19:33:32 +01:00
jbn
fdf97180b0
Fix race condition when configuring devices
2019-02-26 19:33:32 +01:00
Koen Kanters
5a9aef6d3b
Change to action_color. https://github.com/Koenkk/zigbee-shepherd-converters/pull/304
2019-02-26 19:29:53 +01:00
Koen Kanters
863230eaa3
Fix cover_position typo. #294
2019-02-25 17:56:47 +01:00
Koen Kanters
cb0cc149a1
ZNCLDJ11LM position Home Assistant discovery. #294
2019-02-24 21:35:48 +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
Joe Lu
46e75374b6
- added AXIS Gear and Keen Home vent to homeassistant.js ( #1150 )
2019-02-24 13:29:46 +01:00
Koen Kanters
ee167e603a
Update zigbee-shepherd-converters to 7.1.12.
2019-02-23 19:30:17 +01:00
Koen Kanters
9b12933a99
Dont cache action_group.
2019-02-23 19:13:01 +01:00
Koen Kanters
ea7a4b1955
Remove last_seen from state when last_seen is disabled. https://github.com/Koenkk/zigbee2mqtt/issues/1075
2019-02-23 16:22:01 +01:00
Koen Kanters
147a130628
Update zigbee-shepherd-converters to 7.1.11
2019-02-23 16:02:45 +01:00
Koen Kanters
1fda02ae7c
Allow to change device specific options via MQTT. https://github.com/Koenkk/zigbee2mqtt/issues/1132
2019-02-22 20:10:00 +01:00
Koen Kanters
4a664cf230
Implement zigbee queue. #1027
2019-02-22 18:58:50 +01:00
Andreas Brett
1a0baee788
log address resolution errors through MQTT ( #1145 )
...
* log address resolution errors through MQTT
* fixed params
2019-02-22 12:49:08 +01:00
Andreas Brett
1287a596f9
fix typo ( #1142 )
2019-02-22 10:54:10 +01:00
Andreas Brett
1862c8b035
fixed typo ( #1135 )
...
* fixed typo
* Update deviceConfigure.js
2019-02-21 18:47:05 +01:00
Andreas Brett
8c848b8368
add device model to log ( #1136 )
...
* add device model to log
* Update deviceReceive.js
2019-02-21 18:45:22 +01:00
Koen Kanters
bdfabeb3da
Discover linkquality sensor for all devices. https://github.com/Koenkk/zigbee2mqtt/issues/757
2019-02-20 20:10:38 +01:00
Koen Kanters
ec0ee53c7a
Log zigbee publish errors to MQTT. #1123
2019-02-20 17:57:28 +01:00
Koen Kanters
14f5c4d3c9
Prepare Home Assistant discovery for group support. #764
2019-02-19 19:43:50 +01:00
Koen Kanters
f3e13f16f3
Add more don’t cache properties. https://github.com/Koenkk/zigbee-shepherd-converters/pull/284
2019-02-19 19:31:58 +01:00
Andreas Brett
25448f823e
Fix typo ( #1124 )
2019-02-19 19:16:18 +01:00
Koen Kanters
26bed2d998
Allow to configure last_seen via MQTT. https://github.com/Koenkk/zigbee2mqtt/issues/1075
2019-02-18 19:46:57 +01:00
Koen Kanters
cc45413e2d
Add settings.set api.
2019-02-18 19:46:19 +01:00
Koen Kanters
ba77860489
Exit when zigbee-shepherd fails to start. https://github.com/Koenkk/zigbee2mqtt/issues/1110
2019-02-18 19:24:26 +01:00
Glen Takahashi
3238687f60
Add group membership command ( #1056 )
...
* Group membership
* Fix lint
* Update deviceGroupMembership.js
* Update deviceGroupMembership.js
2019-02-18 18:21:54 +01:00
Ruslan Sayfutdinov
0632f83baf
Create default and system MQTT postfixes ( #1114 )
2019-02-18 17:57:57 +01:00
Koen Kanters
259a3417e2
Coordinator group is not needed anymore. #102
2019-02-18 17:42:50 +01:00
Koen Kanters
a20ec7caa1
Update zigbee-shepherd-converters to 7.1.10.
2019-02-17 15:14:36 +01:00
Koen Kanters
b08bf33ccf
Soft reset via MQTT. https://github.com/Koenkk/zigbee2mqtt/issues/1099
2019-02-16 19:40:34 +01:00
Koen Kanters
577bb0d12c
Replace force_update with expire_after for home assistant buttons. https://github.com/Koenkk/zigbee2mqtt/issues/959
2019-02-15 23:31:44 +01:00
Koen Kanters
11a6e36a82
Correctly resolve device friendlyName when lookup via ieeAddr.
2019-02-14 20:12:27 +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
15cad740ee
Update zigbee-shepherd-converters to 7.1.9.
2019-02-14 19:45:52 +01:00
Koen Kanters
ab14cca0ee
Update coordinator group documentation link.
2019-02-14 19:34:29 +01:00
MoskitoHorst
87889c0688
tint Remote ( #1085 )
...
* tint Remote
Added tint remote to group devices
* Update coordinatorGroup.js
* Update homeassistant.js
2019-02-14 19:33:21 +01:00
Koen Kanters
17a6fff3ce
Publish group state. #764
2019-02-14 18:13:51 +01:00
Koen Kanters
f171d54e4b
Refactor extension names.
2019-02-13 21:03:23 +01:00
Koen Kanters
9faeb53ddb
Refactor addCoordinatorToGroup.
2019-02-13 20:43:22 +01:00
Koen Kanters
21a782d2c6
Reporting: also bind cluster to coordinator. https://github.com/Koenkk/zigbee2mqtt/issues/1064
2019-02-13 20:26:31 +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
a62f4289a7
Log more to MQTT. #1075
2019-02-13 19:49:06 +01:00
Koen Kanters
0f053425f3
Merge branch 'master' into dev
2019-02-13 19:28:35 +01:00
Koen Kanters
04e68014da
Update link to zigbee2mqtt.io. #1072
2019-02-12 21:39:37 +01:00
qosmio
b3310c49ca
Adding support for OSRAM Lightify BR30 RGBW to Home Assistant ( #1070 )
...
* Add support for Sengled E12-N14 (BR30) Light
* .
* Add Osram BR30 RGBW LED to HA
2019-02-12 19:33:45 +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
Russell Joyce
bf526f6f50
Added Home Assistant support for Innr RS 225 bulb ( #1053 )
2019-02-10 14:40:54 +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
timstanley1985
a0278b7577
Allow to override Home Assistant discovery configuration. ( #1030 )
...
* Add expiry_after configuration option
* Failed attempt at moving expire_after to under a homeassistant sub-section
* Update.
2019-02-09 19:42:31 +01:00
Koen Kanters
0f89053d05
Update zigbee-shepherd-converters to 7.1.4.
2019-02-09 01:01:08 +01:00
way2many
e1ff6bdac5
Add support for Hue white ambiance suspension Fair ( #1048 )
2019-02-09 00:37:07 +01:00
Koen Kanters
52fb19360e
Revert "Set state of stateless properties to ‘idle’ after publish. #959 "
...
This reverts commit 0826db07d0
.
2019-02-09 00:29:40 +01:00
Koen Kanters
e47b672bcb
Revert "Fix Home Assistant automation trigger reliability by adding a small delay. #958 "
...
This reverts commit f4bf504642
.
2019-02-09 00:29:16 +01:00
pfischbach
ed5675960e
Update homeassistant.js
...
Add support for Bosch Motion Sensor RADON TriTech ZB
2019-02-07 19:46:16 +01:00
Koen Kanters
ba5bf3c209
Remove payload.command_topic_prefix from payload. #1046
2019-02-07 19:33:00 +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
Koen Kanters
f4bf504642
Fix Home Assistant automation trigger reliability by adding a small delay. #959
2019-02-05 18:53:51 +01:00
Koen Kanters
5fc7760db6
Update zigbee-shepherd-converters to 7.1.3.
2019-02-05 18:26:17 +01:00
Koen Kanters
0826db07d0
Set state of stateless properties to ‘idle’ after publish. #959
2019-02-05 17:41:47 +01:00
Koen Kanters
7642b295e1
Add option to enable livolo code. #592
2019-02-04 18:39:45 +01:00
Koen Kanters
c9c599b60b
Refactor publishDeviceState to publishEntityState (for future group support).
2019-02-04 18:36:49 +01:00
ptvo
c0a87ff520
Improved Livolo extension ( #1016 )
...
* Improved Livolo extension (pause polling after 3 unsuccessful attempts)
* Added: queuing of all Zigbee messages
* Fixed problem with .startsWith
2019-02-04 16:55:44 +01:00
Roman Zhukov
f7f9a1699b
Fix Xiaomi Gas Leak Sensor Homeassistant mqtt discovery config ( #1009 )
...
Remove battery sensor
2019-02-03 18:07:17 +01:00
Koen Kanters
51c91e685e
Check if device has manufName. #1005
2019-02-03 17:11:41 +01:00
Koen Kanters
8a6582739f
Add missing SPZB0001.
2019-02-03 15:04:43 +01:00
Koen Kanters
2302240897
Fix linting.
2019-02-03 14:39:35 +01:00
Giel
60349171d2
Always read after write for devices that require it. ( #1004 )
...
* Always read after write for devices that require it.
Devices with readAfterWriteTime set, even if it's 0, will get their
state read after write because those devices don't automatically
report it themselves.
Devices that are capable of reporting but don't do it by default
should have `report: true` set in the device-specific config and
we won't read after write.
* Fix tests
2019-02-03 14:39:00 +01:00
Koen Kanters
35f0def29f
Comment out Livolo switch code. #592 #1005
2019-02-03 14:25:01 +01:00
Koen Kanters
96dcb93859
Update zigbee-shepherd-converters to 7.1.0.
2019-02-02 20:31:55 +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
5828ee9989
Implement availability blacklist. #775
2019-02-02 18:10:25 +01:00
Koen Kanters
054892641b
Check availability for new devices. #775
2019-02-02 17:58:38 +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
0b3c8df810
Fix linting.
2019-02-02 01:52:21 +01:00
Koen Kanters
4405e71610
Retrieve device state after device offline -> online. #775
2019-02-02 01:47:53 +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
4558bffd41
Don’t setup reporting for binding, use report functionallity. #782
2019-02-02 00:37:42 +01:00
Koen Kanters
89c66094c6
Setup reporting for X/Y color. #966
2019-02-02 00:35:45 +01:00
Koen Kanters
ae08deb2fd
Refactor and remove unnecessary bind. #966
2019-02-02 00:31:30 +01:00
Koen Kanters
0d9741e511
Update zigbee-shepherd-converters to 7.0.28.
2019-02-01 19:58:12 +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
Koen Kanters
d5c6e39e7d
Refactor device reconfigure when device comes online and mark online. #966 #775
2019-01-31 21:42:53 +01:00
jbn
588124b971
Add announcement handler to deviceAvailability extension
2019-01-31 21:33:37 +01:00
Bruceforce
8ffd7653ac
[devicePublish.js] Increase timeout ( #974 )
...
This should avoid a non-function state of the app when too many
requests arrive at a specific time frame (e. g. turning a lot of lights
out in the same time).
See discussion in #362
2019-01-30 18:08:15 +01:00
Koen Kanters
99a29293dd
Mock homeassistant zigbee2mqtt version.
2019-01-30 18:07:44 +01:00
Koen Kanters
17874cfdc1
Make availability_timeout non experimental. #775
2019-01-29 20:17:56 +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
zipbee
38159a536c
Add support for Gledopto devices with multiple lights in one controller ( #956 )
2019-01-28 22:11:55 +01:00
MarkAdamson
7e2ca5a97e
Added support for Salus SP600 Smart Plug ( #954 )
2019-01-28 22:10:44 +01:00
Koen Kanters
16f3e884fc
Update zigbee-shepherd-converters to 7.0.25.
2019-01-27 00:45:31 +01:00
Koen Kanters
cae5d1a004
Implement queue for Xiaomi router polling. https://github.com/Koenkk/zigbee2mqtt/issues/927
2019-01-26 21:19:20 +01:00
Koen Kanters
1ddf60bef0
Fix some of the clogging issues. #914 #842
2019-01-22 20:31:50 +01:00
Koen Kanters
6ff3954b71
Update zigbee-shepherd-converters to 7.0.23.
2019-01-22 20:22:16 +01:00
Simon Rasmussen
6dd2926a1d
Refactored light specific transtime to generic readAfterWriteTime value ( #910 )
...
* Refactored light specific transtime value to generic readAfterWriteTime
value
* Added line break
2019-01-22 20:08:57 +01:00
clockbrain
5970e498f3
Add styling to graphviz devices and links ( #894 )
...
* Add styling to graphviz devices and links
* Fix eslint error and gvrender_set_style warning
2019-01-22 20:07:38 +01:00
Laurent
9e5fb04314
Elapsed time ( #909 )
...
* new elapsed attribute giving the elapsed time since the previous msg
* configurable elapsed attribute
* Update deviceReceive.js
* Update deviceReceive.js
2019-01-22 20:02:34 +01:00
Koen Kanters
d324a91a5f
Change unit of sensor_linkquality to -. #883
2019-01-21 18:51:53 +01:00
Koen Kanters
fcfeac81e4
Fix state when controlling brightness via brightness_percent. https://github.com/Koenkk/zigbee2mqtt/issues/902
2019-01-21 18:02:50 +01:00
Koen Kanters
86f19affa1
Ensure that state and brightness are executed before other commands. #788
2019-01-21 17:38:06 +01:00
Koen Kanters
a43cd5a864
Ignore messages from coordinator. https://github.com/Koenkk/zigbee2mqtt/issues/801
2019-01-18 22:23:47 +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
aa87443c95
Add unit_of_measurment to linkquality sensor. https://github.com/Koenkk/zigbee2mqtt/issues/883
2019-01-18 21:41:41 +01:00
Koen Kanters
f5a5668359
Update zigbee-shepherd-converters to 7.0.21.
2019-01-18 20:45:24 +01:00
pnewnam
5f2e93f64d
Add Device Map for Sengled downlight E1ACA4ABE38A ( #881 )
...
* Add Device Map for Sengled downlight E1ACA4ABE38A
Add mapping for Sengled recessed downlight E1A-AC2
* Add image for Sengled downlight E1A-AC2
* Add Sengled model E1A-AC2
* Add Sengled model E1A-AC2 downlight
* Update supported_devices.md
2019-01-18 20:37:29 +01:00
Laurent
7cd30a3a05
configurable last_seen ( #874 )
...
* configurable last_seen
* Refactor last_seen.
2019-01-18 20:31:55 +01:00
Ivan Salazar
34a3e3c00b
add Sengled E11-G13 bulbs to deviceAvailability.js ( #860 )
...
* add Sengled E11-G13 bulbs to deviceAvailability.js
* Update deviceAvailability.js
* Refactor and add tests
* Fix linting issue
2019-01-16 20:41:41 +01:00
Timo Matthias
dda2e064b2
Fix Typo ( #863 )
...
* Update coordinatorGroup.js
Fix Typo
* Update deviceAvailability.js
Fix Typo
2019-01-15 17:46:53 +01:00
Koenkk
6912f8108d
Refactor json_attributes to json_attributes_topic. https://github.com/Koenkk/zigbee2mqtt/issues/840
2019-01-14 18:04:33 +01:00
Koen Kanters
be50d650a4
Update-zigbee-shepherd-converters to 7.0.16
2019-01-13 19:12:13 +01:00
Sander
72a74d7dc1
Add device support for iCasa Zigbee 3.0 Dimmer ( #846 )
...
* Add device support for iCasa Zigbee 3.0 Dimmer
* Update homeassistant.js
2019-01-13 17:28:56 +01:00
Koen Kanters
dccdc5aafa
Publish one MQTT message when a zigbee message is converted twice. #827
2019-01-11 22:38:16 +01:00
Koen Kanters
4ec905efca
Update zigbee-shepherd-converters to 7.0.14.
2019-01-10 18:23:22 +01:00
mkventure
fd2cf41f0f
Update homeassistant.js for HGZB-01A & 464800 ( #831 )
...
- Add Nue HGZB-01A ZigBee Smart Light Controller to enable autodiscovery. (ref: PR#203 on zigbee-shepherd-converters, https://github.com/Koenkk/zigbee-shepherd-converters/pull/203 )
- Add Hue 464800 Hue white ambiance BR30 flood light
2019-01-09 20:57:14 +01:00
Koen Kanters
755d101738
Fix crash when there are no endpoints. #819
2019-01-09 20:49:22 +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
30b35e7272
Prevent Message without device! messages when pairing devices.
2019-01-08 19:22:09 +01:00
Koenkk
f6c01a02c9
Home Assistant: set precision in value_template. #787
2019-01-08 19:00:47 +01:00
Koenkk
35b9e6204d
Implement banning devices. #816
2019-01-08 19:00:02 +01:00
boojew
84f9d09b3f
Rebased and added D1531 and D1532 bulbs ( #829 )
2019-01-08 18:46:38 +01:00
Koen Kanters
a2ea9c548f
Improve logging.
2019-01-07 18:18:14 +01:00
Koen Kanters
932a66a5c4
Home Assistant: create separate sensor for battery. #787
2019-01-06 15:42:25 +01:00