![]() |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Guys, could you take the argument elsewhere please? It's up to shapeshifter to do what he wants with his app. If you disagree, grab the code and change it.
Now please, lets keep this thread about alarmed any any issues, etc, not personal arguements. Thanks in advance. |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Installed; a very useful app; thanks!
Some suggestions for built-ins: (sorry if these have already been suggested and I do recognise that these could be just as easily typed in...): Set brightness like how the Display applet does it: gconftool -s /system/osso/dsm/display/display_brightness -t int %d Set the network mode: http://talk.maemo.org/showpost.php?p=510860&postcount=2 And toggle the phone's radio: dbus-send --print-reply --system --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false ["true" to enable] |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Also a feature request: is it possible for a little tickbox on the command execution entry that says "Run as root" ?
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Heck, as long as we're throwing out requests
How about an enable/disable feature? That way you could "turn off" an alarm without removing it and having to set it up again later. |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Quote:
Quote:
Quote:
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Ok, am I missing something? I haven't been able to successfully setup an automatic profile switch. I have three profiles (using Tweakr, of course) and have one event to change to a "Work" profile at 0830 and one to change back to "General" at 1730. As far as I can tell, no switching occurs.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Quote:
A good first step is to post the output of: cat /var/cache/alarmd/alarm_queue.ini This should give us some idea of whether or not the alarms are being created properly. Also check to make sure you have the latest version. |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Hmm...I have to be honest, I cannot really make out what this means. I wonder if it has to do with the capitalisation on 'general' and 'Office'?
[#000000ed] cookie: 237 trigger: 1268872200 flags: 131072 alarm_appid: Switch_back_to_general alarm_time: 1268785800 alarm_tm.tm_year: -1 alarm_tm.tm_mon: -1 alarm_tm.tm_mday: -1 alarm_tm.tm_hour: -1 alarm_tm.tm_min: -1 alarm_tm.tm_wday: -1 alarm_tm.tm_yday: -1 alarm_tm.tm_isdst: -1 recur_count: -1 action_cnt: 1 recurrence_cnt: 1 action0.flags: 36 action0.exec_command: /bin/ash -c '/opt/alarmed/profileswitcher.sh general' recurrence_tab0.mask_min: 1073741824 recurrence_tab0.mask_hour: 131072 recurrence_tab0.mask_wday: 62 [#000000ee] cookie: 238 trigger: 1268926200 flags: 131072 alarm_appid: Starting_work alarm_time: 1268753400 alarm_tm.tm_year: -1 alarm_tm.tm_mon: -1 alarm_tm.tm_mday: -1 alarm_tm.tm_hour: -1 alarm_tm.tm_min: -1 alarm_tm.tm_wday: -1 alarm_tm.tm_yday: -1 alarm_tm.tm_isdst: -1 recur_count: -1 action_cnt: 1 recurrence_cnt: 1 action0.flags: 36 action0.exec_command: /opt/alarmed/tweakrprofileswitcher.sh Office recurrence_tab0.mask_min: 1073741824 recurrence_tab0.mask_hour: 256 recurrence_tab0.mask_wday: 62 |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
At first glance I see a difference in the name of the called script. First it is called profileswitcher.sh, next time it's called tweakrprofileswitcher.sh. Maybe there is the problem? You could try deleting and newly adding the entries. Also check you have installed the latesr version of alarmed.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
My alarms have /bin/ash /opt/alarmed/tweakrswitchprofile.sh profilename
From what shapeshifter has said, "general" should have the lowercase g. Check your version, should be 0.1.7-3 and maybe remove and redo your alarms. Also, tweakr replaces the general profile settings with your settings. So, your settings for Office overwrite the General settings. With the latest version of Tweakr, I no longer have a General setting, when switching profiles, I have Normal (daytime), Night (night, duh), and Silent. I use alarmd to switch from Normal to Night and back. If your profile is set to Office, it is the General Setting, so switching to General shouldn't change anything. Maybe try setting up Office and Home profiles and switch between those? |
All times are GMT. The time now is 04:15. |
vBulletin® Version 3.8.8