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)

lrose 2010-06-16 13:46

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

Originally Posted by GEONXT (Post 716971)
Can this app auto connect my wifi and disconnect?. Also when im at work connect to my 3g internet? If so can someone give the code to do so?

I just came across fcron wiki page which includes scripts for connecting to saved internet connections

also, as referenced earlier in this thread, there is a good library of commands in the desktop command execution widget wiki page

ndi 2010-06-16 22:10

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

Originally Posted by GEONXT (Post 716971)
Can this app auto connect my wifi and disconnect?. Also when im at work connect to my 3g internet? If so can someone give the code to do so?

What's wrong with letting the native daemon do this (set auto-connect to true)? For disconnection, there's AutoDisconnect, assuming it works with wifi.

Why would you disconnect the wifi after all?

GEONXT 2010-06-17 11:46

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

Originally Posted by ndi (Post 718377)
What's wrong with letting the native daemon do this (set auto-connect to true)? For disconnection, there's AutoDisconnect, assuming it works with wifi.

Why would you disconnect the wifi after all?

I could but the time option are not specific enough for me, i dont want my phone searching for a wifi connection all the time just once when I get home and disconect when i leave in morning.

AutoDisconnect disables a connection when it is not in use or hangs.

And if you didnt figure out that having wifi on all day is a massive drain on the battery life then try it you might even get a full 24 hours without charge.

alienhead 2010-06-17 13:08

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Thats why i wanted to trigger wifiswitcher at a specific time, so it saves battery and switch back on at some point.
Has anyone done that/ knows how to do it?

GEONXT 2010-06-17 13:23

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

Originally Posted by lrose (Post 717565)
I just came across fcron wiki page which includes scripts for connecting to saved internet connections

also, as referenced earlier in this thread, there is a good library of commands in the desktop command execution widget wiki page

One of the connect scrips in fcron wiki above works, trying to get the disconect script to work? using these with Alarmed apps comand option seems to work.

lrose 2010-06-17 21:55

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
after more stumbling round: the phone control wiki page has a pretty comprehensive list of connect/disconnect dbus-send commands

ndi 2010-06-18 00:30

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

Originally Posted by GEONXT (Post 719077)
And if you didnt figure out that having wifi on all day is a massive drain on the battery life then try it you might even get a full 24 hours without charge.

Drain, yes, massive no. I charge every 24 hours anyway, because I'd rather have a charge and not need it rather than not have one. Usually, I'm at 60-something percent while charging.

It's pretty well optimized. Even connected, wifi sleeps when data doesn't pass through. I have well above 24 hours, I sometimes get 48, and I have wifi at home, at the office and on route sometimes, I am all-times-logged to YM, G Talk, mail check every 5 minutes, weather downloads, rss, several daemons, bluetooth, the works.

I think you worry too much, it's well built. And with 1.2 fixing the old drain bug on some N900s that drained the battery in 4-5 hours of wifi, it's all settled.

Come to think of it, why carry around a device designed for 24/7 TCP/IP and never use it?

No matter, we're wondering off-topic. Just a reminder, Lithium accumulators age and die on their own in about 3 years, there's little point in saving the battery to less than a charge a day. Also, I get 2 days out of my device. That's more than enough, since it's a city dweller device, I'm never 4 days away from a socket.

To each his own.

gasper_k 2010-06-21 13:37

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
I'm having problems with alarmd, but can't find any useful info. If I run the app via shortcut, it fails silently, but when I run it via terminal, this is what I get:
Quote:

~ $ /opt/alarmed/alarmed.py
:: Starting alarmed GUI
Traceback (most recent call last):
File "/opt/alarmed/alarmed.py", line 91, in <module>
import alarmed_gui
File "/opt/alarmed/alarmed_gui.py", line 9, in <module>
from PySide import QtCore, QtGui, QtMaemo5
ImportError: /usr/lib/python2.5/site-packages/PySide/QtCore.so: undefined symbol: _ZN6PySide18DynamicQMetaObject13createBasedOnEP7_o bjectP11_typeobjectPK11QMetaObject
Anybody have any idea on how to fix this?

tmarinos 2010-06-28 07:42

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Does anyone have a script that would set my availability to "online" at say 8am every morning?

evad 2010-06-28 13:39

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

Originally Posted by tmarinos (Post 732267)
Does anyone have a script that would set my availability to "online" at say 8am every morning?

Try that: http://wiki.maemo.org/Phone_control#Set_presence


All times are GMT. The time now is 18:21.

vBulletin® Version 3.8.8