Nice work. In September / October of last year I was inspired by someone else doing this and showing off they could Zwift with their PTON bike.
After some digging around, and figuring out how they encoded the data it was trivial to implement this in a project that was used to keep Flywheel Bikes working.
https://github.com/ptx2/gymnasticon
The changes I introduced which now include support for the Peloton can be found here: https://github.com/ptx2/gymnasticon/pull/12