Re: Siglaunchd , dbus and scan the content of incomming SMS
Hi all I resend my last email about siglaunchd. Could anyone please help me ? The best would be to contact the author directly (Tom Haconen), but I have not found his email. Thanks in advance Kimaidou 2009/3/12 kimaidou kimai...@gmail.com Hi lists, I am using *siglaunchd* tool ( 1) . It is a great tool. I already set up some actions (2) wich improve a lot my openmoko usability (nb: the code is in italic in this email) I need your help to trigger the following actions : * Do an action when receiving a sms containing e.G mypasswd. For now, I tried *#on incomming SMS DISPLAY=:0.0 echo test /home/root/Scripts/message.txt=org.freesmartphone.GSM.SMS;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;IncomingMessage; * -- It does not react (no file created) + it lacks content reading * Store each phonenumber for each incomming call (just for testing). For now, I can do *#on incomming call from 00 DISPLAY=:0.0 echo $(date +%Y-%m-%d_%H-%M-%S) /home/root/Scripts/call.txt=org.freesmartphone.GSM.Call;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;CallStatus;arg[1]=incoming * -- pbm here : I do not know how to put the phone number in my echo command. * Change profile from default to silent when the phone is for example face down on a table -- anyway to do this with dbus ? Well, I think this capacity of dbus is a huge space to conquer (for me). We are only limited by our imagination :D Openmoko is great ! Anyway, thanks in advance Kimaidou (1) http://wiki.openmoko.org/wiki/Siglaunchd (2) Here is my /home/root/.siglaunchd.conf (Caution, I am running SHR, last testing ) *#AUX moyen -- dialer DISPLAY=:0.0 /usr/bin/openmoko-dialer=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]0, arg[2]2 #AUX long -- terminal DISPLAY=:0.0 /usr/bin/vala-terminal=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]1 #POWER moyen -- shortom DISPLAY=:0.0 PYTHONPATH=/usr/lib/python2.5/site-packages/shortom shortom-bin=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]0, arg[2]2 #POWER long -- shr-settings DISPLAY=:0.0 /usr/bin/shr-settings=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]1* ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Siglaunchd , dbus and scan the content of incomming SMS
On Mon, Mar 16, 2009 at 3:23 PM, kimaidou kimai...@gmail.com wrote: Hi all I resend my last email about siglaunchd. Could anyone please help me ? The best would be to contact the author directly (Tom Haconen), but I have not found his email. Thanks in advance Maybe you can find his email here: http://projects.openmoko.org/users/tomha/ ;-) gromez ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Siglaunchd , dbus and scan the content of incomming SMS
or go to irc and aks it himself (TAsn) On Mon, Mar 16, 2009 at 3:41 PM, gromez gro...@gmail.com wrote: On Mon, Mar 16, 2009 at 3:23 PM, kimaidou kimai...@gmail.com wrote: Hi all I resend my last email about siglaunchd. Could anyone please help me ? The best would be to contact the author directly (Tom Haconen), but I have not found his email. Thanks in advance Maybe you can find his email here: http://projects.openmoko.org/users/tomha/ ;-) gromez ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Siglaunchd , dbus and scan the content of incomming SMS
Hi lists, I am using *siglaunchd* tool ( 1) . It is a great tool. I already set up some actions (2) wich improve a lot my openmoko usability (nb: the code is in italic in this email) I need your help to trigger the following actions : * Do an action when receiving a sms containing e.G mypasswd. For now, I tried *#on incomming SMS DISPLAY=:0.0 echo test /home/root/Scripts/message.txt=org.freesmartphone.GSM.SMS;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;IncomingMessage; * -- It does not react (no file created) + it lacks content reading * Store each phonenumber for each incomming call (just for testing). For now, I can do *#on incomming call from 00 DISPLAY=:0.0 echo $(date +%Y-%m-%d_%H-%M-%S) /home/root/Scripts/call.txt=org.freesmartphone.GSM.Call;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;CallStatus;arg[1]=incoming * -- pbm here : I do not know how to put the phone number in my echo command. * Change profile from default to silent when the phone is for example face down on a table -- anyway to do this with dbus ? Well, I think this capacity of dbus is a huge space to conquer (for me). We are only limited by our imagination :D Openmoko is great ! Anyway, thanks in advance Kimaidou (1) http://wiki.openmoko.org/wiki/Siglaunchd (2) Here is my /home/root/.siglaunchd.conf (Caution, I am running SHR, last testing ) *#AUX moyen -- dialer DISPLAY=:0.0 /usr/bin/openmoko-dialer=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]0, arg[2]2 #AUX long -- terminal DISPLAY=:0.0 /usr/bin/vala-terminal=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]1 #POWER moyen -- shortom DISPLAY=:0.0 PYTHONPATH=/usr/lib/python2.5/site-packages/shortom shortom-bin=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]0, arg[2]2 #POWER long -- shr-settings DISPLAY=:0.0 /usr/bin/shr-settings=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]1* ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community