# wifi_ir — Controllo IR locale via Go.Comma R9 Trasforma il Go.Comma R9 Smart Remote in un controller IR locale: cattura comandi del climatizzatore e li riproduce via webapp. Niente cloud, niente app proprietaria. ## Stato - **Go.Comma R9**: identificato (ESP8266 TYWE3S, 2MB flash) - **Flash OTA (tuya-convert)**: tentato, fallito — firmware Tuya troppo recente - **Flash seriale**: **in attesa di USB-UART** — acquistare cavetto CH340/CP2102 (~3€) ## Hardware | Componente | Dettaglio | |---|---| | Telecomando | Go.Comma R9 Smart Remote | | Modulo | ESP8266 TYWE3S (2MB flash) | | IR TX | GPIO14 (7 LED IR) | | IR RX | GPIO5 | | LED | GPIO4 | | Pulsante | GPIO13 | ## Contenuto - `docs/hardware.md` — Specifiche e pinout - `docs/flash.md` — Guida al flash Tasmota via seriale - `docs/tuya-convert.md` — Tentativo OTA fatto - `scripts/flash.sh` — Script per flashare Tasmota - `scripts/setup.sh` — Setup Rock Pi 4 ## Roadmap 1. ✅ Hardware identificato 2. ✅ Tentativo OTA (tuya-convert) — fallito 3. ⬜ Flash Tasmota via seriale (con USB-UART) 4. ⬜ Sviluppo webapp IR (cattura/riproduzione comandi) 5. ⬜ Opzionale: database IR per codici predefiniti ## Ambiente - **Rock Pi 4 C Plus**: rock@10.6.133.56 (ZeroTier) / 192.168.0.215 (LAN) - **Ollama**: 192.168.0.50:11434 - **Proxmox container**: 192.168.0.240