Could you check if the MySmartBike website shows the correct value? Please enable the debug log and share it via an GitHub issue.
Update: I just checked my bikes. They have the same problem. I‘ll check it. No bug report needed.
Could you check if the MySmartBike website shows the correct value? Please enable the debug log and share it via an GitHub issue.
Update: I just checked my bikes. They have the same problem. I‘ll check it. No bug report needed.
Looks like, that the attribute “odometry” got removed from the API response set. Nothing that I can solve right now - but I’m working on the direct BLE connection to the bike, I have all the BLE messages analyzed and need to connect the dots to create a BLE-local version of this component.
Looks like that the location is not updated too anymore…
Hello Rene,
just tested your integration with my mondraker dusty rr (mahle x20) i can only see odometer and device tracker. any idea how to get battery?
battery is available in the mahle app
Hi @MartinCH1 ,
Could you enable the debug log on the integration page? Then reload the integration, stop the the debug log and send the file that you get together with the diagnostic report to [email protected]
could you please tell me how you use the mahle app?
connect to bike and start your ride or
connect to bike an record your track?
i am just asking because the battery is not visible in my mahle dashboard.
its only visible in the app if the bike is connected, after disconnect battery is not visible anymore. im confused by the app.
I don’t use the app to record my rides; I have a GPS computer with the bike that does that.
I’m actually going to buy a more advanced one, with ANT+, which will display my battery.
I only use the app to get information for my home assistant and to change the engine map, which is very useful.
Check your entity in the dashboard; if you see it on the app, you should see it on the dashboard.
Hey @MartinCH1,
as discussed via email, the api does not provide any Akku-information for your bike.
You can test also the my-smartbike.com website. Sign-in, click on e-bikes in the left navigation and check if you see the akku information there. Example: My Bike with an X35 system:
Hey Rene, jsut send you a mail with solution description, its working now.
could you please tell me how device tracker (last bike positiob) is working?
its not working for me, website shows greyed map.
could not find a documentation on the mahle website
Hi, Device Tracker is not working for me too. Also the mysmartbike website is showing the wrong location.
Just to comment that the integration works fine for me, displaying my UK Ribble Gravel AL just fine in HA (so worth adding these to the readme).
However the integration only updates from the MySmartBike cloud website, and that in turn only updates when you are running the MySmartBike app and its paired to your bike.
Personally for me I don’t use the app all that often, only occasionally to check the actual battery level, so the cloud and thus HA data is massively out of date.
I had hoped it might get data from the bike via BLE as I have plenty of bluetooth repeaters in the home.
For this reason I don’t think the integration is for me, but thanks for the work on it
Thx for the feedback.
What do you use as BLE Repeater? I have some unpolished BLE code available that can read the data over BLE…
hey @geoffreycoan ,
I have polished my BLE findings a little bit and created a new custom component. This is an very early release…
To learn more check this page: GitHub - ReneNulschDE/ha-mysmartbike_ble: Custom component to integrate Mahle/MySmartBike via Bluetooth/BLE without cloud usage
Important: The bike is sending hundreds of BLE messages per minute and is producing load on the HA environment. Use the connection switch to disable it.
You can’t connect with the app as long as the HA-system is connected to the bike and HA can’t connect as long as the app is connected.
thanks for your reply, I’ll give it a go
I have a couple of ESPhome devices acting as BLE repeaters, but in the main I use Shelly EM, PM and Relays which do BLE relay as well.
What I was looking for was that I could see the last battery power level in HA when I get home to remind me to charge the battery when needed ! So the exclusivity of the app/HA is not a problem, and sure, I can put some filtering in of the sensor to reduce database clutter