Kosta
b42c61d09a
use relative timestamps ( #3743 )
...
Use relative timestamps for the network map (e.g, `1 hour, 43 minutes ago` or `15 minutes, 10 seconds ago`), since that is easier to understand/decode than the standard ISO timestamps.
This introduces an additional (light weight) dependency to [humanize-duration](https://github.com/EvanHahn/HumanizeDuration.js ) which in itself doesn't have any additional dependencies.
Co-authored-by: Konstantin Baumann <konstantin.baumann@autodesk.com>
2020-06-14 17:43:27 +02:00
Koen Kanters
c9aa8b24c0
Update converters
2020-06-14 16:27:47 +02:00
Kosta
a2ea520b0c
add support for plantuml based network graphs ( #3742 )
...
Add support for [PlantUML](http://plantuml.com/guide ) based network graphs, which can be pasted into [this online editor](https://www.planttext.com/ ).
The test configuration used for unit testing for example produces this output:
![output.svg](https://www.planttext.com/api/plantuml/svg/j5LTRzem57tVhxYFGSFbEbyG7gOoOBHggrMCQPsg2Zc9KwmwSPeufTjVsyD-qlx20dICZuJni4PHPDdtd7lkyRNpwyTFU7bESyqoNSJopP-PW6KXu3CYRNSwID7cjkEO3jok8_ONrqk4a0DXOBYEvJOWOaBoi0loKJGpLMYHt4-OBtabpNl58qYK_bIagSeq3wzKoENve3AOUcqaICjtWhIBs4NwTZbOHzojH_iLe--qeoZYWSiStzoes2-aNrlZ3igmqNAzHcNu-SMm1vDnR_1XV0wNmy6I68QcsngQRV0w2BA8UTA4KCJnmf4cp6T2SyXJ7kYiY9kWKYPV9esIWJgsCw9cTRh_w8QruyOqK59bntbYBJtnQZovdWafqXpE2WuZ1KQRsYwwU7rM7Lua3ucQ9qTLiDLzTAi2hLKo3LLHUZnzuD-EQs2wRE1EjR0RmLGieFV8CWOhPYYPOIuoBdcUmvn92VbSw606nfURYn6QbrUliN6RcXrle-mWC1qBfuiZn-ltRWTUbcnZjSn-aMiLGyYVHC1pC0RYQmDk-_r55bXbkJDcMgVTLYlLJ-f4995ghLGGd-Ky9D_5lSyv2PJAGf4mhJB2af2im8HIizK0OyLuClxuUJ8SlufZfkqllaXjc_4Dn_f_TTNxjGqsQipQKqZntmehpX8XxohITg4S7RgMwc2UUKooRR8o6SL3FLCBmtfOURhM6hVOIfY5-zQSyYHS_BT-0m00__y30000 )
The generated script looks like this:
```
' paste into: https://www.planttext.com/
@startuml
card 0x0017880104e45525 [
0x0017880104e45525
---
0x0017880104e45525 (6536) failed: lqi,routingTable
---
Boef notSupportedModelID
---
1970-01-01T01:00:01+01:00
]
card 0x000b57fffec6a5b2 [
bulb
---
0x000b57fffec6a5b2 (40369)
---
IKEA TRADFRI LED bulb E26/E27 980 lumen, dimmable, white spectrum, opal white (LED1545G12)
---
1970-01-01T01:00:01+01:00
]
card 0x000b57fffec6a5b3 [
bulb_color
---
0x000b57fffec6a5b3 (40399)
---
Philips Hue Go (7146060PH)
---
unknown
]
card 0x0017880104e45521 [
button_double_key
---
0x0017880104e45521 (6538)
---
Xiaomi Aqara double key wireless wall switch (WXKG02LM)
---
1970-01-01T01:00:01+01:00
]
card 0x0017880104e45559 [
cc2530_router
---
0x0017880104e45559 (6540)
---
Custom devices (DiY) [CC2530 router](http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/ ) (CC2530.ROUTER)
---
1970-01-01T01:00:01+01:00
]
card 0x00124b00120144ae [
Coordinator
---
0x00124b00120144ae (0)
---
1970-01-01T01:00:10+01:00
]
0x000b57fffec6a5b3 --> 0x00124b00120144ae: 120
0x000b57fffec6a5b2 --> 0x00124b00120144ae: 92
0x000b57fffec6a5b3 --> 0x000b57fffec6a5b2: 110
0x0017880104e45559 --> 0x000b57fffec6a5b2: 100
0x0017880104e45521 --> 0x0017880104e45559: 130
@enduml
```
Co-authored-by: Konstantin Baumann <konstantin.baumann@autodesk.com>
2020-06-14 15:48:50 +02:00
Koen Kanters
40f026cdf8
Update converters
2020-06-14 14:07:35 +02:00
jd1900
67c43fcee3
Add device '412015' from Legrand. DIN power consumption module. ( #3739 )
...
* Add device '412015' from Legrand. DIN power consumption module.
Add device '412015' from Legrand. DIN power consumption module. Complementary for this pull request https://github.com/Koenkk/zigbee-herdsman-converters/pull/1313
* Update homeassistant.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-06-14 14:01:02 +02:00
AndronicR
1dd3523e64
added for homeassistant ( #3737 )
2020-06-14 11:00:36 +02:00
Koen Kanters
37122dba79
changeOptions -> options. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-06-14 00:28:24 +02:00
Koen Kanters
7f8fbe8b65
Lint
2020-06-13 23:46:04 +02:00
Koen Kanters
3658588618
Add group #3281
2020-06-13 23:42:58 +02:00
Koen Kanters
a90ebce677
Change device options. #3181
2020-06-13 23:28:06 +02:00
Koen Kanters
7b3c07dcfe
Implement renaming functionallity. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-06-13 19:35:09 +02:00
Koen Kanters
16f5812f6c
Finish remove api. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-06-13 17:22:00 +02:00
Koen Kanters
1eed937c43
Update converters
2020-06-13 15:52:48 +02:00
Gabriele Besta
e0a6b7d348
Add possibility to override execution command at runtime ( #3722 )
...
* Add possibility to override execution command at runtime
The entrypoint script initialize container data at runtime.
CMD defines the default executable and can be overridden at runtime.
* Set execution permission to entrypoint script
Necessary to prevent run errors, for example in windows env
2020-06-13 13:20:41 +02:00
Koen Kanters
4b845f923e
Pass down logger to fromZigbee converters. https://github.com/Koenkk/zigbee-herdsman-converters/pull/1305#pullrequestreview-430027596
2020-06-13 12:55:01 +02:00
Esteban Zapata Rojas
50ba54e99e
new device: Auto discovery configuration for RS-23ZBS devices on HA. ( #3720 )
2020-06-12 22:32:50 +02:00
Koen Kanters
c6e76165ff
Always convert syslog type to string. https://github.com/Koenkk/zigbee2mqtt/issues/3725
2020-06-12 16:51:49 +02:00
ahaghshenas
cecedbd5f8
Update homeassistant.js ( #3718 )
2020-06-11 21:33:29 +02:00
Koen Kanters
c3561640e6
Update converters.
2020-06-10 21:20:43 +02:00
Koen Kanters
c3a71ba6a8
Dev
2020-06-10 16:42:53 +02:00
Koen Kanters
9009de24ac
1.14.0
2020-06-10 16:42:27 +02:00
Koen Kanters
a5b0c80a2e
Undev
2020-06-10 16:42:24 +02:00
Koen Kanters
d9391ac685
Update herdsman
2020-06-10 16:41:08 +02:00
Koen Kanters
2bdb0f9ae1
Merge branch 'master' into dev
2020-06-10 16:36:37 +02:00
Koen Kanters
56714d7c5a
Update converters.
2020-06-09 19:52:48 +02:00
Koen Kanters
7dee99df52
Add colortemp_move for group. #3705
2020-06-09 19:37:45 +02:00
Koen Kanters
e5f9a969ac
Discovery Home Assistant battery sensor for Danalock V3. #3702
2020-06-09 19:24:47 +02:00
Koen Kanters
206a45d29a
Update converters.
2020-06-07 13:58:28 +02:00
sprockers
c14e18dabb
Adding homeassistant mapping for Hive DWS003 contact sensor ( #3682 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-06-07 13:25:52 +02:00
sprockers
3566af1b08
Removing illuminance from Hive MOT003 ( #3685 )
2020-06-07 13:23:45 +02:00
Mark Bergsma
a7adfebcb3
Add discovery support for the Plugwise Plug 160-01 ( #3679 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-06-07 11:36:04 +02:00
Koen Kanters
f8ea6cb574
Update converters.
2020-06-06 14:45:43 +02:00
Mattia480
d66e1c322b
Add EchoStar SAGE by Hughes Doorbell Sensor (SAGE206612) ( #3675 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-06-06 14:12:41 +02:00
Koen Kanters
43127e95a9
Fix lint
2020-06-06 13:13:09 +02:00
Koen Kanters
976e802af8
Update converters.
2020-06-06 10:31:50 +02:00
Dominik Röttsches
32b96d1d4c
Add homeassistant mapping for Ledvance Z3 Tunable White Panel ( #3666 )
...
See https://github.com/Koenkk/zigbee-herdsman-converters/pull/1279
2020-06-06 09:52:58 +02:00
Koen Kanters
7f68fd3fc4
Initial syslog logging. #3647
2020-06-03 20:44:11 +02:00
Koen Kanters
6d9dff8832
Mark node 14 as supported. #3660
2020-06-03 19:37:11 +02:00
Koen Kanters
8dc535e3e3
Update converters
2020-06-02 18:45:29 +02:00
Koen Kanters
fda1246fca
Attempt to fix lastSeen incorrect leading to incorrect offline state. #3650
2020-06-01 16:38:24 +02:00
Koen Kanters
a9b54ad668
Update converters
2020-06-01 16:37:16 +02:00
Koen Kanters
c0d4aea5bd
Fix lint
2020-05-31 15:02:25 +02:00
Koen Kanters
d440de8069
Fix networkmap error when using Gledopto GL-C-008-2ID. #3623
2020-05-30 18:27:25 +02:00
Koen Kanters
e4c3ffe38d
Update converters
2020-05-30 17:11:54 +02:00
Will Uther
7c045af987
Add a brief internal architecture description. ( #3639 )
...
* Add Stitchy Dim to list of devices.
* Add an internal architecture paragraph.
Add a README paragraph with a basic architecture description. This doesn't have a lot of detail, but links to docs with (much) more detail.
* Try to line up with upstream.
* Update README.md
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-05-30 16:03:57 +02:00
Koen Kanters
2cb234c934
Update dependencies. #3616
2020-05-30 16:01:47 +02:00
Crowbar Z
51a6b9226d
Remove precision rounding from HA MQTT autodiscovery template ( #3636 )
...
* Remove precision rounding from HA MQTT autodiscovery template
Precision rounding should be handled in converters and made available to
all MQTT consumers (not just HA)
* Update homeassistant.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-05-29 23:13:09 +02:00
Koen Kanters
7d1a97841c
Update herdsman and converters.
2020-05-29 23:09:09 +02:00
Jayden
9c71ba8754
Support E1E-G7F ( #3630 )
...
I couldn't see battery data in the output so I have only added the sensor_action type. This works and home assistant can see button presses + link quality.
This is linked to: https://github.com/Koenkk/zigbee-herdsman-converters/pull/1265
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-05-29 19:39:32 +02:00
Koen Kanters
5f63dcb0f2
Fix old state being published due to debounce. #3572
2020-05-29 19:24:59 +02:00