PDA

View Full Version : IDEA - wikimaemo alarmed info page


fraaaaanka
03-09-2011, 07:33 PM
hi all,
i have alarmed installed and currntly use if for witching to silent befoe i arrive at work and general when i finish work.

i dont have the know how to create code to do certain things so would it be an idea for someone to create a wiki page which contains all codes people have created and tested as working so that we can all use them?

I know there is an alarmed thread which which probably contains lots of different codes but theres a lot of chat so a comprehensive list in one easy viewable format as wikimaemo would be brilliant!!!

this would really open up the power of our N900 to novice users!!!

jedi
03-10-2011, 06:15 AM
Errrr, the idea of a wiki is that anyone in the community can contribute.

Go to http://wiki.maemo.org/ . Create an account (it's a pain, but talk.maemo.org and wiki.maemo.org use different user databases) then to create your page just go to something like http://wiki.maemo.org/Alarmed and you'll be prompted to create the new page.

The code that the Wiki uses is extremely well documented and is very easy to get into. Just claiming that you don't know it is no excuse - now is the time to learn :)

x-lette
03-10-2011, 06:24 AM
What kind of code are you talking about? If you want to list commands one could issue using alarmed's 'command execution' option you can just visit the existing wiki pages for DCEW or QBW, there's no need to open up a new page.

fraaaaanka
03-10-2011, 01:24 PM
@ Jedi - Yes I was being lazy but will look into it when I get chance.
@x-lette - checked out http://wiki.maemo.org/Desktop_Command_Execution_Widget_scripts and it looks too complicated for me to start to get my head around.

What I am thinking is a list of commands and descriptions of what the command will do. ie

Timed Radio 1
This command will turn on streaming Radio 1 using internet. Using Alarmed you can define the time Radio1 starts playing and thus use your N900 as an radio alarm clock.
dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:http://www.bbc.co.uk/radio/listen/live/r1.asx > /dev/null

That way there is a single list of all commands and what they do.

x-lette
03-10-2011, 02:22 PM
@x-lette - checked out http://wiki.maemo.org/Desktop_Command_Execution_Widget_scripts and it looks too complicated for me to start to get my head around.

What I am thinking is a list of commands and descriptions of what the command will do. ie [...] That way there is a single list of all commands and what they do.
The given list in wiki does exactly what you want. Explanations are sometimes a bit short but as you are acting on a quite low level (at least when doing sthg like enable/disable radio) you should first learn about the commands and possible effects.

But I see that there are different targets: DCEW as well as QBW are more kind of button-like commands and one liners to get things done quickly. In opposition to them alarmed might trigger more complex commands which will be executed an a regularly base, like playing radio station for wakeup. Nevertheless, the existing wiki pages are a good start and if you don't feel satisfied with that, you just might open up a new page and start with your own template for commands and description.

Given you define exactly the purpose of that page and difference to already existing pages you might have chances to get it filled by other users too. :)

fraaaaanka
03-10-2011, 05:14 PM
Ive created a wiki.maemo page for this idea so if anyone knows any codes please add them in. you can view the page here: http://wiki.maemo.org/ALARMED_Commands_List

Thanks

jedi
03-10-2011, 05:16 PM
Ive created a wiki.maemo page for this idea so if anyone knows any codes please add them in. you can view the page here: http://wiki.maemo.org/ALARMED_Commands_List

Thanks

Excellent job :)

x-lette
03-11-2011, 04:43 AM
Ive created a wiki.maemo page for this idea so if anyone knows any codes please add them in. you can view the page here: http://wiki.maemo.org/ALARMED_Commands_List

Thanks
Well done. But please keep the page connected to DCEW-commands wiki so there will be no duplicate copies of same command. :)