Bluetoothctl does connect to my ebike, just no option to pair/pin is offered. Pairing is instantly refused.
In the original bike app, there is also no remote on/off, that is done via physical button on the battery pack.
I note in the SDK console, that the app is listing services, characteristics, uuid’s, etc, so clearly data is being processed, now just to create the right cpp and h files for each service…I’m still wrapping my head round it all, meanwhile upstairs is have the kitchen tiled, the noise of power chisels!!, anyone recommend good noise cancelling headphones, the over ear type?
Today @Mister_Magister spend literally the whole Sunday to update decibici app. The most time took testing and debugging for the lights on/off feature, which is unfortunately still not working. It should work but it doesn’t. The state is preserved when i switch light on/off in the android app - decibi recognizes the state correctly. but its still not able to switch it on or off.
Anyway, i am very happy that the app made good progress and matured.
Now it support following features:
- Automatic connection to the bike (when it was paired before). No need to manually connect via SailfishOS Settings → BT.
- Battery capacity
- Battery voltage
- Speed
- Assistance
The updated code is on Github https://github.com/Michal-Szczepaniak/decibici
If someone have an idea how to make light working - it will be very welcome.
And if there are other COWBOY bike user around, who are willing to use the app - please let us know.
I am very thankful to @Mister_Magister for spending so much time and make this happen, but i have a bad feeling, that i am the only user, who will use the app…
The gui is VERY temporary as its very ugly
Bummer!, I can’t get the second version of cowboy app to build in SDK.
Getting a large number of errors, mainly centred around “protopuf”.
@explit, I gather you have been able to build the app without error?
I have not tried to build at all, my SDK is kind a broken. But i am in a good position to get new builds straight from @Mister_Magister while testing them on my bike. ![]()
Ah, ok, no problem, I’ll grab the errors from console and paste them here, maybe @Mister_Magister can shed a little light for me.
SDK is always “kind of broken”, I’ve spent more time removing and installing it than I have using it, one day it works, the next day, nope, nada, not working, throwing errors/just won’t build/etc/etc…it gets boring after a while!
I suppose ready made .rpm would not help you, because you made some own changes to the code?
It might help, it will give me something to pick over. I can always try to incorporate my changes in the app once installed on my device (Sony Xperia 10ii).
So, yes please, if you would.
@Mister_Magister - here is output from console while building decibici;
…/decibici-master/src/onoffservice.cpp:2:10: fatal error: protopuf/message.h: No such file or directory
2 | #include <protopuf/message.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:593: onoffservice.o] Error 1
make: *** Waiting for unfinished jobs…
…/decibici-master/src/decibici.cpp:9:10: fatal error: protopuf/message.h: No such file or directory
9 | #include <protopuf/message.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:567: decibici.o] Error 1
…/decibici-master/qble/adaptermodel.cpp: In member function ‘virtual int AdapterModel::rowCount(const QModelIndex&) const’:
…/decibici-master/qble/adaptermodel.cpp:34:47: warning: unused parameter ‘parent’ [-Wunused-parameter]
34 | int AdapterModel::rowCount(const QModelIndex &parent) const
|
can you help please?
protopuf seems to be a typo. It’s protobuf.
sed -i s/protopuf/protobuf/ $(git grep -l protopuf)
[EDIT:] should have checked. That’s wrong, the submodule is in fact spelled with a p.
No, it isn’t a typo apparently. There’s a git submodule with that name. I don’t know if there is any ‘official’ way for rpmbuild to handle git submodules but you can do git submodule update --init manually to check it out
no its not, its protopuf
Fetching submodules is good idea
Taday i had time to test the latest decibici Update from @Mister_Magister.
Michal polished the UI, making the app looks more professional.
I was very confused to see, that switching on/off the light form decibici works like a charm.
Michal was also very confused, he didn’t changed anything in the code related to lights. Anyway. It works and i am very happy.
Now we just wait for the icon and for the release on Openrepos.
Whu want to test the readymade app - here is the rpm:
decibici_1.0-57.aarch64.rpm
I’m already out of my depth!, too hot, too frustrated with building noise. My neighbours are totally inconsiderate!, no peace here!, grrrrr!!!
My neighbors downstairs had also bought the flat. Now they break the walls and build new
No home-office possible at all…
New final version 1.0-58.
With nice UI, and all functions works!
- Automatic connection to the bike (when it was paired before)
- Lock / Unlock from UI and cover
- Light on / off from UI and cover
- Battery capacity
- Battery voltage
- Speed
- Distance
- Assistance
The last missing thing is the icon, we wait until it will be ready and than hopefully @Mister_Magister will put it on OpenRepos.
It was a long way from the wish through idea to the final app.
I want to thank @Mister_Magister once again for his decision to step in, even when /me will be the only user. Such contributions brings the whole SailfishOS community further. Other FOSS Projects could rely on his contribution, other bikes could evtl. be implemented… #Together

Sorry for the shaky video. (Second phone during riding)
I find that making simple apps for one person, gives you way more gratification than making app that many people can use just to hear “why would you make it? just use web browser” or “its not working again”
it seems like a huge milestone
Great example of how amazing people this community have!


