I still need a while to prepare the code for different bikes.
It is a bluetooth app, so homey needs to be in the vicinity of your bike.
The Vanmoof server’s don’t store the data
I still need a while to prepare the code for different bikes.
It is a bluetooth app, so homey needs to be in the vicinity of your bike.
The Vanmoof server’s don’t store the data
Haha, I am happy that someone has found my code! I have been trying to get it to work for ages and kind of give up because I couldn’t really figure the nonce thing out and get the communication to work. It would be great to share your clearly working code! May give me some motivation to do some more to carry it on!
Ah, clear.
My bike is in the basement 2 stories below, so no bluetooth connection possible with Homey.
Hopefully Athom will add a satellite mode on the Bridge for bluetooth too. There is a Bridge in the basement, but I believe such a satellite mode isn’t implemented yet…
@Pieterv123: Did you ever come to developing a Van Moof app?
Getting interested again, as I now have a second Homey Pro (2019) in my basement, so Bluetooth connection is no issue anymore…
I did, but only for personal use and works only with Vanmoof S1
Ah, too bad…
Any plans on bringing it to the Community?
Would be a great adddition!
And would be happy to test it, also by installing by CLI
I would love to try this, using a apple shortcut automation for battery % now. But would love to get my s1 in Homey.
Do you know how to CLI install an app?
I don’t know if it will pass validation.
Otherwise I can clean up the code next week.
For me it works fine since more then 1 year
Yes! Thats no problem for me.
Looks very promising!
Looks very promising indeed.
Please let us know when you are ready to have us install it via cli.
you can give it a try
I need to work on the branding an colors, but that is for later
Great, @Pieterv123!
Have installed it and was able to add my SmartBike (as an Electrified, but there isn’t any data (battery status, km’s, etc).
But the app is crashing after some while. Also when I delete my bike and there are no devices for the app.
I send you a diagn.report with number 2ffac19d-7f0d-48e4-ad55-09c11772fb87
As mentioned, smartbikes or other vanmoof’s are not supported.
They use different bluetooth endpoints and even a longer passcode.
There are also no checks built-in to check which bike you have, so it will always add a bike.
The code is on my github, feel free to make something yourself, you can use the vanbike-lib as reference.
I know @pieter123, but the app also crashes when there isn’t any device (bike) added.
As I do not have any programming skills, would you be willing to add Smartbikes when I supply you with all the information you need? And testing of course? I can do a cli install as well, so no problem there.
If so, please let me know what you need to make it as easy and less time consuming for you.
I also see that support for SmartBikes was already work-in-progress in the last Github you mentioned (Poket-Jony)
And I would be happy to buy you some beers of course… ![]()
I already added more checks for bike model in a new version.
Also I resolved some errors, that after deleting a bike, it doesn’t keep searching for it.
What parameters do you want to retrieve from a smartbike?
Thanks for all that effort, @Pieterv123.
The crashes seem to be resolved in v.1.0.1.
Ideally I would like to retrieve battery status, distance, location, error, etc.
Mostly the same as an Electrified.
I believe the SmartBike did have the same Bluetooth integration as the first Electrifieds; opposing the later ones. Sure?
There is much that I can see in the app when not connected. Perhaps it can be retrieved from my VanMoof account instead of the bike itself?
After installing v1.0.1, it doesn’t find my bike anymore now. Is that what you meant by the model checks you mentioned?
I have send you a new diagnostic report, if you like: e0cd70df-474f-44e2-abde-8e1a6fe1d629
Thanks for your report.
I am sorry, I enabled a lot of data of debugging, so I could see your ‘Henk’s Moofje’, my apologies for the GDPR violation.
Battery, distance and error should be possible.
Location not, as there is no GPS inside.
It is a totally different ble interface ![]()
Anyway I tried something quick and dirty, so if you try the latest test version, try to add the ‘smartbike’, if we are lucky (i don’t think so), you will see your module battery only
Otherwise it I will try again next week
Haha, no harm done in exposing my iron friend’s name.. ![]()
Installed v1.0.2 but it does not find my bike anymore unfortunately. Deleted the app, re-installed, loggin in again and restarted the app. But it still does not find the bike.
In v1.0.0 it did find the bike when added as Electrified.
Can it have something to do with the following?
Send you a new diagnostic report with number c183b77d-2bdf-4e37-b511-0e8df9a12dbc
And a few beers to start this beautiful sunny evening with (I hope you have the same weather as here in Homey-town Enschede).
![]()
ok, I got your report.
It could be I will need a lot of reports, because developing an app for an undocumented bike without having it, is challenging.
You can try the latest test version.
It will not connect anymore if it doesn’t pass validation. It will check online which bike you have.
Sorry , same issue with v1.0.3 I am afraid. Doesn’t find the bike, even after un-/install of the app… ![]()
Here’s a new report: 81024d54-cfe0-47f9-b6e9-9249f410780c
No problem, just ask what (and as many as) you need.