Releases: Imaginous/Cowboy_Untamed
Releases · Imaginous/Cowboy_Untamed
2021-10-13 V3.12
New Features:
- Added '0128: Hall Interpolation Transitions' to the default Expert Functions list of the motor controller.
You can use this if the bike's motor is juddering when starting from a standstill. Click here for more information. - Re-Added a direct Reset PCB (Fix headlight bug) entry to the menu.
In some case you cannot connect correctly to your bike. In this case you can not get to the Expert Functions menu.
If this situation occures you won't see a battery and speed indication in the original Cowboy app. You also won't be able to turn the lights on/off.
If this happens select your Cowboy in the Untamed app, but don't connect to it. Go directly to the Reset PCB (Fix headlight bug) menu.
After a few seconds your PCB will be reset. It's shown by 2 running LEDs on the main tube. Click here for more information. - Added a Tasker state which indicates if the bike is Unlocked.
Note: this only works if the bike is unlocked via Untamed.
Improvements:
- Updated the nRF bluetooth library to the latest version.
- Made preparations for a background service (Not functional yet).
Bug Fixes:
- Preset quick launch icons where completely filled on some devices. This has been fixed.
2021-07-26 V3.11
New Features:
- Added extra scroll-zones to accomodate smaller screens on older phones.
Improvements:
- Tested the app with the new Cowboy (beta) app. It's still started automatically when selected after launching a preset.
Didn't receive the firmware for my C1+ yet, so can't tell if that would spoil the fun.
Bug Fixes:
- No known bugs are fixed
2021-07-11 V3.10
New Features:
- Some of you use very old secondhand Android phones using Android V7.0.
For those people I added some extra code. You can now use the basic functionality of the app. Since shortcuts are not available on Android V7.0 you can not use presets and shortcuts.
Note: Use Android V7.1.1 or higher for full functionality.
Improvements:
- No improvements today
Bug Fixes:
- No known bugs are fixed
2021-07-03 V3.09
New Features:
- Added a switch to the Quick Launch Presets to automatically launch the original Cowboy app after selecting a preset.
Improvements:
- Minor textual improvements
Bug Fixes:
- Added some extra info to the manifest file to support launching the original Cowboy app on Android 11. (added in V3.09)
- Added some extra logging. Somebody mentioned that the original Cowboy app is not automatically starting on his phone after activating a preset.
- Uploaded wrong file with V3.07, replaced by V3.08
2021-06-17 V3.05
New Feature: Quick Launch Presets
- With this new major feature you can create up to 3 presets with which you can unlock your bike and automatically set the desired values without having to save them to flash memory.
Lock your bike and they are gone. This is for those who don't dare to flash ;) - Leave any value empty and it will not be send to the bike.
- When you leave the field weakening value empty your bike will function in torque with speed limit mode, enter a value of 0 then only the speed limit is lifted. For more speed go for 15 or 18. I advise not to go over 20 percent.
- Peddle Max Torque, with this value you can control how much of the peddle torque is transfered as motor torque. Default is 100%. If you lower this value you have to put in more energy yourself. This will increase your battery range... and will burn up your callories.
- Maximum Power 0-100%, these values are devided in 8 levels. When connected to your bike a speed range is shown beneath each level.
Default every speed range is 100%. But you can now lower the power output per speed range. 0 is no assist mode.
For example you can lower the default value for let's say 10-20km/h. This might be handy when cycling with a non e-bike rider. You still can get up to speed easely, but once you hit 10km/h you get less assistance... but if you put in enough effort and go above 20km/h you'll get all power again. - Connect to the bike in the main app. Then go to Quick Launch Presets in the menu.
Select one of the 3 presets and enter the desired values. Then press the STORE PRESET button. Repeat this for the other 2 presets. - To use the presets long press the new app icon Cowboy Untamed Presets and select one of the 3 presets. The bike will unlock and the preset will be set.
Clicking the Cowboy Untamed Presets app icon will unlock the bike with the last used preset. - All presets can be used with automation apps like Tasker.
- Note: I did extended testing with all registers invloved and everything seems to work fine on my V1+. But I need input from other users to say the app preset system is working on their phone. I don't see any reasons why it should not work on the V2 and V3.
Improvements:
- DEFAULTS button will send the values directly to the bike now.
Note: To store them permanently you still need to press the FLASH button. - The "Show Expert Functions" page will now show the bluetooth characteristic send to the bike. This can be handy for those who want to tweak values with own / other software.
Note: When sending in other apps do not include the0x
. It's just to indicate that it's a HEX byte array. - Did some textual tweaking again.
- More code rewritten.
Bug Fixes:
- Fixed in V3.01: The "Cowboy Untamed Presets" app would crash when started before creating any presets in the main app.
- Fixed in V3.05: The "Cowboy Untamed Presets" calculated the value for "Peddle Max Torque" wrong. This value is different per version Cowboy bike.
Now the value is fetched from the bike the first time you start the "Quick Launch Presets" screen.
Note: Make sure your bike is locked before updating the app. Otherwise wrong values may be read if you already have a preset active. - The "Show Expert Functions" page did not work correctly with registers above 255.
- The "Show Expert Functions" calculated some checksums wrong, therefore not writing the values.
2021-05-26 V2.76
New Features:
- If bluetooth is enabled when the app was already started you can press No bikes found (check bluetooth) to rescan for bikes.
- Notification can be clicked to return to the app.
- Close app from the menu also removes the app from the recent apps list.
- Shortcuts won't add the app to the recent apps list.
Improvements:
- Major reworkings in code to improve bluetooth communications when connection was lost.
Bug Fixes:
- TEST button was always enabled.
- Connection was lost when the app lost focus.
2021-05-23 V2.74
New Features:
- Enhanced Expert Functions page. There are more presets now. For known presets the values are now recalculated to their respective values in the correct unit of measure.
- Added descriptions to the known presets.
Note: not all registers will work on all bikes. It's just for snooping around and testing. - A "TO RAW" buton on the Expert Functions page. With this you can enter a value with the known value of measure. When you press the "TO RAW" button the real register value will be calculated.
Note: The 'Raw' register value will be send to the bike, the 'Value' field is merely a display field.
Improvements:
- Minor code tweaks.
Bug Fixes:
- When editing the 'field weakening' value and you completely cleared the field the app crashed.
- Colors in dark mode fixed.
- A few minor typos fixed.
2021-05-14 V2.61
New Features:
- Long press shortcuts.
If you long press the app icon you can:
Unlock/lock your bike
Turn on/off your lights
These functions will also work when the orginal Cowboy app is active. It might feel a bit "slow", but the function connects to the bike, makes the setting and disconnects again.
These "activities" can also be called from automation apps like Tasker. - Added memory function for bike selection. The last selected bike will be selected the next time the app is opened. The last selected bike will also be used for the long press shortcuts.
- Expert Functions added.
First a warning: writing values to wrong adresses can "destroy" your bike. When you change registers of the motor controller (0x01) and use the "Flash" button on the main page it will also store registers you have changed on the Expert Functions page.
This page can be used to read and write custom registers. Some registers are selectable presets, but you can also enter own registers. In the near future I will add some extra predfined registers and will call out to V2 and V3 users to send me their default values for certain registers.
Since I only own a V1+ bike I have to rely on information of other riders.
Improvements:
- Code cleanup. It's still a bit of spaghetti, but hey it works.
Bug Fixes:
- Lights on/off shortcut fixed for use in Tasker.
- A few minor typos fixed.
2021-05-09 V2.50
New Features:
- Option to enable/disable 'Auto Unlock', This even works on a V1+ which officially does not have this feature.
- Multiple Cowboy bikes support.
- New layout, with extra instructions on how to use the app.
- Added a menu option to manually read the values in case of a read error.
Improvements:
- Complete rewrite of the bluetooth communications. Now using the nRF library.
Bug Fixes:
- Due to a typo the FLASH button was not working in V2.02.
- Due to an unimplemented feature the icon was shown twice in V2.00.
V1.11 - 2021-04-11
- Added reset/reboot PCB function. If you have a Cowboy (V1+) and the headlight does not turn on anymore (rear light still works). You can use this option in the top right menu to reboot the PCB. This will not erase any settings. After this 99.9% chance your light does work again.Note: You need to connect to the bike for the items to activate.
- Added lights on/off. This to test if the lights are functioning again after a reboot.
- Some textual changes and extra warnings.
- Made it possible to set field weakening up to 25%, I do not recommend going over 20% on a Cowboy bike, but it is allowed for the ASI motor controller according to ASI.