My indoor bike gradient simulator is inspired by the Wahoo kickr climb but costs about 1/4 of the price to build. It utilizes a cheap linear actuator in order to move the bike up and down. The actuator is controlled with a raspberry pi zero with a motor controller, the pi is running a simple web server that can be sent the gradient target for the simulator to match.
The aim for the simulator was that it could interface with Zwift to read the gradient in the game, to do this I am running a python script that takes screenshots of the game and uses OCR to read the current gradient.
I would love to build this over Christmas break, do you mind sharing your source code? Also, I would like to make some improvements to reduce the noise, along with adding 'support' for Wahoo SYTM. Also, what is the purpose of the web server? Just to communicate between Zwift on the computer and the PiZero? If so, I would love to add this little board to the project which converts the HDMI output from a computer to CSI-2 that the camera input is on the PI. Then, this is a completely fool proof method (just don't update Zwift :) )
Anyway, if you do not post source code and what not, I will build something similar around Christmas. I'll keep you posted if I do :}
I have a similar project. I obtain the gradient from the Zwift log file in a C# program. This have a 4 seconds delay, Your solution is better. Could you share your Phyton software?. Thanks in advance.
I would love to build this over Christmas break, do you mind sharing your source code? Also, I would like to make some improvements to reduce the noise, along with adding 'support' for Wahoo SYTM. Also, what is the purpose of the web server? Just to communicate between Zwift on the computer and the PiZero? If so, I would love to add this little board to the project which converts the HDMI output from a computer to CSI-2 that the camera input is on the PI. Then, this is a completely fool proof method (just don't update Zwift :) )
Anyway, if you do not post source code and what not, I will build something similar around Christmas. I'll keep you posted if I do :}
Cheers