Hey all I've been digging into this exact thing. As far as I can tell the new gan 356 i3 doesn't work with cubing.js because the API and encryption scheme has changed. I found some code on GitHub (
https://github.com/D0ntPanic/tpscube) written in Rust that works (mostly) with the i3.
Using that and some shouting I've managed to get a rough web app working with typescript. I'm not sure what the preferred way to share code is on these forums but I'm more than happy to share everything I've done. What I have so far:
- Determining encryption key for a cube, I'd like to get info from someone else to determine if this is unique per cube or just a fixed thing.
- Extracting cube state into a Cubie Cube, comes in the cs timer cubie cube format
- Extracting moves from the cube
- Extracting battery state from the cube
- I'm pretty sure the gyro information is being sent through but I am not entirely sure how it is formatted and how to extract it.
All of this requires a Chromium based browser with experimental features turned on.