Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
public:segedlet:dali [2023/01/21 19:40] czega |
public:segedlet:dali [2023/01/21 19:48] (current) czega |
||
|---|---|---|---|
| Line 47: | Line 47: | ||
| == Kettes pálya, avagy a software-es konfiguráció == | == Kettes pálya, avagy a software-es konfiguráció == | ||
| + | |||
| + | **Sw komponensek telepítése** | ||
| A controllerre be kell lépjünk ssh-val, ráadásul root-ként. | A controllerre be kell lépjünk ssh-val, ráadásul root-ként. | ||
| - | apt update | + | apt update |
| - | apt install python3-setuptools | + | apt install python3-setuptools |
| - | apt install python-pip | + | apt install python-pip |
| - | pip install setuptools | + | pip install setuptools |
| - | pip install ipaddres | + | pip install ipaddres |
| - | pip install Flask | + | pip install Flask \\ |
| pip install pyserial | pip install pyserial | ||
| - | wget --no-check-certificate -O dali-gateway.zip https:// | + | wget --no-check-certificate -O dali-gateway.zip https:// |
| unzip dali-gateway.zip | unzip dali-gateway.zip | ||
| - | mv daligateway.py /root/ | + | mv daligateway.py / |
| mv daligateway.service / | mv daligateway.service / | ||
| - | systemctl daemon-reload | + | systemctl daemon-reload |
| - | systemctl enable dali-gateway.service | + | systemctl enable dali-gateway.service |
| - | systemctl start dali-gateway.service | + | systemctl start dali-gateway.service |
| - | systemctl status dali-gateway.service - ez opcionális, | + | systemctl status dali-gateway.service |
| - | = Virtuális dimmer létrehozása | + | **Virtuális dimmer létrehozása** \\ |
| - | Integrations menü -> Manage virtual devices | + | Integrations menü -> Manage virtual devices |
| - | Virtual Dimmer-t létrehozzuk, | + | Virtual Dimmer-t létrehozzuk, |
| Details alatt: | Details alatt: | ||
| * HTTP on url: http:// | * HTTP on url: http:// | ||
| * HTTP off url: http:// | * HTTP off url: http:// | ||
| - | = Virtuális switch létrehozása | + | **Virtuális switch létrehozása** (ritkábban, |
| Értelemszerűen, | Értelemszerűen, | ||
| * HTTP on url: http:// | * HTTP on url: http:// | ||
| * HTTP off url: http:// | * HTTP off url: http:// | ||
| - | Tudunk tesztelni egy böngészővel így: | + | Tudunk tesztelni egy böngészővel így: \\ |
| http:// | http:// | ||