Migrating from ESPurna to esphomeyaml
Devices already running ESPurna can be flashed directly to an esphomeyaml firmware binary Over-The-Air via the ESPurna Web UI without opening the enclosure.
Step 1: Compile the Standalone Binary
esphomeyaml sonoff_switch.yaml compile
Locate the compiled firmware.bin inside sonoff_switch/.pioenvs/sonoff_switch/firmware.bin.
Step 2: Upload via ESPurna Admin Panel
Open your device's ESPurna web interface, navigate to the Admin → Upgrade tab, select your compiled firmware.bin, and trigger the OTA flash. Within 30 seconds the node will reboot onto the esphomelib stack.