maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Request] Custom profile depending of the time of day (https://talk.maemo.org/showthread.php?t=38417)

RevdKathy 2009-12-28 15:05

Re: [Request] Custom profile depending of the time of day
 
This is certainly a development I could get behind. It's something I would find particularly useful. If you know how to create it, then Yes Please from me. :)

rash.m2k 2009-12-28 15:08

Re: [Request] Custom profile depending of the time of day
 
heres what i get when i launch dbus monitor and change profiles:

Quote:

ethod call sender=:1.3 -> dest=com.nokia.profiled serial=85 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_values
string "silent"
method return sender=:1.1 -> dest=:1.3 reply_serial=85
array [
struct {
string "calendar.alarm.enabled"
string "Off"
string "BOOLEAN"
}
struct {
string "clock.alarm.enabled"
string "On"
string "BOOLEAN"
}
struct {
string "email.alert.tone"
string "/usr/share/sounds/Emailalert1.aac"
string "SOUNDFILE"
}
struct {
string "email.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "im.alert.tone"
string "/usr/share/sounds/chat-msg_in_bg.wav"
string "SOUNDFILE"
}
struct {
string "im.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "keypad.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "ringing.alert.tone"
string "/usr/share/sounds/NokiaTune.aac"
string "SOUNDFILE"
}
struct {
string "ringing.alert.type"
string "silent"
string "STRING "Ringing" "Silent""
}
struct {
string "ringing.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "sms.alert.tone"
string "/usr/share/sounds/Message1.aac"
string "SOUNDFILE"
}
struct {
string "sms.alert.volume"
string "0"
string "INTEGER 0-100"
}
struct {
string "system.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "touchscreen.sound.level"
string "0"
string "INTEGER 0-2"
}
struct {
string "vibrating.alert.enabled"
string "On"
string "BOOLEAN"
}
]
method call sender=:1.66 -> dest=com.nokia.profiled serial=22 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_value
string "silent"
string "system.sound.level"
method return sender=:1.1 -> dest=:1.66 reply_serial=22
string "0"
method call sender=:1.66 -> dest=com.nokia.profiled serial=23 path=/com/nokia/profiled; interface=com.nokia.profiled; member=get_value
string "silent"
string "system.sound.level"
method return sender=:1.1 -> dest=:1.66 reply_serial=23
string "0"
^C
~ $

rash.m2k 2009-12-28 15:23

Re: [Request] Custom profile depending of the time of day
 
solved!!!!

Heres the command to change profies:

Quote:

dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled --print-reply com.nokia.profiled.set_profile string:"silent"
However it appears there is not Crontab installed on the N900!!!!

pir 2009-12-28 15:28

Re: [Request] Custom profile depending of the time of day
 
Quote:

Originally Posted by rash.m2k (Post 443958)
solved!!!!

Heres the command to change profies:



However it appears there is not Crontab installed on the N900!!!!

I noticed that too. That is why I posted that link (a few posts ago)

rash.m2k 2009-12-28 17:50

Re: [Request] Custom profile depending of the time of day
 
Quote:

Originally Posted by pir (Post 443968)
I noticed that too. That is why I posted that link (a few posts ago)

Sorry I didn't read the whole list - however this person seems to have done it, although its with Maemo 4.0

http://www.gossamer-threads.com/lists/maemo/users/35685

This here also seems promising, specifically ALARM_ACTION_TYPE_DBUS :

http://maemo.org/api_refs/5.0/5.0-fi...947313667686b2

callerid 2009-12-28 18:37

Re: [Request] Custom profile depending of the time of day
 
Will it change profile based on key words in the calendar? E.g. "meeting" will send it into silent, and end of meeting back into normal profile?

rash.m2k 2009-12-28 18:41

Re: [Request] Custom profile depending of the time of day
 
I think that would require too much parsing of data, perhaps a little too much for a script. but in place of crontab I think it may do just fine.

backd00r 2010-01-14 12:17

Re: [Request] Custom profile depending of the time of day
 
I found some applications for Android that could be implemented in Maemo:

Locale for Android
SweetDreams (nformation in Spanish)

Regards,
Javi

stobbsc 2010-01-14 12:24

Re: [Request] Custom profile depending of the time of day
 
This sounds similar to the app for symbian called best profiles.
It would be great for start if someone could create a GUI for auto profile switching from general to silent and back at predefinied time.

airjordan17 2010-01-15 01:00

Re: [Request] Custom profile depending of the time of day
 
I'd like to suggest another feature as part of this request: toggle vibrate on/off for the profile that is set at a specific time. For example, at night, set the phone to "silent" profile and also disable vibrate.


All times are GMT. The time now is 16:06.

vBulletin® Version 3.8.8