Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #91  
Old 2010-03-21, 19:45
slipkornsaad slipkornsaad is offline
 
Join Date: Feb 2010
Posts: 53
Thanks!: 10
Thanked 20 Times in 9 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

I updated to 0.1.8-2 it starts fine now but when i choose new event (switch profile) it doesn't give me the ability to choose the profile when i click on the icon !
Reply With Quote
  #92  
Old 2010-03-23, 18:24
x-lette x-lette is offline
 
Join Date: Feb 2010
Location: Berlin, Germany
Posts: 539
Thanks!: 235
Thanked 165 Times in 113 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Can anyone help me in setting up an command line to go online? I'd like to open an internet connection (via gprs/umts, not WLAN) every hour using alarmed. Disconnection goes automatically with autodisconnect but I'm looking for a script to open the connection. All my widgets are configured to fetch data when already online and I don't want to reconfigure one of them but would like to have a single place where to control the connection.
Reply With Quote
  #93  
Old 2010-03-23, 18:52
dsawhney dsawhney is offline
 
Join Date: Jan 2010
Location: USA
Posts: 313
Thanks!: 26
Thanked 247 Times in 140 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Quote:
Originally Posted by x-lette View Post
Can anyone help me in setting up an command line to go online? I'd like to open an internet connection (via gprs/umts, not WLAN) every hour using alarmed. Disconnection goes automatically with autodisconnect but I'm looking for a script to open the connection. All my widgets are configured to fetch data when already online and I don't want to reconfigure one of them but would like to have a single place where to control the connection.

http://wiki.maemo.org/Phone_control#...ved_connection
Reply With Quote
The Following User Says Thank You to dsawhney For This Useful Post:
  #94  
Old 2010-03-23, 19:00
x-lette x-lette is offline
 
Join Date: Feb 2010
Location: Berlin, Germany
Posts: 539
Thanks!: 235
Thanked 165 Times in 113 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Quote:
Originally Posted by dsawhney View Post
Thnaks for this hint! I already looked at the very useful scripts of the DCE-Widget Wiki but there was no such command listed.
Reply With Quote
  #95  
Old 2010-03-24, 21:02
jamesf1985 jamesf1985 is offline
 
Join Date: Mar 2010
Location: wigan uk
Posts: 6
Thanks!: 1
Thanked 0 Times in 0 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

hi can someone please help me set up a command line to reset my gprs counter on the 4th of every month. as the app doesn't seem todo it for me. Im kinda new to all this so please keep it simple lol

thanks in advance
Reply With Quote
  #96  
Old 2010-03-24, 21:41
ndi's Avatar
ndi ndi is offline
 
Join Date: Dec 2009
Location: Bucharest
Posts: 2,050
Thanks!: 597
Thanked 1,425 Times in 647 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Set an event

* Built-in function (bottom lets you select reset counter)
* Set "Once a month)
* Set 4th

Good to go, in theory.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
Reply With Quote
  #97  
Old 2010-03-25, 11:22
DaSilva DaSilva is offline
 
Join Date: Dec 2009
Posts: 729
Thanks!: 525
Thanked 155 Times in 111 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Would it be possible to add native support for Erminig-NG? Would be easier then the new command line support...
Reply With Quote
  #98  
Old 2010-03-25, 11:34
jcompagner's Avatar
jcompagner jcompagner is offline
 
Join Date: Sep 2009
Posts: 290
Thanks!: 27
Thanked 165 Times in 73 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Quote:
Originally Posted by DaSilva View Post
Would it be possible to add native support for Erminig-NG? Would be easier then the new command line support...


lookup a few messages in this forum post.
This is already discussed quite a bit.

I agree it would be nice to have some integration. Which way it doesnt matter to me
for example Erminig could also push things to alarmed so that we could show them there
or a Alarmed "plugin" could query Erminig (erminig -l) and then show that result and give options to sync those calendars with erminig --sync-profile=id

but for now it works fine through the execute command
Reply With Quote
The Following User Says Thank You to jcompagner For This Useful Post:
  #99  
Old 2010-03-25, 13:37
lemmyslender lemmyslender is offline
 
Join Date: Nov 2008
Location: Ohio
Posts: 968
Thanks!: 657
Thanked 974 Times in 441 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Quote:
Originally Posted by DaSilva View Post
Would it be possible to add native support for Erminig-NG? Would be easier then the new command line support...
It's really pretty easy. Just select command execution, in the command line put:

erminig --sync-all

or

erminig --sync-profile=1,2,3,etc

profiles # can be found by running
erminig -l
from xterm (as user, not root)
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
Reply With Quote
The Following User Says Thank You to lemmyslender For This Useful Post:
  #100  
Old 2010-03-26, 10:34
evad's Avatar
evad evad is offline
 
Join Date: Mar 2008
Location: London (UK) / Zielona Góra (PL)
Posts: 354
Thanks!: 199
Thanked 151 Times in 100 Posts
Default Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)

Installed alarmed 0.1.8-2 yesterday with great excitement to finally have tweakr profiles automatically switched, but unfortunately it doesn't seem to work, similarly to user skalogre couple of pages back in this thread. Here's my alarm_queue.ini:

Code:
[#00000b54]
cookie: 2900
trigger: 1269844500
flags: 131072
alarm_appid: Rano
alarm_time: 1269562202
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 Dyskretny
recurrence_tab0.mask_min: 34359738368
recurrence_tab0.mask_hour: 128
recurrence_tab0.mask_wday: 62
recurrence_tab0.mask_mon: 4095
However, when I manually execute tweakrprofileswitcher.sh via terminal, I get profile changed:

Code:
user@n900:/var/cache/alarmd$ sh /opt/alarmed/tweakrprofileswitcher.sh Dyskretny
method return sender=:1.1 -> dest=:1.511 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.512 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.513 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.514 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.515 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.516 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.517 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.518 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.519 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.520 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.521 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.522 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.523 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.524 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.525 reply_serial=2
   boolean true
method return sender=:1.1 -> dest=:1.526 reply_serial=2
   boolean true
Note sh in the beginning of command - without that it won't work - perhaps that's the missing part in alarm_queue.ini?

Another thing I wanted use alarmed for is hourly synchronisation using SyncEvolution client. SyncEvolution client itself allows to set daily sync schedule, which works OK and it does create following entry in alarm_queue.ini:

Code:
[#00000ade]
cookie: 2782
trigger: 1269625800
title: Synchronization with goosync
flags: 131072
alarm_appid: syncevolution
alarm_time: 1269247710
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: 2084
action0.exec_command: /opt/syncevolution/sync.py --quiet goosync
recurrence_tab0.mask_min: 1125899906842624
recurrence_tab0.mask_hour: 131072
So following that lead, I've created "custom command" entry in alarmed, typing /opt/syncevolution/sync.py --quiet goosync as that command. Again - it doesn't seem to work either at specified time. :( Here's alarm_queue.ini entry created by alarmed:

Code:
[#00000b6f]
cookie: 2927
trigger: 1269600600
flags: 131072
alarm_appid: GooSync
alarm_time: 1269597000
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/syncevolution/sync.py --quiet goosync'
recurrence_tab0.mask_min: 1125899906842624
recurrence_tab0.mask_hour: 16777215
However, when I run /bin/ash -c '/opt/syncevolution/sync.py --quiet goosync' manually as user in terminal - it works OK.

All in all, alarmed has an excellent potential to become one of my favourite killer-apps, if it only worked as it should. :) All suggestions welcome, as I'm striving to get both automated profiles and sync finally set on my N900.
__________________
Dawid 'evad' Lorenz * http://dawid.lorenz.co
_______________________________________________

Last edited by evad; 2010-03-26 at 10:35. Reason: Typo
Reply With Quote
The Following User Says Thank You to evad For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:02.