maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Pedometer Home Widget in extras-devel (https://talk.maemo.org/showthread.php?t=43025)

andrei1089 2010-02-02 01:01

[Announce] Pedometer Home Widget in extras-devel
 
2 Attachment(s)
Hi,

I have just uploaded Pedometer Widget to extras-devel. Once started it will count the number of steps you have made using the accelerometer and will try to approximate the distance and the average speed.

The widget is written in Python, garage site: https://garage.maemo.org/projects/pedometerwidget/
.deb package: http://maemo.org/packages/view/pedometerhomewidget/

Screenshots: ( widget + settings menu )
Attachment 6765
Attachment 6766

Any comments or suggestions are welcomed.

Thanks!

RobbH 2010-02-02 01:21

Re: [Announce] Pedometer Home Widget in extras-devel
 
Is there any chance you might integrate this with GPS? Using GPS (when available) to calibrate the distance, you could make the pedometer very accurate.

stone17 2010-02-02 01:37

Re: [Announce] Pedometer Home Widget in extras-devel
 
I experienced strange behavior of my other widgets after installing this one. At first half of my widgets disappeared, when I put them back on the screen, others disappear....

Is there a limit of widgets one can have at the same time?

andrei1089 2010-02-02 01:39

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by stone17 (Post 506108)
I experienced strange behavior of my other widgets after installing this one. At first half of my widgets disappeared, when I put them back on the screen, others disappear....

Is there a limit of widgets one can have at the same time?

What other widgets are you using?

stone17 2010-02-02 01:42

Re: [Announce] Pedometer Home Widget in extras-devel
 
Foreca, Facebook, Home IP, Calendar, FM, Mediaplayer, sleeper, Desktop command execution, Touch search.

They are covered over all 4 screens.

jakiman 2010-02-02 01:48

Re: [Announce] Pedometer Home Widget in extras-devel
 
Nice. Would be good to show how many calories you lost also. =P

andrei1089 2010-02-02 01:53

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by stone17 (Post 506112)
Foreca, Facebook, Home IP, Calendar, FM, Mediaplayer, sleeper, Desktop command execution, Touch search.

They are covered over all 4 screens.

I have the problem you've mentioned when I close the widget. I'll try to figure out what's wrong.

andrei1089 2010-02-02 01:55

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by jakiman (Post 506121)
Nice. Would be good to show how many calories you lost also. =P

I was thinking of that, will add it in the next release :)

tomchiverton 2010-02-02 14:45

Re: [Announce] Pedometer Home Widget in extras-devel
 
Is the data backed up when the device is ?
How about week/month summary graphs (on home screen) like http://www.allaboutsymbian.com/news/...ometer_for.php ?
Is the data easy to export ? It's be good to be able to get the data off the device as a plan text file, for instance. Or have the widget email it every N days etc.

qwerty12 2010-02-02 14:48

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by andrei1089 (Post 506076)
Any comments or suggestions are welcomed.

Thanks for the widget, but opening the settings menu and trying to press some of the buttons causes my presses to "go through" and hit whatever is on the desktop, behind it. In my case, I had shortcuts behind the settings window so I ended up inadvertently moving them around or hitting their close buttons...

andrei1089 2010-02-02 19:21

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Is there any chance you might integrate this with GPS? Using GPS (when available) to calibrate the distance, you could make the pedometer very accurate.
It might be possible in a future release, but i would better improve the detection of steps using the accelerometer rather than using the GPS.

Quote:

Is the data backed up when the device is ?
How about week/month summary graphs (on home screen) like http://www.allaboutsymbian.com/news/...ometer_for.php ?
Is the data easy to export ? It's be good to be able to get the data off the device as a plan text file, for instance. Or have the widget email it every N days etc.
Only the totals are stored, but the graphs idea idea is nice:)
Thanks

Quote:

Thanks for the widget, but opening the settings menu and trying to press some of the buttons causes my presses to "go through" and hit whatever is on the desktop, behind it. In my case, I had shortcuts behind the settings window so I ended up inadvertently moving them around or hitting their close buttons...
I've just uploaded a new version in the repository, this should solve this problem.

ama89 2010-02-04 18:50

Re: [Announce] Pedometer Home Widget in extras-devel
 
awesome :)

Soulfarmer 2010-02-04 19:01

Re: [Announce] Pedometer Home Widget in extras-devel
 
sweet, I remember myself wishing for a pedometer, but forgot about it when all the fuss started when I got the n900. I hope this gets testing-quality soon.

matristain 2010-02-04 19:49

Re: [Announce] Pedometer Home Widget in extras-devel
 
Thanks for the widget

it`ll be nice to have a "beep" at a certain distance (like each km for example), If there isn`t to much to ask to "say" the number ok units (km)
*maybe a pre recorder 1-42.

BTW sorry for my english, Hope I make my self clear :P

andrei1089 2010-02-05 15:55

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by matristain (Post 510907)
Thanks for the widget

it`ll be nice to have a "beep" at a certain distance (like each km for example), If there isn`t to much to ask to "say" the number ok units (km)
*maybe a pre recorder 1-42.

BTW sorry for my english, Hope I make my self clear :P

Thanks for your suggestion, i've put it on the to do list for the next release.

Konceptz 2010-02-05 16:08

Re: [Announce] Pedometer Home Widget in extras-devel
 
Great work, thank you.

Sorry, when I first read this I imagined a GPS based registered sex offender warning system! w

cashclientel 2010-02-05 16:56

Re: [Announce] Pedometer Home Widget in extras-devel
 
@andrei1089 - great work - looking forward to this passing into extras.

Would be really good if it could just monitor steps and also use the GPS as this would be most accurate? You could then either do this for a period and "train" the application, or keep it on all the time? I've found purely step based pedometers to be less than accurate, especially over longer distances.

gunni 2010-02-05 18:08

Re: [Announce] Pedometer Home Widget in extras-devel
 
For me i would like that the timer is stopped when not walking (standing at a traffic light for example), so the speed is more accurate. Maybe it can have a second timer for pauses.

*Edit*: Oh, forgot to thank you for your work :) Thx

andrei1089 2010-02-06 16:47

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by cashclientel (Post 512096)
@andrei1089 - great work - looking forward to this passing into extras.

Would be really good if it could just monitor steps and also use the GPS as this would be most accurate? You could then either do this for a period and "train" the application, or keep it on all the time? I've found purely step based pedometers to be less than accurate, especially over longer distances.

Using GPS to "train" the widget may be a good option, but keeping GPS on all the time would be a waste of battery.

Quote:

For me i would like that the timer is stopped when not walking (standing at a traffic light for example), so the speed is more accurate. Maybe it can have a second timer for pauses.
I'll probably count only the walking time. With a new timer the widget will have too many values to show (I'm also planning to show the number of lost calories)

buxz777 2010-02-06 17:55

Re: [Announce] Pedometer Home Widget in extras-devel
 
i agree with the devoloper that gps would waste the battery

you can use ecoach for that which is really good , this app is different and handy in itself

i agree calories should maybe be added and a beep for certain distances would be nice maybe an option to setthe distance for the beep

great work mate , havent tested it but people like you make the n900 worth while , keep up the work

Thomas Pettersson 2010-02-07 12:17

Re: [Announce] Pedometer Home Widget in extras-devel
 
Great job, thanks man!!!!
Have you seen the "stepcounter" for Symbian, N95? With that app you can see progress over weeks, calories and so on. I would love to see you work on that:-) itīs a great app!!!

andrei1089 2010-02-07 12:29

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by Thomas Pettersson (Post 514215)
Great job, thanks man!!!!
Have you seen the "stepcounter" for Symbian, N95? With that app you can see progress over weeks, calories and so on. I would love to see you work on that:-) itīs a great app!!!

Yes, I'm planning to log data over days, weeks and display some graphs.

xman 2010-02-08 20:36

Re: [Announce] Pedometer Home Widget in extras-devel
 
Great work andrei1089!

Has anyone notice that CPU for hildon-home hovers around 20-30%? I'm guessing that your refreshing the desktop or something (I'm no coder). Is there a way to get that lower, I can image that eating up power over a long distance? Again great app.

x

andrei1089 2010-02-08 20:47

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by xman (Post 516731)
Great work andrei1089!

Has anyone notice that CPU for hildon-home hovers around 20-30%? I'm guessing that your refreshing the desktop or something (I'm no coder). Is there a way to get that lower, I can image that eating up power over a long distance? Again great app.

x

Now I'm reading accelerometer's data pretty often. I'll try to find better values to keep the detection accurate but to reduce the CPU% usage.

RobbH 2010-02-14 17:26

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by andrei1089 (Post 513276)
Using GPS to "train" the widget may be a good option, but keeping GPS on all the time would be a waste of battery.

Agreed. When I asked about GPS, back in post #2, I was only interested in using it to calibrate or train the pedometer.

andrei1089 2010-02-15 09:07

Re: [Announce] Pedometer Home Widget in extras-devel
 
1 Attachment(s)
A new version (0.2-3) is available in extras-devel:

New features:
  • calculate number of lost calories
  • second column can show values for today/last-week/all-time (click to change )
  • show graphs of steps/distance/calories (click graph to change)
  • save history in XML file (~/.pedometer/data.xml )
  • set alarm for steps/calories/distance/time
  • option to pause timer when not walking
  • lower CPU usage

Attachment 7179

Any comments, suggestions, bug reports are welcomed!

Thanks!

ama89 2010-02-15 18:24

Re: [Announce] Pedometer Home Widget in extras-devel
 
The part with the calories seems to be very useful. It's a great new version. Congratulations for your work!!

andrewfblack 2010-02-15 18:32

Re: [Announce] Pedometer Home Widget in extras-devel
 
I'm not big on widgets anyway you can turn this into a full application also that I can open when I want to use it.

andrei1089 2010-02-16 16:09

Re: [Announce] Pedometer Home Widget in extras-devel
 
The package is now in extras-testing. Please test & rate it: http://maemo.org/packages/package_in...ewidget/0.2-4/

Thanks!

xman 2010-02-18 21:57

Re: [Announce] Pedometer Home Widget in extras-devel
 
andrei1089, Great additions! Love the new day, week, cal, speed. Really a nice suprise and the fact that you let us hide them...even better.

I would only add would it be possible for accuracy sake to alloy us to add a stride measurement and sensitivity setting. I've notice that if I take public transport and forgot to stop it it will register my the ride as steps..lol (hey I'm no cheater). If not still a great little widget.

x

obironbo 2010-02-20 16:37

Re: [Announce] Pedometer Home Widget in extras-devel
 
Hi andrei1089,

Great app! Nice touch with the different graph views.

Version 0.2-4
Do not know if this is a bug or a suggestion - (my apologies if this has already been reported; my searching did not find anything related.)

In configuration you have a Unit configuration where English or Metric can be selected. I selected English. My expectation was that both Weight and Height would convert to English units (lbs. and inches or feet plus inches). But only Weight converted; Height remained in Metric units.

Suggestion: click on widget and display configuration screen and maybe more details.

Thanks for your efforts on this app.

andrei1089 2010-02-20 17:45

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by xman (Post 535404)
andrei1089, Great additions! Love the new day, week, cal, speed. Really a nice suprise and the fact that you let us hide them...even better.

I would only add would it be possible for accuracy sake to alloy us to add a stride measurement and sensitivity setting. I've notice that if I take public transport and forgot to stop it it will register my the ride as steps..lol (hey I'm no cheater). If not still a great little widget.

x

Thanks for your suggestion. I'll add a new option for this in the next release.
Currently the sensitivity is different for walking and running modes. But using the running mode when walking will make the distance and calories values less accurate (I've considered that steps are longer and more calories are lost when running)

andrei1089 2010-02-20 17:57

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by obironbo (Post 538628)
Hi andrei1089,

Great app! Nice touch with the different graph views.

Version 0.2-4
Do not know if this is a bug or a suggestion - (my apologies if this has already been reported; my searching did not find anything related.)

In configuration you have a Unit configuration where English or Metric can be selected. I selected English. My expectation was that both Weight and Height would convert to English units (lbs. and inches or feet plus inches). But only Weight converted; Height remained in Metric units.

Thanks for reporting this. It's on the "to do list " for the next release. Currently it's not really a bug as there's no code to convert the height values in English units.

Quote:

Originally Posted by obironbo (Post 538628)
Suggestion: click on widget and display configuration screen and maybe more details.

The current way to display configuration is the standard way for widgets (http://wiki.maemo.org/Documentation/..._UI_Guidelines).
What other details would you like to see?

rmoravcik 2010-02-26 17:44

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by andrei1089 (Post 527008)
Any comments, suggestions, bug reports are welcomed!

Thanks!

Could you please add 4 or 8px border around the whole applet to look more sexy? :)

slender 2010-02-26 17:57

Re: [Announce] Pedometer Home Widget in extras-devel
 
Great widget but I must say that i had some performance problems with my desktop(switching applications, closing them, all menu animations, touch detection) and after closing this widget and data monitor widget my performance went back to normal.

I DO NOT KNOW if it was just my current setup or some weird glitch but i just wanted to say that keep on eye how you desktop behaves. There could be some memory leak on hildon how it handles widgets. I do not have adequate skills to debug this. Also I do not know how exactly reproduce this :| Maybe after 2-3 days uptime in certain conditions you start to notice that your desktop is not anymore so responsive. Just something to keep on eye :)

But great work here!

andrei1089 2010-02-26 18:05

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by slender (Post 547912)
Great widget but I must say that i had some performance problems with my desktop(switching applications, closing them, all menu animations, touch detection) and after closing this widget and data monitor widget my performance went back to normal.

I DO NOT KNOW if it was just my current setup or some weird glitch but i just wanted to say that keep on eye how you desktop behaves. There could be some memory leak on hildon how it handles widgets. I do not have adequate skills to debug this. Also I do not know how exactly reproduce this :| Maybe after 2-3 days uptime in certain conditions you start to notice that your desktop is not anymore so responsive. Just something to keep on eye :)

But great work here!

I'm using both widgets but didn't notice such behavior. Thanks for reporting, i'll try to make some tests to see if hildon-home is using much more memory with those widgets activated.

Quote:

Originally Posted by rmoravcik (Post 547903)
Could you please add 4 or 8px border around the whole applet to look more sexy? :)

I'll try to improve the UI in the next release (also will probably increase the start/stop button). Other UI suggestions are welcomed. Thanks!

The package passed QA and is now in Maemo Extras: http://maemo.org/downloads/product/M...terhomewidget/

jdr93 2010-03-07 15:21

Re: [Announce] Pedometer Home Widget in extras-devel
 
andrei1089, thank you for this fun widget.
i have a question regarding metric versus english settings. i used it yesterday and checked its results against what i know my stride length is... when i change the units to english the screen still prints kilometers but the speed and distance seem to be correct for miles. is this true?
also, it would be nice to set my height in feet.

andrei1089 2010-03-07 21:49

Re: [Announce] Pedometer Home Widget in extras-devel
 
Quote:

Originally Posted by jdr93 (Post 558779)
andrei1089, thank you for this fun widget.
i have a question regarding metric versus english settings. i used it yesterday and checked its results against what i know my stride length is... when i change the units to english the screen still prints kilometers but the speed and distance seem to be correct for miles. is this true?
also, it would be nice to set my height in feet.


Yes.. there is a bug. I'll upload a new version this week that will solve this problem. Also an option to set the step length manually will be available.

andrei1089 2010-03-10 21:08

Re: [Announce] Pedometer Home Widget in extras-devel
 
A new version (0.3-1) is available in extra-devel
Changes:
* fix reported bugs (most important the bug related to imperial units)
* option to set sensitivity
* option to set the step length manually

Enjoy! :)

cortina61 2010-03-17 11:20

Re: [Announce] Pedometer Home Widget in extras-devel
 
when I go to app manager I can only see the old version listed, which I tried and have just uninstalled ready to install the new one

is extra development the same as maemo extras? I have that enabled.....


All times are GMT. The time now is 08:13.

vBulletin® Version 3.8.8