Decrypt Divoom's animations so they could be displayed on LCD screen, LED matrix...
Python implementation: redphx/apixoo
I'm really really new to Arduino/C++, so if you see I wrote something stupid, feel free to correct. I really appreciate it.
The library is still in early phase.
DivoomClient on M5StickC Plus (ESP32)
- Download encrypted animation from Divoom server.
- Decrypt using AES & LZO, then translate it to understandable frames data.
- Render frames.
This example I made for M5StickC Plus. May or may not work on another ESP32 devices.
- Add DivoomClient library to Arduino.
- Download Divoom app on Android/iOS and create an account.
- Get MD5 hash of your password. You could use JavaScript-MD5.
- Update values in
configs.h
. - Update
renderFrames()
if you don't use LCD screen. It should be easy to modify it for LED matrix. - Compile.
- Add comments. Sorry for the lack of comments in the code. I'll update soon.
- Don't include AES & MiniLZO libs inside the library. Maybe switching to a better AES library, if possible.
- Fix random crashing/memory problem. I'm not good at managing memory yet, so please help me on this if you can.
- Add support for 32x32 and 64x64 animations. Actually I already had the working code for this, but I need to make sure the library work properly on 16x16 animations first.