-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE]: Add trip reset button #77
Comments
That should be possible, was already starting to reply/drafting code on it but life got in the way, let me see what I can cook up. As per maintenance I can't check on my own bike currently, but I will make a 'beta' release that you should be able to fetch via HACS. |
@RobertJansen1 https://github.com/CoMPaTech/stromer/releases/tag/v0.3.2a1 seems to provide the button and correctly pick up the name (it said 'restart' in |
Thanks for the fast patch! i tested it out and unfortunattely, for me this is not working. the butten registers an action in Home Assitant, but it seems not to be send through to the bike. i enabled debug logging, but the code does not show any debug logs from the integration (i expect the python debug lines to be in there somewhere, but nothing) |
I'll recheck the bearings then ... probably something with the path it's sending to. I'll update accordingly and see if we can stuff more debug in. |
Not sure why the (actual code) debug logs don't pass, don't spot them here either, will look into that. But I made a small mistake in the API path ( |
@RobertJansen1 did you get a chance to test it with the newer version? |
Yes i did test it and no it is still not working. I wanted to test if the python library you mentioned in the other issue is able to reset the trip, but I wasn't able to do that yet. I will try that today hopefully and report back |
Hmmm, strange, but indeed I referenced from that python library indeed ... hopefully bike is back this week so I can test myself as well. |
With the original library, it does reset the trip. So the call there seems the right one :) I will double check the home assistant one again later this week (it is now reset) |
Hi, did either of you manage to test it since? Wouldn't mind assisting if still required! |
Confirmed myself it didn't work last week but didn't (yet) see the difference between the calls (referring to |
Describe the bug.
Hi, with much joy have i used the integration so far and i was wondering if it is possible to add a button to reset the trip distance and such through the integration
What version of Home Assistant Core has the issue?
NA
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
How did you install the stromer integration
HACS
Logging
No response
Diagnostics information
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: