maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] Proximus (https://talk.maemo.org/showthread.php?t=81174)

Creamy Goodness 2011-12-29 01:41

[Announce] Proximus
 
http://www.appcheck.net/storage/prox...nshot-opt2.png

This app is supposed to perform actions (switching your phone profile between silent/beep/ring or creating a reminder) when a predefined rule is true.
Rules are based on your location, the current time, and calendar keywords, and days of the week.
It's in the Ovi store but they take forever to update new versions... If you need to download it from there, try these links:
Fixed web browser: http://store.ovi.com/content/241275
Nokia mobile browser: http://store.ovi.mobi/content/241275

This is the latest version: (old ones are still on the server if you can guess the filename)
http://www.appcheck.net/storage/prox....3.4_armel.deb

Changelog:
proximus-complete (1.3.5) unstable; urgency=low
* Fix bug that will cause "status check delayed (again) by pending wifi scan" repeated forever

proximus-complete (1.3.4) unstable; urgency=low
* fixed some bugs with timers for rules with time
-- lance colton <lance.colton@gmail.com> Tue, 27 Mar 2012 20:25:33 -0600

proximus-complete (1.3.3) unstable; urgency=low
* Improved rule setting screen

-- lance colton <lance.colton@gmail.com> Thu, 15 Mar 2012 23:03:32 -0600

proximus-complete (1.3.2) unstable; urgency=low
* fixed bug that causes wifi scans to queue endlessly when they fail multiple times

-- lance colton <lance.colton@gmail.com> Wed, 07 Mar 2012 21:29:06 -0700

proximus-complete (1.3.1) unstable; urgency=low
* can monitor charging status and create rules based on this
- if this doesn't work correctly, restart the phone by holding in the power button 10 seconds
- let me know if this happens often, it's a bug with harmattan but I could work around it

-- lance colton <lance.colton@gmail.com> Wed, 29 Feb 2012 19:59:15 -0700
proximus-complete (1.3.0) unstable; urgency=low
* supports running custom commands

-- lance colton <lance.colton@gmail.com> Sun, 26 Feb 2012 21:30:25 -0700

proximus-complete (1.2.9) unstable; urgency=low
* new option to force device into power save mode. will switch back to normal when the rule becomes inactive.
* profile switch is now queued and executing after 3-4 seconds to avoid multiple rules causing several changes in a row

proximus-complete (1.2.8) unstable; urgency=low
* rules can be sorted and will execute in that order
* more bug fixes, optimizations
* can now enter almost any characters in wifi ssid
- wifi ssid is now seperated by commas instead of spaces, make sure to update any existing rules

proximus-complete (1.2.7) unstable; urgency=low
* added scrollbars and improved layout of rule setting screen
* fixed minor bugs

-- lance colton <lance.colton@gmail.com> Tue, 07 Feb 2012 01:45:07 -0700

proximus-complete (1.2.6) unstable; urgency=low
* Days of Week support added
* Inverted color theme by default, menu option to switch. this setting is saved.
* minor changes to code to support inverted theme

-- lance colton <lance.colton@gmail.com> Sat, 04 Feb 2012 18:55:07 -0700

proximus-complete (1.2.5) unstable; urgency=low
* better logging. status screen now shows what the daemon is doing.

-- lance colton <lance.colton@gmail.com> Thu, 02 Feb 2012 01:12:03 -0700

proximus-complete (1.2.4) unstable; urgency=low
* external dbus interface listens for a request to create a heartbeat timer and emits it as a signal

proximus-complete (1.2.3) unstable; urgency=low
* fixed bug that rule with gps location still started gps when gps disabled in settings

-- lance colton <lance.colton@gmail.com> Wed, 18 Jan 2012 14:50:40 -0700
proximus-complete (1.2.2) unstable; urgency=low
* fixed bug blocking blank ssid even when disabled section

-- lance colton <lance.colton@gmail.com> Wed, 18 Jan 2012 13:21:51 -0700

proximus-complete (1.2.1) unstable; urgency=low
* Integrated TumblerDialog to fix pre PR1.1 phones

-- lance colton <lance.colton@gmail.com> Wed, 18 Jan 2012 12:28:04 -0700
proximus-complete (1.2.0) unstable; urgency=low
* added new action, setting "visual reminder". basically will pop up an
alarm event when you are at the predefined location

-- lance colton <lance.colton@gmail.com> Tue, 17 Jan 2012 19:40:02 -0700

proximus-complete (1.1.0) unstable; urgency=low
* added support for wifi network scanning and rules
* also added option to disable other positioning completely
- this should fix increased battery usage

-- lance colton <lance.colton@gmail.com> Sun, 15 Jan 2012 22:28:37 -0700

proximus-complete (1.0.1) unstable; urgency=low
* Fix bug causing time rule activation not to do anything

-- lance colton <lance.colton@gmail.com> Thu, 12 Jan 2012 21:21:28 -0700

proximus-complete (1.0.0) unstable; urgency=low
* Initial Release

-- lance colton <lance.colton@gmail.com> Wed, 28 Dec 2011 02:27:40 -0800

source is here: https://gitorious.org/proximus-qml/complete

Unless nokia fixes this bug, leave the "use gps" thing on, or turn off the nokia positioning methods.

Creamy Goodness 2011-12-29 03:04

Re: [Announce] Proximus
 
you can create a rule that is only active if the calendar has an event at the same time, like tell it to search for "meeting" and go silent or whatever.

cincibluer6 2011-12-29 03:18

Re: [Announce] Proximus
 
Wow, very nice. I'll try it out. Looks pretty cool.

I'll report back with any problems.

noetus 2011-12-29 14:53

Re: [Announce] Proximus
 
This works as daemon at startup?

Creamy Goodness 2011-12-29 22:59

Re: [Announce] Proximus
 
yeah it installs two seperate things, one of these is a daemon, the other is the gui. As per Nokia requirements, the daemon can be disabled from the GUI, but it won't work at all then...

Hariainm 2011-12-31 17:22

Re: [Announce] Proximus
 
Can you add switching between powersave mode ON/OFF/AUTO based on what time is it?
i really want my phone to switch to powersave ON when i'm going to bed, say... 11:00PM or so, and actually i have to do it manually. Thanks

Creamy Goodness 2011-12-31 21:18

Re: [Announce] Proximus
 
3rd party apps can't adjust the power saving mode because the required aegis token is not allowed by Nokia. Maybe they will allow it or we can find some other way, or just have features that require an aegis free kernel :(

mohi2k7 2012-01-01 01:59

Re: [Announce] Proximus
 
how is this when compared to alarmed on the n900, when it comes versatility and command execution?

cincibluer6 2012-01-01 06:31

Re: [Announce] Proximus
 
@Creamy Goodness
The app seems to work fine except for the GPS use. I have only one rule defined (for work time to be silent) and have disabled GPS use but it still seems to want to use it anyway.
No other programs are open when it tries to determine position and it only started after installing this. Not sure how I could look into it and determine exactly if it is the culprit and what could be done about it but I thought I'd let you know.
FWIW, I've done a reboot or two and it still does it.

eschnepel 2012-01-01 08:38

Re: [Announce] Proximus
 
Looks great!
Would It be possible to add detection of wlan access points for rules?
A Nice feature would be the ability to switch background connections on/off.

sconf 2012-01-01 10:12

Re: [Announce] Proximus
 
I can confirm that GPS is activated at reboot, even when GPS is disabled in proximus. Otherwise proximus looks very good.

cron-type command execution with easy user interface is something I have been waiting for N9. Something similar of "alarmed" in n900. Proximus would be a good candidate for that. Is this using harmattan "timed" for time based exection?

samized 2012-01-02 10:59

Re: [Announce] Proximus
 
Nice...
Looking forward to see all features from Nokia Situations in Proximus
:D

efion 2012-01-03 05:28

Re: [Announce] Proximus
 
Wooww!!
This app is exactly what i suggest on IdeasProject
Profiles/apps launcher based on my position (My Spot!)
http://www.ideasproject.com/ideas/11568

Keep the good work, mate! :)

kai_en 2012-01-03 05:56

Re: [Announce] Proximus
 
As suggested, Proximus should try in some way emulate what Nokia Situation does, one thing I miss the most is postioning via Cell Towers, I believed to be more advantageous over the usage of GPS location due to battery consumption. Besides, the ability to toggle Flight mode on and off is also quite desirable.

Creamy Goodness 2012-01-03 16:48

Re: [Announce] Proximus
 
Just because you see a compass icon doesn't mean it's using GPS.
GPS = satellites
Uncheck "use gps" and it won't use satellite, or the GPS chip.You still get a status icon. Ask Nokia why, not me :)

Quote:

Originally Posted by eschnepel (Post 1144132)
Looks great!
Would It be possible to add detection of wlan access points for rules?
A Nice feature would be the ability to switch background connections on/off.

Sure, I wanted to do this anyways. That and bluetooth.

Quote:

Originally Posted by sconf (Post 1144143)
cron-type command execution with easy user interface is something I have been waiting for N9. Something similar of "alarmed" in n900. Proximus would be a good candidate for that. Is this using harmattan "timed" for time based exection?

I'm going to do this too but I want to get this in Ovi store without that feature first, it seems like something they wouldn't allow if they know about it. Btw the daemon runs as user and not root due to calendar limitations (Nokia's fault, not mine) so any commands run need to work as user. Maybe I can run a 2nd daemon later but that is getting kinda silly.

Any rule created that has a time component will have two QTimer objects created to keep track of what times the rule can potentially become active and inactive. There's also a QSystemAlignedTimer that runs every 45-60 minutes to check for relavent calendar entries, and it creates 2 more QTimers if it sees any. I'll probably change them all to QSystemAlignedTimer but since they don't fire very often the savings won't be much.

sysedit 2012-01-04 17:28

Re: [Announce] Proximus
 
Quote:

Originally Posted by eschnepel (Post 1144132)
Looks great!
Would It be possible to add detection of wlan access points for rules?
A Nice feature would be the ability to switch background connections on/off.

Yep, that's what's I'm missing from Nokia Situations, in addition to time range.
This would allow something like:
- between 23h and 6h => silent mode (or better, limited connection to save battery)
- if nearby my office wifi => silent mode, but with full connectivity, so I can be notified for my private stuff without bothering the open space
- everything else => ringing, full connectivity.

Thanks for the good work !

cincibluer6 2012-01-04 23:43

Re: [Announce] Proximus
 
@Creamy Goodness
It might not be using the GPS chip but it still seems to be wanting to get a location. The compass shows up and my battery app shows that Positioning is hogging a ton of power (no other apps running that would use it.)
Along with that, not sure if I set a rule wrong, but I had it set to go to silent for hours of work and it doesn't work. Is a reboot (restart of the daemon) needed to make a rule work? I think I did it anyway (can't quite remember) but the phone doesn't go to silent.

noetus 2012-01-05 00:04

Re: [Announce] Proximus
 
Can you add support for disabling the lockscreen code when on certain recognised wifi networks? There was an app on the N900 which allowed that, it was very useful.

alephito 2012-01-05 02:58

Re: [Announce] Proximus
 
Quote:

Originally Posted by cincibluer6 (Post 1145914)
@Creamy Goodness
It might not be using the GPS chip but it still seems to be wanting to get a location. The compass shows up and my battery app shows that Positioning is hogging a ton of power (no other apps running that would use it.)

The same happened to me. Uninstalling Proximus solved the issue. I will check next versions. Thanks.

Creamy Goodness 2012-01-05 08:51

Re: [Announce] Proximus
 
Quote:

Originally Posted by cincibluer6 (Post 1145914)
@Creamy Goodness
It might not be using the GPS chip but it still seems to be wanting to get a location. The compass shows up and my battery app shows that Positioning is hogging a ton of power (no other apps running that would use it.)
Along with that, not sure if I set a rule wrong, but I had it set to go to silent for hours of work and it doesn't work. Is a reboot (restart of the daemon) needed to make a rule work? I think I did it anyway (can't quite remember) but the phone doesn't go to silent.

If you're sure the rule is enabled and the daemon is running it could be a bug. If it's supposed to be only time based make sure the other location and calendar stuff is disabled and let me know the times you entered so I can verify it works or not. The logic is confusing for that part, maybe I missed something.
The GPS logic is very simple, however, at least on my end. I don't really want to blame Nokia because it is difficult to prove, but I'm pretty sure whatever you're looking at is caused by the CPU usage of their positioning daemon. It is indeed quite "high" (meaning greater than zero) when it's been told not to track satellites and that we only want to know the position every minute or two. I'm not sure exactly what to do about that...

-edit- I found and fixed the bug for the time rule not activating / deactivating.

Creamy Goodness 2012-01-16 08:32

Re: [Announce] Proximus
 
Check out the new version 1.1.0, now it can work with just wifi scanning to find your location.
I would type in 2-3 network SSIDs you can usually see as sometimes the scan will miss some networks. Nothing I can do about that easily, I think pretty much every wifi device has that issue.
Anyways, if you use that and disable the nokia positioning methods entirely, there should only be tiny battery impact.
The SSID is not case sensitive, but you have to type the whole thing for each one you want it to match. If it sees ANY of them, the condition is satisfied.

Julien_2006 2012-01-16 14:50

Re: [Announce] Proximus
 
Hello, I see this ap is built for MeeGo Harmattan, can we expect make it work under Maemo 5?
Should I Try installing the deb ?

Creamy Goodness 2012-01-16 20:10

Re: [Announce] Proximus
 
I could probably get it working for maemo5 but it's a fair bit of work.
The user interface is currently only written in QML and therefore won't work in maemo5. When I started working on this app I wrote it using QWidgets though, and that would work fine on both devices, and even desktops. It's just really ugly on mobile devices, it looks like Windows. I know you n900 guys won't care if it's ugly, but for n9 I had to rewrite it :(
The other problem is the latest QT Mobility libraries on n900 (which I need) are not offically supported by Nokia and I had some trouble with them. I didn't try attila77's latest version yet, so maybe it will work now. Anyways, I'll try to find time to get it maemo5 compatible.

cincibluer6 2012-01-16 20:31

Re: [Announce] Proximus
 
@Creamy Goodness
I'll try it out again soon enough (busy with work atm.) I started using profilematic which works fine for my scenarios now but I could see one or two situations that Proximus could help me.
I'll report back any kind of problems if I find any.

Creamy Goodness 2012-01-18 06:11

Re: [Announce] Proximus
 
I'm trying to beat the other apps in features, although I left the source of mine open so it's kind of hard to stay ahead... Nokia gave me an n950 to write "open source apps" so I have no choice :)
I guess I could be cool like them and provide the source on a dvd with written request (lol).
Next feature I've added is the ability to create a reminder (calendar event with alarm). I guess you can use it to make a rule to remind you to buy something the next time you go near the store or something like that. It's done and uploaded as v1.2.0 now. Please let me know if it works properly. Note that I've forced it to only set the alarm once every 12 hours for now. Realistically this makes sense as you don't need to be reminded too many times of whatever you've set, but I'll try to make this more configurable later. If you are just testing it you can use the "reset all settings" thing in the menu to remove the 12hr counter.

sconf 2012-01-19 20:57

Re: [Announce] Proximus
 
Have you thought about adding possibity to execute a command (i.e. script) into proximus actions.

Creamy Goodness 2012-01-19 23:57

Re: [Announce] Proximus
 
Yeah but two problems
1) Nokia won't like it, they might reject the app
2) commands will run as user because the service needs to run as user to access the correct calendar
I'll add the feature eventually, just trying to make sure all the other stuff is working good first.
Next feature I will add is probably 'days of the week' and I am open to suggestions on other actions.

Buzrael 2012-01-20 10:28

Re: [Announce] Proximus
 
I just hope the Belgian mobile phone operator is not going to ask you to change your application name...
www.proximus.be

Creamy Goodness 2012-01-20 17:59

Re: [Announce] Proximus
 
Yeah... shhhhhhhhhhhh
I didn't come up with it myself but I noticed that after.
http://wiki.maemo.org/Proximus
Anyways, trademark law only applies to products that are similar. A mobile phone operator is not a similar product to a mobile phone application. Furthermore, it's unlikely they've filed for a trademark anywhere other than Belgium. If you search for that name in the US trademark database, it's registered as a type of tequila, toy helicopter, home electronics, medical apparatus, etc. all by different companies.

Creamy Goodness 2012-01-27 07:47

Re: [Announce] Proximus v1.2.4
 
v1.2.4 is a somewhat useless update for Proximus. It adds an external heartbeat timer that is accessible via the dbus.
Conky will use that because conky is written in c and has no way to create a heartbeat timer itself. Sometimes you have to think outside the box :)

Creamy Goodness 2012-02-08 08:37

Re: [Announce] Proximus
 
I updated this quite a bit in the last few days. It has "day of the week" support now and detailed logging. Also organized the rule creation screen and added a menu option to switch the color scheme (just black/white for now).
Please let me know if you find any bugs or have some more feature requests.

Hariainm 2012-02-14 20:43

Re: [Announce] Proximus
 
Quote:

Originally Posted by Hariainm (Post 1143964)
Can you add switching between powersave mode ON/OFF/AUTO based on what time is it?
i really want my phone to switch to powersave ON when i'm going to bed, say... 11:00PM or so, and actually i have to do it manually. Thanks

@Creamy Goodness can you add this feature now? I saw this in the Store http://forum.meego.com/showthread.php?t=5696, may be you can request the code in order to integrate it in your app, that would be great.

Creamy Goodness 2012-02-14 21:32

Re: [Announce] Proximus
 
sure, if it's prossible i can probably figure it out. I'm working on having a way to adjust the priority of the rules right now though, maybe 1-2 days to finish that.

Creamy Goodness 2012-02-25 05:44

Re: [Announce] Proximus
 
okay so 1-2 days was a bad estimate! I think I've got the rule priority working correctly but I've only tested it for about a day so. I also improved the wifi ssid checking to allow more characters because some ssid contain spaces and other symbols.

-edit-
power saving mode only took an hour more. v1.2.9 includes that.

Creamy Goodness 2012-02-25 21:37

Re: [Announce] Proximus
 
there was a bug in setting psm back off, i uploaded a new version with the same #

Hariainm 2012-02-26 19:10

Re: [Announce] Proximus
 
@Creamy Goodness Nice! But hard to set the rules properly. ok, i need more testing, since i don't fully understand all the options in your app ;-)

Creamy Goodness 2012-02-27 04:35

Re: [Announce] Proximus
 
okay, 1.3.0 is done.
now you can run a custom command. note that it will be run as 'user' not 'root', and please let me know if it's not working in some situations. I didn't test it much.
It will run the custom command once when a rule becomes true, and then again later if the rule becomes false and then true again. If anyone wants to explain why this isn't good enough, maybe I can add some more options...

justadude 2012-02-27 07:58

Re: [Announce] Proximus
 
Don't know if this is in the realm of possibility, but can there be a rule set via gps location to open an app for example: if you go to the market it will open up "cards with me app" and bring up your rewards card for scanning? same goes with gas/petrol stations. Thanks and Proximus is a nice idea that stands out from the rest.

Creamy Goodness 2012-02-27 23:26

Re: [Announce] Proximus
 
sure, if you know the command to start the app. The latest version added support for running custom commands so just put it in there.
try to see if it has a ".desktop" file in /usr/share/applications, it should have the command to start the app inside it.

Creamy Goodness 2012-03-01 07:04

Re: [Announce] Proximus
 
1.3.1 is done, you can make rules based on if the phone is charging or not now.

-edit-

oops, pls re-download if you tried 1.3.1 before now. there was a bug that i'm too lazy to explain.


All times are GMT. The time now is 11:53.

vBulletin® Version 3.8.8