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)

backd00r 2009-12-25 20:59

[Request] Custom profile depending of the time of day
 
Hi!

I was thinking in create some tasks on crontab to customize the way my N900 behaves during the day, like:

Code:

M,W,F at 07:50 wake up alarm, start 3G + connect to Internet and start mail application.
M,W,F at 08:30 start bluetooth and link to my car handsfree.
M,W,F at 09:15 stop bluetooth.
T at 06:22 wake up alarm.

etc...etc.

Most of us know what we do during the week and would be a good idea to have an application that would allow us to automate these tasks with our N900

ruskie 2009-12-25 21:20

Re: [Request] Custom profile depending of the time of day
 
Well I really only wanted to automate the profile setting from general to silent. Built and installed fcron(because it sleeps between events) and set it all up so I actually have that :)

For the rest I haven't looked into it really. But generally you should be able to do it with dbus-send(that's how the profile setting works).

backd00r 2009-12-25 21:38

Re: [Request] Custom profile depending of the time of day
 
Thanks for you comments @ruskie.

Maybe these examples can be a good start:
http://wiki.maemo.org/Phone_control#DBUS

Regards,
Javi

mysticrokks 2009-12-25 21:51

Re: [Request] Custom profile depending of the time of day
 
your life is so samey,, i cannot believe u would really need or want to do this-- but running macro type could be usefull i suppose..

mysticrokks 2009-12-25 22:13

Re: [Request] Custom profile depending of the time of day
 
the fact taht you want things tunred on and off at times means that the nokia fails in the battery stakes-

which it certainly doies for me.. i carry two batterys

pir 2009-12-28 12:38

Re: [Request] Custom profile depending of the time of day
 
Ooh I am looking for something like this.
*pir followes this thread

Apox 2009-12-28 13:17

Re: [Request] Custom profile depending of the time of day
 
This would be an awesome feature for the N900.
I will be following this as well :)

rash.m2k 2009-12-28 14:22

Re: [Request] Custom profile depending of the time of day
 
crontab can schedule things to do at specific times.

it will be easy enough for you to create a script to set different profiles at different times of the day, assuming you are able to get access to it from the command line, closest command i've seen has been profiled however it does not seem to respond to the --help parameter.

rash.m2k 2009-12-28 14:24

Re: [Request] Custom profile depending of the time of day
 
thanks for that dbus link - I'll be able to cook something up quite easily.

pir 2009-12-28 14:31

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

Originally Posted by rash.m2k (Post 443888)
thanks for that dbus link - I'll be able to cook something up quite easily.

http://wiki.maemo.org/Documentation/...larm_Framework

Maybe that is useful too :)

-edit- Also, here:
http://talk.maemo.org/showpost.php?p=375763&postcount=5


All times are GMT. The time now is 14:15.

vBulletin® Version 3.8.8