Notices


Reply
Thread Tools
Posts: 16 | Thanked: 111 times | Joined on Jul 2010
#1
Hi everybody.

We created small app for school project. App can create profiles/situations with conditions and actions. You can combine conditions and actions to create different profiles/situations. Actions and conditions are based on Qt plugin system. App is opensource (BSD) and you can create new actions/conditions with Qt plugin system.
Actions can run some scripts, call objects with D-BUS, change ring profiles etc.
Problem is we don't have time to working and maintain this app because we have lot of others projects.

Source code and packages you are here: https://gitorious.org/maemo-profiler
Some conditions packages depend on old libqtm-12 so don't install BlueToothState, Battery charging, Wifi status, batery status, GpsLocation, WiFiNetwork. If app don't start then start app from console ( /opt/Profiler/bin/Profiler ) and you will see debug info.

Screenshoots:
1) you can activate profiles, for rename profile click on name and hold, for edit click in middle of profile next to name of profile


2) Edit - you can add conditions and actions. When you click on condition/action you can edit some settings.


3) Actions/condition - choose plugin to add into profile


We created some examples plugins.

List of actions:
  1. ActivateScreen- it will turn on N900 screen
  2. DialogNotification - big maemo notification with message
  3. Notification - small maemo notification with message
  4. ProfilePluginQML-change silent general profiles
  5. ScreenOn- screen stays on
  6. Vibrations

List of conditions:
  1. BatteryCharging- you can choose-charging or not charging condition
  2. BatteryStatus- depend on selected battery level
  3. BlueToothState - you can choose bluetooth on off condition
  4. CurrentProfile - you can choose profile condition
  5. GpsLocation - you can set coordinates and radius ( no map soory)
  6. IncomingCall- true when incomming call
  7. LightPluginQML-true for selected and darker light levels
  8. TimePluginQML- true for period of time
  9. WiFiNetwork- true when connected to wifi with selected SSID

All conditions in profile need to be true to start actions.

Little example:
Profile "Quiet" - condition (TimePluginQML- 18.00-23.00)
- action ( ProfilePluginQML - silent)
-- it will set silent profile for 18.00-23.00.


--Instalation for N900

You will need to install qt-components, qt mobility 1.2
In console(with sudo): apt-get install qt4-dev-tools qt-components-10 qt-components-base-theme libqtm-12

You can click on deb packeges in file manager or in Console
You can install app with this command.
dpkg -i profiler_1_0_0_armel.deb

And plugins ...
dpk -i <plugin>

Enjoy
 

The Following 31 Users Say Thank You to Bzouk For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,464 times | Joined on Jan 2010 @ Australia Mate
#2
looks cool, no longer have my n900 though
 
Posts: 1,397 | Thanked: 2,124 times | Joined on Nov 2009 @ Dublin, Ireland
#3
Very interesting app, with a lot of possibilities, congratulations. Will you upload it to the repository?

An extra action that could be very interesting is:
- Launch your own self-defined shell command or script (which enables to run applications, scripts, commands, dbus signals...)
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Posts: 16 | Thanked: 111 times | Joined on Jul 2010
#4
It will be better, If someone else could upload it to the repository.
 
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#5
it is good to see an" [Announce] " for N900

i see [Announce] for N9 more as compare to the N900 now a days
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 

The Following 2 Users Say Thank You to nicholes For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,420 times | Joined on Apr 2009 @ Germany
#6
Originally Posted by Bzouk View Post
Problem is we don't have time to working and maintain this app because we have lot of others projects.
Looks like an interesting project. I would like to
maintain this.
 

The Following 19 Users Say Thank You to nicolai For This Useful Post:
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#7
Ohh, this looks like a very promising app - Would really like to development continue and build this into a great app similar to Nokia situations for Symbian.

I would like to jump into my car and on bluetooth connection to my audio system the Media player is launched, and Wifi is disabled (to save battery, although not sure you can).

On return home, it knows where I am from GPS coords, and connects to my Wifi.

I know you can do this with dbus and scripts etc, but it can be a pig for people.

Great work though, especially for a school project - Really really impressed!!
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________
 
Posts: 33 | Thanked: 17 times | Joined on Feb 2011
#8
upload the deb file i wanna try it
 
Estel's Avatar
Posts: 5,029 | Thanked: 8,593 times | Joined on Mar 2011
#9
Compile deb yourself, try it, and upload it for others. Sounds like better idea, than writing imperative demands?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 16 | Thanked: 111 times | Joined on Jul 2010
#10
To Mr.bot: Deb files are in git https://gitorious.org/maemo-profiler...ter/trunk/dist . On right side is "Download master as tar.gz" in trunk/dist are debian files.
Some conditions packages depend on old libqtm-12 so don't install BlueToothState, Battery charging, Wifi status, batery status, GpsLocation, WiFiNetwork. If app don't start then start app from console ( /opt/Profiler/bin/Profiler ) and you will see debug info. Uninstall broken plugins, app will start.

To nicolai: no problem If you want co maintain this project.

Btw GUI little sucks, but it is in QML, it can be replaced very fast.
Application has great potential, but someone has to create a lot of plugins. If someone wants to know how the application works, I'll write it here.

Last edited by Bzouk; 2012-02-09 at 15:45.
 

The Following User Says Thank You to Bzouk For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:22.