maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting) (https://talk.maemo.org/showthread.php?t=46594)

g-man 2010-09-05 21:32

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
hi!
great app!
I was looking for a way to disable the LED on the N900 at night and enable it at daytime. I'm now trying this
Code:

dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_enable
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_disable

My standard Notification light setting is on
I hope this will be of use for someone like me who've recieved complaints about the flickering light

ndi 2010-09-06 01:13

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Meh, I thought people would just flip it over.

nze 2010-09-11 17:08

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
i'm trying to get my n900 to connect to one certain wifi connection (or maybe a list) at a certain time every day so that it can download my podcasts, get my email etc as gprs is expensive for me. i've looked the snippets from the desktop execution app, but I didn't find anything that worked :\
can someone help?

g-man 2010-09-12 23:45

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by nze (Post 813526)
i'm trying to get my n900 to connect to one certain wifi connection (or maybe a list) at a certain time every day so that it can download my podcasts, get my email etc as gprs is expensive for me. i've looked the snippets from the desktop execution app, but I didn't find anything that worked :\
can someone help?

go get your IAP_ID using:
Code:

gconftool -R /system/osso/connectivity/IAP
the IAP_ID is found in the end of /system/osso/connectivity/IAP/

put your IAP_ID in this:
Code:

dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"IAP_ID" uint32:0

pyther 2010-09-15 17:11

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
For some reason almared doesn't seem to always change my profiles. I can't seem a pattern for this behavior. Any way I can track this down?

rooster13 2010-09-15 18:18

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Thanks for a great app, just what I was looking for... since the N900 doesn't have crontab.

Could you please fix the cron string so that it accepts all variations? What I need is to be able to run certain jobs every third or every other day. For example a reboot of the phone since it starts to jam after 3 days of uptime.

Currently I can't use this 0 5 */3 * * (run at 5:00 am every third day), because slash is not accepted.

If it is not possible I will settle for my script which will check wheter to boot or not depending on the uptime.

mdengler 2010-09-21 05:55

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
A while ago alarmed / alarmd stopped running jobs on my n900. This symptom remains after re-flashing (so it is probably be something in /home/user/...). /opt/alarmed/alarmed.py -C -L shows plenty of jobs, but none of them are running (one of them is "uptime >> /var/tmp/alarmed-tester.log 2>&1" running every minute).

What's a good place to start debugging this? I'm off to start stracing the alarmd process...

mdengler 2010-09-21 06:50

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Hmm - my bad, all working...except for the commands in quotes (doh).

yoush 2010-09-24 08:53

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Just tried alarmed 0.2.0-2 and found that if I type event name in russian, I can't save it (nothing happens when I press Save)

shapeshifter 2010-09-25 12:28

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by yoush (Post 825033)
Just tried alarmed 0.2.0-2 and found that if I type event name in russian, I can't save it (nothing happens when I press Save)

Could you please open a terminal and run Alarmed from the command line?

Code:

/opt/alarmed/alarmed.py
Then reproduce the problem you describe and look what it says in the terminal and post the output. Thanks.


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

vBulletin® Version 3.8.8