![]() |
Re: [Announce] ProfileMatic for Harmattan
Quote:
|
Re: [Announce] ProfileMatic for Harmattan
No, thank you!
I know I've been pestering you for months with this alarm stuff. I hope it has some use for you, too. I know it has for me, thanks again :). |
Re: [Announce] ProfileMatic for Harmattan
Quote:
|
I made a few rules including one 8 + 8 min rule and noticed that if you don't press snooze but let the alarm snooze itself, the snooze time is set by the system default, not the value in PM.
I also realised I might have a use for the extra precision with the alarm rule after all. If this is something that is very easy to do, please consider it. The seconds wouldn't have to show in the Ui in any way. Just that the updateRule method would accept second accuracy and that the rule would execute then. If this is at all tricky, forget about it, because it's not important. |
Re: [Announce] ProfileMatic for Harmattan
No doubt that this is one of the greatest and must-have apps for MeeGo.
It will be much more powerful if there are more conditions that can be set. My immediate thoughts will be adding "Launch application" as new condition and adding time interval between start and end time and/or repeat option under "Time" condition. By having "Launch application" as condition I can activate smartsearch with custom action with script when firing up the Search app and deactivate it when closing it as an example. Also with the time interval between start and end time I can do some specific actions like activating background connection for 5 mins and then deactivate background connection for 15 mins during specific period to save some juicy. Or even I can check if the internet connection is broken with some monitoring data flow (provided that data flow can be monitor in this case of course :)) as the WIFI connection is always broken after some times and didn't notice it until you see a red arrow pointing down in the status bar meaning the email sync is failed or can't load anything from the browser when you fire it up or even wazapp gets disconnected and didn't notice until you want to message someone. Of course I don't know if it is doable but these are just an ideas that hopefully can make our device more "smart" Thxk again for this great app |
Re: [Announce] ProfileMatic for Harmattan
bnwg,
For smartsearch i'm pretty sure that it needs time to (re)build its indexes so just when you open Search app even if it was enabled it would need a few minutes to update its index. So I'm not too sure if its a good idea as you'll be getting old information anyway if its not updated. Checking for WiFi connectivity you can simply write a sh script that pings google every X mins; if it failed then the script itself can disconnect the connection etc... The script can be run as nohup so it would keep running in the background but I'm not too sure if it affects battery consumption too much ;) |
Re: [Announce] ProfileMatic for Harmattan
Quote:
Regarding to the WiFi connectivity, one of the ideas to notice whether the connection is broken and need to be refresh would be using the change of status from wazapp. If the status changed from Online to connecting or offline or close then a script could be executed to refresh the connectivity. I just notice there is one user script that can show the wazapp status from BB thread and I'm learning the code from all those scripts (as I don't know coding ;)). Of course I'm not sure if it will work and even if it's possible to do that but would like to find a way to do some work-around stuff for this annoying bug |
Re: [Announce] ProfileMatic for Harmattan
Quote:
Quote:
- Even the minute precision is not EXACTLY on that minute. Instead in an effort to preserve battery I am using (heartbeat-based) timer, so that the wakeups try to occur on other wakeups of the device. In practice this means that the real timeout can be as much as 30 seconds later than that was set in condition. In light of that, setting precision by second doesn't make much sense. - The other problem is that changing the current behavior could have unexpected side-effects. So I wouldn't want to change it without a good reason. |
Re: [Announce] ProfileMatic for Harmattan
Quote:
And thank you for the comments. I do have some ideas how to implement the interval for time condition. Unfortunately not any concrete ideas about "application launched condition". But I do not know when or if either of these things will come to fruition. I have no immediate plans for them at least for the moment, as the "plate is full" in regards to my free time for at least until autumn. As a workaround, I think the interval time condition could be implemented by doing some ingenious scripting like slarti has done here http://talk.maemo.org/showpost.php?p...postcount=1028 |
Re: [Announce] ProfileMatic for Harmattan
Quote:
Quote:
You're right, not much sense in the extra precision. Quote:
Quote:
Seriously, though, I was thinking about a script that would take seconds as an argument and would set an alarm with that using some ProfileMatic magic. This would make it possible to make 'shortcuts' on the desktop to some timers. That same logic could be used to make a script that would just update a rule to execute 15 minutes later from now. Then put that script as a custom action in the same rule it's updating thus creating a loop that repeats every 15 minutes. Of course, the script could do other things when executed or could be placed in another script. I've read that you can install cron on the N9, too, although there are some permission problems. That might be an alternative way to go. The stupid thing about all this is that the timed daemon was supposed to be a cron replacement but it wasn't documented at all and seems almost impossible to use from the command line. There is an add_events dbus method for it but no one seems to know how to use it. |
| All times are GMT. The time now is 22:02. |
vBulletin® Version 3.8.8