Open ocornu opened 6 years ago
@ocornu Thanks for this great feedback and suggestions. Will fix asap.
Fixed metric units problem in #36
@kwatkins do we know if the device is plugged in to the charger? There's an easy way to add a charge alert, which requires the app staying on screen and connected with to the OW. The other way which allows you to turn off your phone and/or use other apps is more complex and would take a while. see #4
@ocornu What sound would you want to hear for the speed alert?
do we know if the device is plugged in to the charger?
Seems so:
What sound would you want to hear for the speed alert?
Well, any sound would do, but: good point. :) Mmh... How about a cop/ambulance siren sound? Something that suggests breaking the speed limit, or getting closer to riding back in an ambulance... :D
@ocornu one of these perhaps? http://soundbible.com/tags-siren.html maybe the zombie "BRAINS!"
@ebabel lol Perhaps a shorter version of http://soundbible.com/581-Police-Siren-3.html ? I like http://soundbible.com/45-Police-Siren.html better, but its licensed for personal use only. :/
For the record; the max speed alert idea comes from OneDan+ on the OW forum: http://community.onewheel.com/topic/7477/customizable-top-speed-warning-please
Thanks for the link, I see there is a lot of interest in this feature! I had forgotten that at one point I really wanted this too.
@ocornu great ideas!
re: getting the charging state @ebabel I just sadly confirmed that flag doesn't set when the OW is charging (deviceStatus.charging). It's always false. You could keep state on the amps added or the battery %, that should work.
The official app knows when it is charging, there's gotta be a way to know.
I think having a watch on the battery percentage might not be enough as if you start going downhill and end up "charging" the battery past the set limit you might confuse some people.
Maybe if the speed is also zero we could fire the alarm, but thats a bit contrived, I think.
hmm, for now I'll just always play the sound when the checkbox is checked and the percent is over the user's requested percent. They can turn it off when they're done charging and back on again when they start. If you guys think of something better let me know.
The official app knows when it is charging, there's gotta be a way to know.
Yeah, bit 13 of the status register (the infamous "status 8192") isn't it?
EDIT: fixed bit nb.
It seems official app is giving status 8196 when full. Is bit 2 a "battery full" flag?
Optional speed alert that would play a sound when you go beyond a set speed. Additional safety against high-speed nosedives. Optional charge alert that would play a sound when you reach a certain level. Would help you stop recharging before 100% when starting from a hilltop.
Fixed in #38
still need:
When disconnected/reconnected (board power cycle for example), the state of the pads is not updated until you step back on it
Awesome, thanks! You guys are super reactive, kudos!
Hi, I'm running the Google Play version (2.3), so I'm afraid what I'm gonna say next has long been fixed. That's why I'll bundle them in a single ticket here. By the way, I'd love some documentation on how to build this —I've never built an android app before!
EDIT: I guess it was a couple suggestions: