|
Bogdan Timofte
authored
2 weeks ago
|
1
|
# Adapters
|
|
|
2
|
|
|
|
3
|
Acest folder contine toate adaptoarele Node-RED organizate pe tip de device.
|
|
|
4
|
|
|
|
5
|
Structura standard este:
|
|
|
6
|
|
|
|
7
|
- `<device-type>/homebus-adapter`
|
|
|
8
|
- `<device-type>/homekit-adapter`
|
|
|
9
|
- `<device-type>/energy-adapter`
|
|
|
10
|
- `<device-type>/models`
|
|
|
11
|
|
|
|
12
|
Exemple:
|
|
|
13
|
|
|
|
14
|
- `smart-socket/homebus-adapter`
|
|
|
15
|
- `smoke-detector/homekit-adapter`
|
|
|
16
|
- `presence-sensor/models`
|
|
|
17
|
|
|
|
18
|
Pentru deploy din radacina workspace-ului:
|
|
|
19
|
|
|
|
20
|
```bash
|
|
|
21
|
./deploy.sh adapters/smart-socket/homebus-adapter
|
|
|
22
|
```
|