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)

x-lette 2010-11-09 19:50

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Instead of switching vibration on and off in one profile you could try out tweakr which offers the possibility to have more than just 2 profiles. In each one you can decide whether to have vibration or not. These profiles can then easily be switched by alarmed.

ndi 2010-11-09 21:35

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Does anyone else have an issue with running shell scripts from alarmed? I tried to schedule a recurring script and it caused the telephony disabled issue.

After several inquiries, I figured that setting alarms also set the RTC alarms to wake the device to ring. Would scheduling commands in such a fashion affect the system? Any insight?

I guess it's possible to break it if it was designed to run alarms and someone schedules a shell script. The script consists of a touch command, a couple of chmods and a call to wget | awk (I am logging external IP to a file).

The script works fine in terminal, but scheduling it causes mayhem. Next reboot, the phone declares that "All telephony functions are disabled" after an unusually long boot sequence in which several things look awkward - typically there is no boot video, the dot animation is long, and there are pauses in which the screen goes blank. Uninstalling alarmed doesn't help, only a reflash or a restore using BackupMenu restores telephony.

mdengler 2010-11-10 04:17

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I run plenty of shell scripts from alarmed, fine.

Zentenario 2010-11-11 13:52

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

Originally Posted by x-lette (Post 868366)
Instead of switching vibration on and off in one profile you could try out tweakr which offers the possibility to have more than just 2 profiles. In each one you can decide whether to have vibration or not. These profiles can then easily be switched by alarmed.

Thanks son much x-lette, I'll try this tweakr application though I had sometime ago and had to uninstall it.

tetris11_ 2010-11-18 12:32

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I've got a slightly weird problem:
Old alarms that have long been deleted keep reocurring. I know its not the default alarm causing the problem because of the song it plays.

Yet I currently have no alarms in Alarmed or the default that should cause this problem.

Does anyone know where the Alarmed config file is, or how to access the dbus alarm config?

I think the solution may lie there.

Also: Great app! I could not live without this!

skalogre 2010-11-18 16:33

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

Originally Posted by tetris11_ (Post 876999)
I've got a slightly weird problem:
Old alarms that have long been deleted keep reocurring. I know its not the default alarm causing the problem because of the song it plays.

Yet I currently have no alarms in Alarmed or the default that should cause this problem.

Does anyone know where the Alarmed config file is, or how to access the dbus alarm config?

I think the solution may lie there.

Also: Great app! I could not live without this!

You know, I think I have experienced this a few times.

shapeshifter 2010-11-19 11:53

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

Originally Posted by tetris11_ (Post 876999)
Does anyone know where the Alarmed config file is, or how to access the dbus alarm config?

I think the solution may lie there.

Does this occur with all events you delete or just some?

From the front page:

If it should happen that you create an event and for some reason it gets lost from Alarmed's menu/list, but still exists and acts, look in /var/cache/alarmd/alarm_queue.ini and you'll find your event somewhere at the bottom. It comes with a "cookie", which identifies it. For example: "cookie: 886". You can then use the CLI interface to delete the event. It will tell you it doesn't exist, but it will nevertheless delete the backend-event:
Code:
Code:

/opt/alarmed/alarmed.py -CD 886

slarti 2010-11-27 17:53

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

Is it possible to enable/disable an alarm with a script? I'm trying to make a QBW that would enable/disable a certain reoccurring alarm. Also, does an alarm send anything over dbus when it goes off?

Thanks,

Slarti

kojacker 2010-11-28 11:25

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Just leaving a note to say thanks shapeshifter for this terrific application. To my shame, I realised I never did so before even though I use Alarmed regularly now for months. It's definitely one of my favorite apps for the N900. I had been looking into coding a way to schedule mfakecaller, but Alarmed does the job perfectly :)

shapeshifter 2010-11-28 11:52

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

Originally Posted by slarti (Post 884533)
Is it possible to enable/disable an alarm with a script? I'm trying to make a QBW that would enable/disable a certain reoccurring alarm. Also, does an alarm send anything over dbus when it goes off?

Not really. The idea is that you configure the alarm in such a way that it rings whenever you want it. But I guess there isn't full flexibility yet. I'm very busy atm but if I ever get around implementing this, I will.


All times are GMT. The time now is 05:51.

vBulletin® Version 3.8.8