2024-07-15 00:52:34 +02:00
|
|
|
# IR Blaster
|
|
|
|
|
|
|
|
http://ir-blaster.n39.eu
|
|
|
|
|
|
|
|
## Installation und Flashen
|
|
|
|
|
|
|
|
1. venv erstellen
|
|
|
|
```bash
|
|
|
|
python -m venv venv
|
|
|
|
source ./venv/bin/activate
|
|
|
|
```
|
|
|
|
2. esphome installieren
|
|
|
|
```bash
|
|
|
|
pip installv esphome
|
|
|
|
```
|
2024-07-15 00:55:37 +02:00
|
|
|
3. `secrets.yaml` anlegen:
|
|
|
|
```yaml
|
|
|
|
WifiPassword: "changeme"
|
|
|
|
OtaPassword: "chamgeme"
|
|
|
|
```
|
|
|
|
4. config hochladen
|
2024-07-15 00:52:34 +02:00
|
|
|
```bash
|
|
|
|
esphome run config.yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
## Codes bearbeiten
|
|
|
|
|
|
|
|
1. Debug-Konsole öffnen (http://ir-blaster.n39.eu oder USB Serial)
|
|
|
|
|
|
|
|
2. Taste auf Fernbedienung drücken
|
|
|
|
|
|
|
|
3. Codes mit IR Actions aus https://esphome.io/components/remote_transmitter.html in `config.yaml` definieren
|
|
|
|
|
|
|
|
4. Esphome flashen
|
|
|
|
|
|
|
|
### Steuerung Monitor
|
|
|
|
* OK (0x2FD847B)
|
|
|
|
* Lauter (0x2FD58A7)
|
|
|
|
* Leiser (0x2FD7887)
|
|
|
|
* On/Off (0x2FD48B7)
|