Adán SDPC
0fb84294f0
Stop caching forgotten
and keyerror
properties ( #667 )
...
* feat(device_receive): stop caching `forgotten` and `keyerror` properties
After this change, the `forgotten` and `keyerror` properties as emitted
by the Xiaomi Vima Smart Lock will stop being cached. Previously they
were mostly useless, because after they were set to `true`, they were
never being unset or set back to `false` upon a successful unlock.
Close #666
* chore(device_receive): order uncached properties lexicographically
As the list of uncached properties grows over time, it could be
useful to order them lexicographically. This will make life easier
to any developer looking for a particular property in the list, and
in overall makes things look tidier.
2018-12-07 17:51:34 +01:00
Koen Kanters
a13bd85ef3
Update zigbee-shepherd-converters to 7.0.1
2018-12-06 21:27:41 +01:00
Koen Kanters
65526e7f68
Revert "Experimental support for home assistant device registry. https://github.com/Koenkk/zigbee2mqtt/issues/646 "
...
This reverts commit 7ea1fc66c2
.
2018-12-06 21:27:41 +01:00
johnnyletrois
81d04d3dae
Support Iris 3326-L occupancy/temperature sensor ( #651 )
...
* Support Iris 3326-L occupancy/temperature sensor
* Support for Iris contact sensor 3320-L
2018-12-06 21:27:41 +01:00
Koen Kanters
16c222d3b3
Support iAS cluster. ( #654 )
...
* Implement zapp-cie. https://github.com/Koenkk/zigbee2mqtt/issues/507
* Cleanup cie app. https://github.com/Koenkk/zigbee2mqtt/issues/507
* Update package.json
* Update zigbee.js
2018-12-06 21:27:41 +01:00
Koen Kanters
0e61618935
Experimental support for home assistant device registry. https://github.com/Koenkk/zigbee2mqtt/issues/646
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
Koen Kanters
c9c4fad7df
Fix bridge/config topic. https://github.com/Koenkk/zigbee2mqtt/issues/626
2018-12-06 21:27:41 +01:00
Koen Kanters
a52d3ea073
Publish bridge config. https://github.com/Koenkk/zigbee2mqtt/issues/626
2018-12-06 21:27:41 +01:00
Koen Kanters
dcc410f6c5
Update zigbee-shepherd-converters to 6.0.7.
2018-12-06 21:27:41 +01:00
Dennis van den Bos
c7743e6734
added Climax PSS-23ZBS power plug ( #644 )
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
698b40554e
Improve tests.
2018-12-06 21:27:41 +01:00
Koenkk
cb9beaa2ad
Fix getDeviceInfoForMqtt crash. https://github.com/Koenkk/zigbee2mqtt/issues/632
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
7d09d065c5
Update zigbee-shepherd-converters to 5.0.3. https://github.com/Koenkk/zigbee2mqtt/issues/627
2018-12-06 21:27:41 +01:00
Koenkk
99b330e85e
Lint
2018-12-06 21:27:41 +01:00
Koenkk
3f49e2e596
Don’t use unsupported json_attributes binary_sensor attribute. https://github.com/Koenkk/zigbee2mqtt/issues/605
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
6c059c3898
Update zigbee-shepherd-converters (remove onAfIncomingMsg code). https://github.com/Koenkk/zigbee2mqtt/issues/553
2018-12-06 21:27:41 +01:00
Koenkk
6df4e39f18
Refactor!
2018-12-06 21:27:36 +01:00
Koenkk
f797a12250
Update zigbee-shepherd-converters.
2018-11-14 18:32:02 +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
Dustin Wyatt
f379bc0391
add linkquality to json_attributes for HA discovery ( #566 )
2018-11-05 19:39:36 +01:00
Koenkk
2e736bf501
Update zigbee-shepherd-converters to 4.0.11
2018-10-31 17:10:28 +01:00
Stanislav Demydiuk
1e7f985d4e
Support both DeviceID and FriendlyName in device control topic ( #476 )
2018-10-30 21:23:34 +01:00
Koenkk
61c4ff33e0
Update zigbee-shepherd-converters to 4.0.10
2018-10-29 21:34:48 +01:00
mmnpkf
73ae48f387
Add Sengled Element Classic (A60) - B22 fitting ( #544 )
...
* Add Sengled Element Classic (A60) - B22 fitting
The Sengled Element Classic with Edison fitting (E27) is already defined - model E11-G23. The same bulb comes with a bayonet fitting (B22) with a slightly different model number - E11-G33.
* Update homeassistant.js
* Update homeassistant.js
2018-10-29 21:12:37 +01:00
mmnpkf
d8ea36af29
Add Nue Double GPO (au version) to Home Assistant ( #506 )
...
* Update homeassistant.js
Add code to expose Nue double power outlet (au version) to Home Assistant
* Update homeassistant.js
2018-10-25 20:43:31 +02:00
Felix Triller
d0cf61bf10
Use Home Assistant's device_class ( #528 )
...
* Use Home Assistant's device_class for sensors.
* Unit for pressure should be hPa
* There is no device_class lock
2018-10-24 21:10:42 +02:00
Koenkk
ddb83cc6e4
Handle zigbee commands sequentially (and refactor it). #529
2018-10-23 20:39:48 +02:00
Koenkk
c9df5c8221
Update zigbee-shepherd-converters to 4.0.7.
2018-10-19 22:27:29 +02:00
dcshoes23
7f13e2c3e6
Add homeassistant auto-discovery support for CE LED potlight 4" ( #505 )
2018-10-19 22:20:11 +02:00
Koenkk
0aab565083
Update zigbee-shepherd-converters to 4.0.6
2018-10-17 21:17:45 +02:00
Kiall Mac Innes
153f8bcfb5
Add Philips Hue white ambiance E14 (LTW012) HA Support ( #491 )
...
Adds HA support for LTW012 devices - See https://github.com/Koenkk/zigbee-shepherd-converters/pull/100
2018-10-17 18:25:33 +02:00
Simon van der Veldt
c04ed81adb
Fix typo in logging messages ( #486 )
2018-10-16 17:51:54 +02:00
Koen Kanters
a1cf75456b
Fix state caching. #485
2018-10-16 17:34:46 +02:00
AnhDuc85
2197328db5
add homeassistant config for Osram Outdoor Lantern W RGBW OSRAM ( #464 )
2018-10-09 20:47:29 +02:00
Koen Kanters
c5b9176614
Fix unique_id being set when not all devices have a friendly_name.
2018-10-08 20:25:04 +02:00
Laurent
0322354c37
[RFC] graphviz network map, display all devices ( #443 )
...
* network map, more info
* add a get(All)Devices method to zigbee
* graphviz: display all devices
loop through all devices, display all devices even those that haven't
responded to the lqi scan.
* makes eslint happy :)
* remove null chars from network map graphviz output
makes graphviz happy :-)
* Improvements to graphviz network map
* Always add device type
2018-10-07 21:46:54 +02:00
Koenkk
1db926173d
Refactor router polling & only poll Xiaomi routers, refactor soft reset timeout and disable by default. #274
2018-10-02 21:15:12 +02:00
Koenkk
da9ee71d80
Fix crash when deviceSettings are missing.
2018-10-02 20:35:14 +02:00
Phil Hawthorne
d9f02230a0
Add autodiscovery support for Sylvania MR16 ( #435 )
...
Adds auto discovery support for the MR16 smart bulbs from
Osram/Sylvania.
2018-10-01 16:39:23 +02:00
Koenkk
bf68f4575f
Update zigbee-shepherd-converters to 4.0.2
2018-09-29 23:05:18 +02:00
UnrealKazu
3a17db7c79
Add support for TRADFRI Control Outlet ( #413 )
...
The control outlet is a switch, hence the switch configuration.
2018-09-29 23:05:18 +02:00
Koenkk
e55252b9ff
Mock state ON when moveToLevelWithOnOff succeeds. https://github.com/Koenkk/zigbee-shepherd-converters/pull/81
2018-09-29 23:05:18 +02:00
Koenkk
71d12c3c71
Revert "Allow joining through specified device."
...
This reverts commit bf85ea1494
.
2018-09-29 23:05:18 +02:00
Koenkk
bc7b2bd5e0
Allow joining through specified device.
2018-09-29 23:05:18 +02:00
Koenkk
50d58d3dff
Always call zigbee shepherd permit join (in both true and false).
2018-09-29 23:05:18 +02:00
Koenkk
4180bd8933
Add friendly_name to graphviz network map. #252
2018-09-29 23:05:18 +02:00
Koenkk
172d11677b
Update zigbee-shepherd-converters.
2018-09-29 23:05:18 +02:00
Plácido Revilla
ab5537e18c
Add support for GE 45857 in-wall smart dimmer ( #394 )
...
* Add support for homeassistant discovery of E11-N1EA
* Add support for GE 45857 in-wall smart dimmer
2018-09-29 23:05:18 +02:00
Viet Dzung
b06e3b61f2
Support cfg in foundation and functional ( #390 )
...
* Support cfg in foundation and functional
* Update zigbee-shepherd-converters.
2018-09-29 23:05:18 +02:00
Stanislav Demydiuk
03d913defc
Add ability to send device information in MQTT message payload ( #374 )
2018-09-29 23:05:18 +02:00
Koen Kanters
75acffa8c7
Fix topicPrefix parsing. #387
2018-09-21 11:12:51 +02:00
Koenkk
ade84dc6c0
Fix MQTT command with prefix, introduced in #c22f8b3. #387
2018-09-20 16:16:57 +02:00
Koenkk
0c1dba7208
Fix functional command. #386
2018-09-19 20:59:30 +02:00
Unknown
1afbe05318
Update zigbee-shepherd-converters.
2018-09-18 22:24:17 +02:00
Plácido Revilla
8376b7c5f6
Add support for homeassistant discovery of E11-N1EA ( #379 )
2018-09-18 18:07:33 +02:00
Unknown
2fd59cb7ef
Remove log_directory_timestamp option, implement default settings, no : in timestamp. #356 #381
2018-09-18 17:51:34 +02:00
Zhong Jianxin
60e72c612c
Allow no timestamp in log directory ( #356 )
...
* Allow no timestamp in log directory
* Update log_directory_timestamp option
2018-09-17 22:55:17 +02:00
Koen Kanters
d5de918247
Revert
2018-09-14 08:33:28 +02:00
Koen Kanters
f916ec5f4c
Update foundation publish
2018-09-14 08:31:11 +02:00
Viet Dzung
469a01ebb6
Fix foundation error from #8433571
2018-09-14 10:01:07 +07:00
Koenkk
6e1af542e5
Update zigbee-shepherd-converter.
2018-09-11 22:04:37 +02:00
Koen Kanters
53051e9192
Merge pull request #351 from lolorc/linkquality0
...
don't ignore linkquality when its value is 0
2018-09-11 21:42:03 +02:00
Koen Kanters
b82f0e46aa
Use hasOwnProperty for linkquality check. https://stackoverflow.com/questions/13632999/if-key-in-object-or-ifobject-hasownpropertykey
2018-09-11 21:38:01 +02:00
Koen Kanters
f0f2dc847b
Merge pull request #355 from dzungpv/dev
...
Support Foundation Command for use in zigbee-shepherd converter
2018-09-11 21:34:25 +02:00
Koenkk
8433571b1e
Refactor multiple foundation.
2018-09-11 21:28:30 +02:00
Koenkk
2141d670bf
Update dependencies.
2018-09-11 18:01:48 +02:00
Viet Dzung
fccb4de565
Fix Lint error
2018-09-11 14:28:04 +07:00
Viet Dzung
236afaacaf
Support Foundation Command for use in zigbee-shepherd converter https://github.com/zigbeer/zcl-packet/wiki/6.-Appendix#FoundCmdTbl
2018-09-11 13:59:49 +07:00
Koenkk
f463ca68a5
Improve zigbee message debug logging.
2018-09-10 18:06:29 +02:00
Laurent
7502ba5312
don't ignore linkquality when its value is 0
2018-09-09 19:28:38 +02:00
Koen Kanters
c05b70b30b
Merge pull request #325 from sebastianheierhoff/master
...
Fix issue #306 : Sending config msg works only with default topic
2018-09-03 16:24:23 +02:00
sebastianheierhoff
c22f8b36ba
Fix issue #306 : Sending config msg works only with default topic
2018-08-31 12:34:59 +02:00
Koenkk
7276d116c2
Update dependencies.
2018-08-30 18:06:52 +02:00
Koen Kanters
1b7549dd73
Merge pull request #316 from sebastianheierhoff/master
...
Fix issue #229 : router devices can't be managed by zigbee2mqtt
2018-08-30 17:59:22 +02:00
Koen Kanters
7e4fff8454
Merge pull request #313 from TheCellMC/master
...
Add support for Philips Hue motion sensor
2018-08-30 17:53:09 +02:00
sebastianheierhoff
ad43d61f28
Fix issue #229 : router devices can't be managed by zigbee2mqtt
2018-08-29 19:22:36 +02:00
sebastianheierhoff
ed5c52654f
Fix issue #229 : router devices can't be managed by zigbee2mqtt
2018-08-29 19:19:54 +02:00
sebastianheierhoff
4f1b521bee
Fix issue #229 : router devices can't be managed by zigbee2mqtt
2018-08-29 18:49:01 +02:00
TheCellMC
a46f06a312
Update homeassistant.js
2018-08-29 09:14:20 +02:00
TheCellMC
6311dfb0f1
Update homeassistant.js
2018-08-29 09:11:41 +02:00
TheCellMC
ee82a885f7
Update homeassistant.js
2018-08-29 08:57:11 +02:00
TheCellMC
88524b7aed
Added support for hue motion sensor
2018-08-29 08:44:22 +02:00
Koenkk
b2a27dd64a
Implement basic graphviz networkmap. #252
2018-08-28 22:07:57 +02:00
Koenkk
2a520b0e81
Raw implementation of network map. #252
2018-08-28 21:55:00 +02:00
Koenkk
0c32f25203
Update zigbee-shepherd-converters to 2.0.44
2018-08-25 00:11:42 +02:00
Koen Kanters
9e5acdc94e
Merge branch 'dev' into master
2018-08-24 23:59:39 +02:00
Koen Kanters
417879b6a8
Add force_update: true for action
2018-08-24 23:58:44 +02:00
Koen Kanters
4ee7845b2a
Merge pull request #292 from carpenike/master
...
Added Self Signed CA Support
2018-08-17 18:41:36 +02:00
Koen Kanters
fb9600d55d
Change selfsigned to reject_unauthorized
2018-08-17 18:39:45 +02:00
Ryan Holt
c00f091d7f
removed trailing whitespace
2018-08-17 12:25:02 -04:00
Ryan Holt
b0b2bd2444
adjusted whitespace to remove tabs and replace with spaces.
2018-08-17 12:22:27 -04:00
Ryan Holt
9ee0049248
adjusted to support self-signed certificates on mqtt
2018-08-17 12:15:44 -04:00
Koenkk
197a3cdebc
Update log file extension.
2018-08-16 20:04:29 +02:00
tb-killa
c520985a4f
Implement cleanup-function for logfiles
2018-08-16 19:07:32 +02:00
tb-killa
931926cd96
add fs and bring in advanced logname with dateformat
2018-08-16 19:07:32 +02:00
tb-killa
427c99cd83
add moment to logger.js
2018-08-16 19:06:48 +02:00
Koenkk
a921394240
Merge branch 'dev' of https://github.com/Koenkk/zigbee2mqtt into dev
2018-08-16 18:56:51 +02:00
Koenkk
21f047f4aa
Use localtimestamp for file logging. #289
2018-08-16 18:56:33 +02:00
Koenkk
fc2e93d96f
Update dependencies
2018-08-15 21:10:19 +02:00
Koenkk
494c15a731
Update dependencies.
2018-08-13 20:37:01 +02:00
redmusicxd
f4ceccaa9b
Trust ZLED-2709
2018-08-13 19:22:24 +02:00
Koenkk
b4398e21c3
Fix linting
2018-08-13 19:21:55 +02:00
tb-killa
3900d56d6e
Extend ping function with friendlyName logging
2018-08-13 19:21:55 +02:00
tb-killa
08f64b96be
remove arrow separator
2018-08-13 19:21:55 +02:00
tb-killa
8411c0b30d
Change logger-formatter confirm to zigbee-shepherd debug
2018-08-13 19:21:55 +02:00
Koenkk
43260a3a83
Implement mqtt last will message. #267
2018-08-13 19:21:55 +02:00
Koenkk
6f4013fd94
Update zigbee-shepherd-converters. https://github.com/Koenkk/zigbee2mqtt/issues/204
2018-08-13 19:21:55 +02:00
tb-killa
4fa1a4c57a
Extend configureDevice with friendlyName Output
2018-08-13 19:21:55 +02:00
Koenkk
5ddfcea8f3
Log coordinator firmware version on startup.
2018-08-13 19:21:55 +02:00
Koenkk
502c0cb852
Log error when zigbee command fails. #254
2018-08-13 19:21:55 +02:00
Koenkk
1f6f73e8d2
Allow to log to custom directory. #207 #182
2018-08-13 19:21:55 +02:00
Koenkk
04b2f24d6b
Persist devices state across restarts. #249
2018-08-13 19:21:55 +02:00
Alex Mekkering
5e96c46a7a
Update to serialport 6.2.2
2018-08-13 19:21:55 +02:00
Koenkk
ec4f5e1472
Update dependencies.
2018-08-13 19:21:55 +02:00
Koenkk
46a3461e76
Update dependencies
2018-08-13 19:21:55 +02:00
Koenkk
fe92e9c421
Fix package.json
2018-08-13 19:21:55 +02:00
Koenkk
2ba86a13eb
Add linkquality to messages. #173
2018-08-13 19:21:55 +02:00
jaaps
696e6b4787
Add Hue Bloom support
2018-07-27 10:09:13 +02:00
Aron Tsang
7403fc7ce4
Add force update
2018-07-27 03:17:09 +08:00
Aron Tsang
79d8cb69c0
Expire clicks after 1 second so you can click again
2018-07-27 03:00:07 +08:00
Koen Kanters
b33878304f
Merge pull request #214 from Koenkk/issue_148
...
Add support for MQTT client ID. #148
2018-07-24 18:34:02 +02:00
Koenkk
2b7aeed4fb
Add support for MQTT client ID. #148
2018-07-24 18:31:16 +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
Koenkk
de879858a5
Update zigbee-shepherd-converters to 2.0.33.
2018-07-22 18:49:45 +02:00
Koenkk
0e608c7b2e
Add disable_led option. #133
2018-07-21 21:13:28 +02:00
tb-killa
aab18de88d
ADD Rename Function via MQTT Command
2018-07-21 18:19:11 +02:00
tb-killa
6d684b7c11
ADD RenameFriendlyName Function
2018-07-21 18:15:56 +02:00
Koenkk
396e4b1bed
Update zigbee-shepherd-converters.
2018-07-18 22:50:28 +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
209624cbef
Update zigbee-shepherd-converters to 2.0.28.
2018-07-14 21:10:46 +02:00
Koen Kanters
ad41ed6dcf
Merge branch 'dev' into gledopto-rgbcct-controller-support
2018-07-12 17:43:44 +02:00
Tom Usher
b494136c22
Add mapping for Gledopto RGB+CCT controller for Home Assistant
2018-07-11 13:19:01 +01:00
Koenkk
356ed9fa39
Update zigbee-shepherd and zigbee-shepherd-conveters for 324131092621 support. #36
2018-07-10 18:43:31 +02:00
Koenkk
8b5938f73f
Update zigbee-shepherd-converters.
2018-07-07 23:39:30 +02:00
Koenkk
3897541366
Log zigbee-shepherd information on startup. #178
2018-07-05 20:06:38 +02:00
Koenkk
7cec5f2d96
Update zigbee-shepherd-converters to 2.0.20.
2018-06-30 23:47:51 +02:00
Koen Kanters
c1f9f630b1
Merge branch 'master' into feat/home-assistant-config-for-nanoleaf-bulb
2018-06-30 23:38:49 +02:00
iain
fef68c122f
feat: home assistant nanoleaf mapping
2018-06-30 18:56:13 +01:00
Koenkk
f2ec895ec0
Update zigbee-shepherd-converters to 2.0.19. https://github.com/Koenkk/zigbee2mqtt/issues/154#issuecomment-401495951
2018-06-30 09:48:21 +02:00
Koenkk
52c51b687d
And instructions on how to (soft) reset stick. #156
2018-06-28 19:49:16 +02:00
Koenkk
a1cb4ca214
Update zigbee-shepherd-converters to 2.0.18.
2018-06-27 21:31:00 +02:00
Koen Kanters
2ba2864f87
Merge pull request #152 from Koenkk/issue_138
...
Homeassistant: dont set unique_id when friendlyName set. #138
2018-06-26 21:36:14 +02:00
Koen Kanters
420171e060
Add '9290011370' to homeassistant.js
2018-06-25 22:06:11 +02:00
Koenkk
f03ade2775
Don't log 'Connecting with device' when device is already known.
2018-06-25 20:18:50 +02:00
Koenkk
19f6d5f72a
Homeassistant: dont set unique_id when friendlyName set. #138
2018-06-24 14:21:56 +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
7d2474060a
Update zigbee-shepherd-converters.
2018-06-20 20:17:42 +02:00
Koenkk
4c4fcd7216
Update zigbee-shepherd-converters.
2018-06-17 17:15:43 +02:00
Koenkk
d980d0abcc
Update zigbee-shepherd-converters.
2018-06-16 22:17:01 +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
95db22e12b
Update zigbee-shepherd-converters.
2018-06-16 01:43:51 +02:00
Koenkk
df99c7edf5
Log zigbee message data on one line.
2018-06-16 01:04:32 +02:00
Koen Kanters
c372618eac
Merge pull request #125 from ciotlosm/add_version_support
...
Add support for version numbers and hash
2018-06-16 00:15:36 +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
01effab24c
Fixes #97
2018-06-14 22:48:25 +03:00
Koenkk
ae9f071ffc
Update logger.js
2018-06-14 20:27:43 +02:00
Marius Ciotlos
4cb98b6257
Added debug for mqtt message as well
2018-06-14 20:11:08 +02:00
Marius Ciotlos
7fe9d6731a
Force debug on logger if DEBUG is set
2018-06-14 20:09:43 +02:00
Marius Ciotlos
15fca170ad
Fixed travis error from lint
2018-06-14 20:09:43 +02:00
Marius Ciotlos
2071b0f69f
Added possibility to update log_level from configuration
2018-06-14 20:09:43 +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
d86aa10875
Xiaomi devices: check if exsist. #116
2018-06-14 18:19:54 +02:00
Koenkk
b3108a26d0
Update zigbee-shepherd-converters to 2.0.6.
2018-06-13 20:23:26 +02:00
Koenkk
3196c0a974
Send all cached status on hass/status:online. #105
2018-06-13 19:51:40 +02:00
Koenkk
7041637e5b
Update zigbee-shepherd-converters to 2.0.5.
2018-06-12 21:02:24 +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
63c0a962ae
Add ICTC-G-1 homeassistant mapping.
2018-06-08 20:34:34 +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
tb-killa
0328ad7cb6
Update zigbee.js
...
Add "removedevice" Function into zigbee.js
2018-06-06 21:45:36 +03:00
Koen Kanters
ca27f9faf2
Add homeassistant mappings
2018-06-05 20:27:36 +02:00
Marius Ciotlos
584a5f1b19
Added unique id for easier renamig of sensors in HA
2018-06-04 23:05:34 +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
b7c525de65
Increase recovery timeout. #79
2018-06-04 17:36:46 +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
993908eb19
Update zigbee-shepherd-converters to 0.1.11
2018-06-01 22:05:49 +02:00
Koenkk
f0b19cc696
Try to recover in zigbee-shepherd start failure. #79
2018-06-01 21:04:48 +02:00
Koenkk
3377853dab
Update zigbee-shepherd-converters to 0.1.10.
2018-05-31 19:21:31 +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
625b6c51d8
Update zigbee-shepherd-converters to 0.1.7
2018-05-29 19:12:45 +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
b8fb13043b
Add AB3257001NJ. #62
2018-05-28 20:01:28 +02:00
Koenkk
2d7a6ecaf3
homeassistant discovery: fix crash when not in configuration.yaml. #63
2018-05-28 19:41:27 +02:00
Koenkk
7801493a7a
Update zigbee-shepherd-converters to 0.1.5. #71
2018-05-28 19:33:29 +02:00
Koenkk
5666a59524
Add Hive active light bulb (HALIGHTDIMWWE27). #68
2018-05-27 17:16:01 +02:00
Koenkk
fd894a9ce3
Add homeassistant configuration for AA70155 and AA69697
2018-05-26 11:00:56 +02:00
Koenkk
08f3f96d73
Use js-yaml as yaml parser instead of yawn-yaml. #64
2018-05-25 16:42:29 +02:00
Koenkk
312ed033db
Dont add advanced configuration by default.
2018-05-24 20:19:04 +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
5be2c412c1
Parsers -> converters.
2018-05-23 17:57:45 +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
Koenkk
bcbe3eb075
Update docs
2018-05-22 18:25:09 +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
Koen Kanters
b912386786
Merge pull request #50 from ptvoinfo/master
...
Some improvements
2018-05-21 12:03:36 +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
26f378237f
Update sensor_power.
2018-05-21 11:50:14 +02:00
Koenkk
f886259f92
Refactor controller.js.
2018-05-21 11:49:02 +02:00
Koenkk
2f607c4cad
Support LED1536G5 E12 version. #57
2018-05-21 11:17:28 +02:00
Koenkk
1b111c1250
Support LED1622G12. #56
2018-05-21 11:11:24 +02:00
Koenkk
f58b0fa4f2
Add voltage to homeassisant power sensor.
2018-05-17 18:41:03 +02:00
Koenkk
8207321c30
Update ZNCZ02LM converters.
2018-05-17 18:33:32 +02:00
Koenkk
7f5865aaf9
Update lumi.router device specification.
2018-05-17 18:03:54 +02:00
Koenkk
0fdec7c225
Refactor zigbee.js
2018-05-17 17:48:41 +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
5a95e2fc8c
Add 'WXKG02LM' and 'WXKG03LM' to battery parser. #43
2018-05-16 20:21:22 +02:00
Koenkk
f750bb34f9
Support JTYJ-GD-01LM/BW. #4
2018-05-16 20:15:50 +02:00
Koenkk
5ee79b28d9
Add homeassistant configuration for F7C033. #40
2018-05-16 19:52:44 +02:00
Koenkk
efd2fba1b5
Support Belkin WeMo smart LED bulb (F7C033). #40
2018-05-16 19:44:38 +02:00
Koenkk
9d82ad32d0
battery -> battery3V. #45
2018-05-16 19:40:21 +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
17aba009af
Set default occupancy timeout to 60 seconds. #27
2018-05-15 18:00:06 +02:00
Koenkk
ff61f24b74
Make panID configurable. #34
2018-05-12 15:54:02 +02:00
Koen Kanters
604fa925e4
Merge pull request #39 from danielwelch/master
...
configure datapath with env variable
2018-05-12 15:31:23 +02:00
Koenkk
b01b1a07bb
Add support for TRADFRI bulb E27 W opal 1000lm. #21
2018-05-12 15:05:18 +02:00
Koenkk
44002ed1c3
Update configure data path code
2018-05-12 10:58:06 +02:00
Koen Kanters
d3f271f984
Update description of LED1536G5
2018-05-12 09:21:36 +02:00
Daniel Welch
03123fb783
configure datapath with env variable
2018-05-11 23:04:15 -04:00
Marcus Aram
8d0623f24e
Add support for IKEA TRADFRI bulb E14 WS opal 400lm
2018-05-11 20:19:47 +02:00
Koenkk
1a688cf363
Add disableCache option and remove disablePublish option for converters. #32
2018-05-11 19:14:18 +02:00
Marius Ciotlos
54f3843a03
Fixed TODO in devices.js
2018-05-11 09:25:33 +03:00
Marius Ciotlos
8b8604dbf4
Add battery support for cube
2018-05-10 11:36:21 +03:00
Koenkk
02a747066a
Move MFKZQ01LM ignore parsers to end.
2018-05-10 11:34:56 +03:00
Koenkk
c8df9747ad
Refactor MFKZQ01LM converters to use homeassistant.sensor_action
2018-05-10 11:34:56 +03:00
Koenkk
b41cacd992
Add homeassistant sensor_action
2018-05-10 11:34:56 +03:00
Marius Ciotlos
06fb89da3a
Added credits and corrected comment to reflect code
2018-05-10 11:34:56 +03:00
Marius Ciotlos
50103e381c
Added xiaomi cube
2018-05-10 11:34:56 +03:00
Marcus Aram
4e214a0686
Support for IKEA TRADFRI bulb GU10 W 400lm
2018-05-10 09:25:33 +02:00
Koenkk
4fc4c7b83a
Add ssIasZone parser for SJCGQ11LM to directly detect water_leak. #17
2018-05-08 20:47:33 +02:00
Koenkk
beb2c5efb0
Rename sensor_button to sensor_click to keep naming for sensors consistent. #23
2018-05-08 20:13:01 +02:00
Koenkk
b3257c714a
Add debug logging for incoming zigbee messages. #25
2018-05-08 19:57:50 +02:00
Koenkk
8523aa61b0
Support LED1623G12. #21
2018-05-06 18:08:10 +02:00
Koenkk
8ad1d49870
Also log to file. #16
2018-05-04 23:01:02 +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
Koenkk
0ee1d27099
Support QBCZ11LM. #4
2018-04-27 14:10:13 +02:00
Koen Kanters
97bca73ba2
Travis now updates wiki automatically! :)
2018-04-26 20:02:14 +02:00
Koen Kanters
0a9f2d497a
Update travis and check if it works.
2018-04-26 19:51:55 +02:00
Koen Kanters
c3ca0249c4
Improve color temp/xy and brightness level feedback.
2018-04-25 22:01:53 +02:00
Koen Kanters
bc1e3d68f9
lightingColorCtrl parser support currentX/Y
2018-04-25 21:50:41 +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
7a6cc080d4
Support ZNCZ02LM. #4
2018-04-23 22:36:30 +02:00
Koen Kanters
1543373b7f
Improve support current supported devices.
2018-04-23 21:44:06 +02:00
Koen Kanters
59f16f76f1
Refactor devices.js
2018-04-23 18:29:35 +02:00
Koen Kanters
500bce2418
Perform home assistant MQTT discovery on startup.
2018-04-23 18:17:47 +02:00
Koen Kanters
b29a5a9c1b
Support WXKG03LM. #4
2018-04-22 21:36:04 +02:00
Koen Kanters
b80d16c4b3
Support SJCGQ11LM. #4
2018-04-22 21:23:35 +02:00
Koen Kanters
8109bf68e7
Add home assistant MQTT discovery for missing devices. #9
2018-04-21 23:05:53 +02:00
Koen Kanters
d71fadd73f
Homeassistant discovery for WXKG11LM. #9
2018-04-21 18:14:34 +02:00
Koen Kanters
5fa8ce9913
Support LED1535R6
2018-04-21 17:51:38 +02:00
Koen Kanters
4d3d15f5b9
Support WXKG02LM. #4
2018-04-21 13:01:57 +02:00
Koen Kanters
5b52defe9e
Add more logging
2018-04-21 12:45:22 +02:00
Koen Kanters
fc9a0be1e9
Support WSDCGQ11LM. #4
2018-04-21 12:20:47 +02:00
Koen Kanters
65ad81a7b6
Support discovering multiple homeassistant sensors of same type. #9
2018-04-21 12:15:00 +02:00
Koen Kanters
79d405afe9
Support RTCGQ11LM. #4
2018-04-21 09:14:18 +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
14f14e909d
Hue go rgb -> xy
2018-04-21 00:16:50 +02:00
Koen Kanters
823a9ea248
Support light devices MQTT discovery. #9
2018-04-20 23:58:03 +02:00
Koen Kanters
aebce9099b
Support settings colors. #7
2018-04-20 23:40:17 +02:00
Koen Kanters
e6e558eae7
Improve homeassistant discovery. #8
2018-04-20 23:39:20 +02:00
Koen Kanters
b9552f8ab3
Support homeassistant discovery for MCCGQ11LM. #9
2018-04-20 19:54:12 +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
21575673b3
Support MCCGQ11LM. #4
2018-04-19 23:00:07 +02:00
Koen Kanters
6499b78108
Move WXKG11LM
2018-04-19 22:46:59 +02:00
Koen Kanters
c49b3f4ae3
Support WXKG11LM. #4
2018-04-19 22:45:53 +02:00
Koen Kanters
eb063efeb4
Update Hue Go documentation. #7
2018-04-18 22:17:03 +02:00
Koen Kanters
0771e2c5a0
Support Hue Go. #7
2018-04-18 22:11:00 +02:00
Koen Kanters
69736a883e
Use device retain setting.
2018-04-18 22:07:18 +02:00
Koen Kanters
31c6d794a9
Select endpoint dynamically needed for Hue support. #7
2018-04-18 21:57:39 +02:00
Koen Kanters
90cc4ad0e1
Improve robustness.
2018-04-18 21:55:00 +02:00
Koen Kanters
3b068daa12
Log vendor on startup.
2018-04-18 21:01:42 +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