qm3ster
a93838be15
codemod: object-shorthand
...
Also fixed `new (` and `formatter` by hand.
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
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
ae14fa5cd6
Update zigbee-shepherd-converters to 7.2.0.
2019-03-02 16:35:00 +01:00
Koen Kanters
61116ec670
Fix tests.
2019-02-26 21:06:48 +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
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
Koen Kanters
ec0ee53c7a
Log zigbee publish errors to MQTT. #1123
2019-02-20 17:57:28 +01:00
Ruslan Sayfutdinov
0632f83baf
Create default and system MQTT postfixes ( #1114 )
2019-02-18 17:57:57 +01:00
Koen Kanters
17a6fff3ce
Publish group state. #764
2019-02-14 18:13:51 +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
Koen Kanters
c9c599b60b
Refactor publishDeviceState to publishEntityState (for future group support).
2019-02-04 18:36:49 +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
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
fd4a88acd0
Refactor zigbee publish queue to zigbee.js
2019-02-02 01:41:05 +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
zipbee
38159a536c
Add support for Gledopto devices with multiple lights in one controller ( #956 )
2019-01-28 22:11:55 +01:00
Koen Kanters
1ddf60bef0
Fix some of the clogging issues. #914 #842
2019-01-22 20:31:50 +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
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
3bc2ec8c79
Simplify groups api.
2018-12-27 18:43:34 +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
Koen Kanters
1b8154bac1
Fix crash when transition is used. #712
2018-12-17 21:27:13 +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
bede1032e6
Refresh state after transition. https://github.com/Koenkk/zigbee-shepherd-converters/issues/155
2018-12-06 21:27:41 +01:00
Koenkk
60c2593669
Skip state when brightness is also published (reduces amount of useless zigbee commands).
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
dcb75b19d3
Default postfix to empty string. https://github.com/Koenkk/zigbee2mqtt/issues/593
2018-12-06 21:27:41 +01:00
Koenkk
6df4e39f18
Refactor!
2018-12-06 21:27:36 +01:00
Koenkk
2cb27b14f9
Allow ‘/‘ in friendly_name. https://github.com/Koenkk/zigbee2mqtt/issues/470
2018-11-07 19:40:58 +01:00
Koenkk
86a102e081
Only mock state after set. #518
2018-11-06 21:20:03 +01:00
Koenkk
9119e54c2c
Prepare for read commands. https://github.com/Koenkk/zigbee2mqtt/issues/518
2018-11-05 21:55:30 +01:00