Skip to content

Decrypt Divoom's animations so they could be displayed on LCD screen, LED matrix...

License

Notifications You must be signed in to change notification settings

redphx/DivoomClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DivoomClient for ESP32

Decrypt Divoom's animations so they could be displayed on LCD screen, LED matrix...

Python implementation: redphx/apixoo

Preface

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.

Demo

Demo
DivoomClient on M5StickC Plus (ESP32)

How does it work?

  1. Download encrypted animation from Divoom server.
  2. Decrypt using AES & LZO, then translate it to understandable frames data.
  3. Render frames.

How to run the example

This example I made for M5StickC Plus. May or may not work on another ESP32 devices.

  1. Add DivoomClient library to Arduino.
  2. Download Divoom app on Android/iOS and create an account.
  3. Get MD5 hash of your password. You could use JavaScript-MD5.
  4. Update values in configs.h.
  5. Update renderFrames() if you don't use LCD screen. It should be easy to modify it for LED matrix.
  6. Compile.

TODO

  1. Add comments. Sorry for the lack of comments in the code. I'll update soon.
  2. Don't include AES & MiniLZO libs inside the library. Maybe switching to a better AES library, if possible.
  3. Fix random crashing/memory problem. I'm not good at managing memory yet, so please help me on this if you can.
  4. 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.

Acknowledgements

About

Decrypt Divoom's animations so they could be displayed on LCD screen, LED matrix...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published