maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] maemo-profiler (https://talk.maemo.org/showthread.php?t=82208)

Bzouk 2012-02-09 12:31

[Announce] maemo-profiler
 
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
http://img651.imageshack.us/img651/3...1120612022.png

2) Edit - you can add conditions and actions. When you click on condition/action you can edit some settings.
http://img577.imageshack.us/img577/3...1120612022.png

3) Actions/condition - choose plugin to add into profile
http://img207.imageshack.us/img207/5...1120622534.png

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

F2thaK 2012-02-09 13:15

Re: [Announce] maemo-profiler
 
looks cool, no longer have my n900 though

ivgalvez 2012-02-09 13:29

Re: [Announce] maemo-profiler
 
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...)

Bzouk 2012-02-09 14:07

Re: [Announce] maemo-profiler
 
It will be better, If someone else could upload it to the repository.

nicholes 2012-02-09 14:18

Re: [Announce] maemo-profiler
 
it is good to see an" [Announce] " for N900

i see [Announce] for N9 more as compare to the N900 now a days

nicolai 2012-02-09 14:50

Re: [Announce] maemo-profiler
 
Quote:

Originally Posted by Bzouk (Post 1162623)
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.

gazza_d 2012-02-09 14:56

Re: [Announce] maemo-profiler
 
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!!

Mr.bot 2012-02-09 15:00

Re: [Announce] maemo-profiler
 
upload the deb file i wanna try it

Estel 2012-02-09 15:34

Re: [Announce] maemo-profiler
 
Compile deb yourself, try it, and upload it for others. Sounds like better idea, than writing imperative demands? ;)

Bzouk 2012-02-09 15:43

Re: [Announce] maemo-profiler
 
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.


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

vBulletin® Version 3.8.8