Turn on your PC VIA MMS - Raspberry Pi Forums
hi ! first want sorry poor english , thank guys : viewtopic.php?t=61699&p=459502 how helped me !
yeah, better way in opinion.
first of all, make work need have access mms. every cellphone contract give acess mms. send mms need 3g activated if not count data entry.
contract din't gave me data found way on web site https://www.kirsle.net/blog/entry/andro ... thout-data disable 3g else mms. hope it's usefull you
need autorize pc wakeonlan. part depends mobo , os
there go. running script on xbmc server , raspberry pi can handle out problem.
have 2 script, actual script , 1 launch actual script @ startup , relaunch script if crashes.
first bash scrip goes :
yeah launch other script , relaunch when needed. had line make work
there other script need after configure gmail acount.
first sure autorize conection of unsecure sources
create label named want
create filter redirect e-mail send cell phone label
boot, add contact in cellphone when email adress , type correct thing email go right label
in case, e-mail go 'boot' label if message send form cellphone , contain word 'boot'
works every time !
share because used lot of doc , how works now, hope can you.
if have question or want me clarify tell me, bad @ making post , know won't offenced !
have fun
yeah, better way in opinion.
first of all, make work need have access mms. every cellphone contract give acess mms. send mms need 3g activated if not count data entry.
contract din't gave me data found way on web site https://www.kirsle.net/blog/entry/andro ... thout-data disable 3g else mms. hope it's usefull you
need autorize pc wakeonlan. part depends mobo , os
there go. running script on xbmc server , raspberry pi can handle out problem.
have 2 script, actual script , 1 launch actual script @ startup , relaunch script if crashes.
first bash scrip goes :
code: select all
#!/bin/bash until yourscriptpath; echo "what ever message want" >> want save log sleep 1 done
think script must in /etc/init.d/ not sure that, followed guide http://www.cyberciti.biz/tips/linux-how ... ts-up.htmli) setup executable permission on script:
# chmod +x /etc/init.d/scriptname
ii)make sure script executed every time debian linux system boot up/comes up
# update-rc.d scriptname defaults 100
there other script
code: select all
#!/usr/bin/python # # boot pc mms # dabless # # lemmings-rules@hotmail.fr questions # # import imaplib, re, time, os username = '' # add gmail username password = '' # add password, suggest make gmail # script, if don't forget allow low security conection label = '' # chose label mail_check_freq = 5 # can change this, it's in second. while true: test = true try: server.check() except: test= false . server = imaplib.imap4_ssl('imap.gmail.com') #connect server server.login (username,password) #log server server.select(label, readonly=false) #pick label while test : unseenstr = server.status('boot', '(unseen)')[1][0] unseen = unseenstr[-2:-1] print (unseen) # trace unseen = int(unseen) if unseen > 0 : os.system("wakeonlan youradressmac") server.store("1:*",'+x-gm-labels', '\\trash') server.expunge() time.sleep(mail_check_freq)
first sure autorize conection of unsecure sources
create label named want
create filter redirect e-mail send cell phone label
boot, add contact in cellphone when email adress , type correct thing email go right label
in case, e-mail go 'boot' label if message send form cellphone , contain word 'boot'
works every time !
share because used lot of doc , how works now, hope can you.
if have question or want me clarify tell me, bad @ making post , know won't offenced !
have fun
raspberrypi
Comments
Post a Comment