Citi Bike app not showing correct counts of classic vs eBikes

Hello!

It would seem the Citi Bike app for Tidbit is showing the incorrect availability counts for classic bikes.

If there are 0 classic bikes and 10 eBikes at a station, the Tidbyt shows 10 classic and 10 eBikes available. The classic bike count will always be the same as the eBike count if there are no classic bikes available.

If there are differing counts of classic vs eBikes, Tidbyt will show the total of classic plus eBikes available listed as classic. The eBike count is correct.
For example, if there are 2 classic bikes and 3 eBikes, the Tidbyt will show 5 classic and 3 eBikes.

Essentially, the count of classic bikes is always wrong. The count of eBikes is always correct.

The data shows correctly in Citi Bike’s gbfs feed. Hope this is a quick fix, thanks for your work!

@kleban31 is the author of this app.

Just to clarify, I’m specifically referring to the CitiBike app that shows as “Developed by Tidbyt”
I noticed @kleban31 also has an app, but I’m not referring to that one, unless his code ultimately drove the Tidbyt version.

Ohh good point, I didn’t remember there was an official CitiBike app.
Then we probably need @rohan or @matslina to look into it.