
Who did what
12 of 13 commits credit an AI: 12 Claude Opus 4.6. They were made on one day, 10 Apr 2026.
Counted from the public git history on 16 Nov 2026. How
Ylenius did the first APK decompile and BLE scan himself. He also ran the emulator packet capture that showed Claude's KCP assumption was wrong, and he read live values off the app so the binary data could be decoded.
What was done
The author reverse engineered Emaldo battery and solar inverter protocols, enabling real-time monitoring in Home Assistant. The project covers cloud REST API and E2E MSCT-over-UDP communication, with development assisted by Claude Opus 4.6.
The author reverse engineered the communication protocols for Emaldo battery storage and solar inverter systems to create a Home Assistant integration. Initial efforts focused on the cloud REST API, which uses RC4 encryption and Snappy compression, alongside a BLE provisioning protocol using AES-256-CBC. Subsequent work shifted to an E2E real-time protocol, identified as raw MSCT binary frames over UDP. The author documented the handshake sequence, command structures, and encryption key usage, specifically discovering that the chat_secret encrypts device-facing messages while the end_secret handles relay authentication. The currentflow command (0x30A0) was decoded to retrieve power values including solar, grid, battery, load, and vehicle data in signed hectowatts. Development was assisted by Claude Opus 4.6, as noted in the commit history. The project has since migrated to a new repository.
Discussion
Sources
- https://github.com/pylenius/ha-emaldo
- https://medium.com/@ylenius/how-i-reverse-engineered-my-home-batterys-protocol-in-one-day-with-an-ai-pair-programmer-60de36e75df9
Sources reviewed · Added
An AI model drafted this entry from the sources above. Checked against the sources on 13 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.


