Koen Kanters
b2e28acc79
Fix test for new zhc version
2021-02-27 21:37:58 +01:00
github-actions[bot]
dae989bbf2
Update zigbee-herdsman-converters to 14.0.66 ( #6426 )
...
* Update zigbee-herdsman-converters to 14.0.66
* Update bridge.test.js
* Update networkMap.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-23 20:00:13 +01:00
Koen Kanters
85ed093008
Prep for next zigbee-herdsman-converters
2021-02-09 20:31:48 +01:00
Koen Kanters
5889588a8a
Add zigbee2mqtt/bridge/request/options and zigbee2mqtt/bridge/request/restart ( #6089 )
...
* Initial
* Update schema
* Log changed options
* Implement zigbee2mqtt/bridge/request/restart
* Implement restart required
* Updates
* Updatos
* Set rtscts: false defaults
* Updates
* Updates
2021-02-06 23:32:20 +08:00
Koen Kanters
5cdd8eb7be
Preps for new zigbee-herdsman-converters (build will fail for this commit)
2021-01-27 20:51:30 +01:00
Koen Kanters
6a33670296
Network scan stability improvement
2021-01-22 19:16:35 +01:00
github-actions[bot]
f356be8253
Update zigbee-herdsman-converters to 14.0.13 ( #5638 )
...
* Update zigbee-herdsman-converters to 14.0.13
* Update bridge.test.js
* Update networkMap.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-01-08 22:30:36 +01:00
Koen Kanters
1be15c67cf
Prepare test for next zigbee-herdsman-converters version.
2021-01-04 21:16:49 +01:00
Koen Kanters
6c4b345a58
Fix tests for zigbee-herdsman-converters 13.0.38
2020-12-28 21:15:45 +01:00
Koen Kanters
9ff232fbb2
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-12-02 20:38:48 +01:00
John Doe
dba9b4d931
Fix network map request failing when device has no exposes
. ( #5161 )
...
* Fix map request if external converter doesn't have exposes attribute
* Remove dead code
2020-12-02 19:25:56 +01:00
Koen Kanters
982e918a50
Don't use supports anymore and prepare for next zigbee-herdsman-converters.
2020-11-22 12:54:19 +01:00
Koen Kanters
5134f0b689
Fix 0x0000000000000000 in networkmap.
2020-10-19 16:38:53 +02:00
Koen Kanters
0c36b7894b
Fix json escaped raw networkmap. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-10-03 22:47:20 +02:00
qm3ster
f26ddd93ff
Replace "problematic" depenencies
...
Also one comment typo lol
`node-static` was abandoned and vulnerable, which might matter since
it's used in production usage and not development.
replaced with popular `serve-static` + `finalhandler`
`json-stable-stringify` depended on an unneeded and unlicensed
polyfill for JSON builtin.
2020-09-25 15:58:45 +02:00
Koen Kanters
f57ec9f0fd
Add definition to raw networkmap
2020-09-02 17:17:35 +02:00
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
Koen Kanters
f8d082e18d
Networkmap #3281
2020-06-15 20:10:30 +02:00
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
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
dcf1c83a25
Fix tests for real now.
2019-11-07 17:48:03 +01:00
Koen Kanters
2b7d9e6ee7
Fix tests.
2019-11-06 22:08:33 +01:00
Koen Kanters
23cf8eade9
Make graphviz networkmap ISO_8601_local time. https://github.com/Koenkk/zigbee2mqtt/issues/2239
2019-11-06 19:49:03 +01: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