Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Phone [APP][2.2+] WakeOnSMS Beta 1.0.8 - Not your average Wake On Lan Client

OP crancker

25th November 2012, 05:10 PM   |  #1  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
WakeOnSMS Beta 1.0.8 - Not your average Wake On Lan Client


A simple application to turn on your computer by sending an SMS to the android phone that has this app installed on.

Why you need this?
This is useful when you can't WOL over WAN, or when you don't want to wake anyone at 2am

Quote:

Faq and Install:

The profile name cannot contain spaces so it will be replaced with _

Make sure that you have a wifi router home and, your computer is connected to the router with UTP cable. (It is not possible to wake up computer that uses wifi lan cards)
Configure your computers bios to enable WOL.
Download the .apk to an adnroid phone that runs 2.2+ and install it.
After install create a new profile and enter the required data.
Send an SMS contaiing the Profile name to the phone that has this apk installed on it.

The wifi handling is implemented into the app. When it is enabled and connected to the router, it will wake up your PC.
If the wifi is turned off, then the app will turn it on and tries to connect to your router.
If the phone can't connect to the router after 5 mins the application stops. When your wifi is turned on but it isn't connected to an access point then the phone might be away from your router so the WOL won't start.

If you don't have a dynamic dns and you can only reach you PC by IP address, then send the get-ip command and you will receive a reply sms with the current WAN (Internet) IP address. These texts won't be visible on the phone.

Features:
-Easy to use.
-Multi Profiles
-It needs to be configured only the first time.
-Test function to test the WOL feature.
-Wake on lan triggered by a user defined SMS message,
-The sms containing the “profile name” will only be received by the application.
-If the Wifi is turned off, the app will turn it on and when the magic packets have been sent out, it will be turned off.
-Get your WAN (Internet) by SMS
-Simple log that shows the apps activities.
-If you haven't setup a profile but you know the MACADDRESS of your PC then you can turn it on by sending an sms. Example: Wake:MACADDRESS


More features and bug fixes will be implemented soon.

Note: The app needs to be installed on a phone that can access your routers access point. You just need to send the Profile name to that phone.


Download: http://crancker.com/WakeOnSMS/WakeOnSms_Beta_108.apk
Attached Thumbnails
Click image for larger version

Name:	2012-12-30 02.03.40.jpg
Views:	218
Size:	11.3 KB
ID:	1601919   Click image for larger version

Name:	2012-12-30 02.03.50.jpg
Views:	193
Size:	16.0 KB
ID:	1601920   Click image for larger version

Name:	2012-12-30 02.04.02.jpg
Views:	184
Size:	13.4 KB
ID:	1601921  
Last edited by crancker; 30th December 2012 at 02:46 AM. Reason: changed title and screenshot attached
The Following 2 Users Say Thank You to crancker For This Useful Post: [ View ]
27th November 2012, 08:30 PM   |  #2  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
Changelog
Changelog:

2012/12/30
1.0.8
  • Removed the Magic word idea. Only the Profile name is needed.
  • Added simple logging.
  • Added the command GET-IP. You will receive a reply sms containing the WAN IP
  • Added command WAKE: MACADDRESS. You can now turn on your pc when you know the MACADDRES but you don't have a profile for it.
  • Added the feature enable/disable profiles.
  • Some bugfixes.
2012/12/10
1.0.5
  • Added Profile creation
  • Lot of improvements
  • Minor bug fixes

2012/11/29
1.0.3
  • Added Broadcast IP and PORT calculation.
  • Wifi handling bug fixes
  • Fixed activity hiding when WOL has been initiated
  • Some parts of the source code have been rewritten
  • Minor bug fixes

1.0.1
  • Fixed Wifi handlig when wifi is turned on but notconnected.
  • Fixed Mainactivity to start when phone is locked. Now tha mainactivity won't be visible when phone is unlocked.
  • Incrased the number of the magic packets to sen out to 5. Original was 1.
  • Minor bugfixes
Last edited by crancker; 30th December 2012 at 02:30 AM. Reason: updated changelog
The Following User Says Thank You to crancker For This Useful Post: [ View ]
28th November 2012, 12:42 PM   |  #3  
Junior Member
Thanks Meter: 1
 
3 posts
Join Date:Joined: Nov 2012
Thumbs up Excellent
Hey

Great idea. I have been missing something like this for a long time. Haven't yet had the time to try it out - will next week.
However I would like to offer an idea:
Multiple profiles (so an sms with "WOL1" would wake one computer and "WOL2" would wake another)
alternatively parsing the sms so "WOL 14-76-13-B9-F7-9C" would wake the designated computer

/Jon
The Following User Says Thank You to jon-b For This Useful Post: [ View ]
28th November 2012, 01:15 PM   |  #4  
Jimi Mack's Avatar
Senior Member
Long Island
Thanks Meter: 221
 
782 posts
Join Date:Joined: Mar 2011
I want to give a big thanks for this. I have a 5 yr old you just recently fell in love with Star Wars. I was able to place this app on mine and a spare smartphone I had so my son and I can have Light Saber fights, he is in love with the experience. Thank you again.
28th November 2012, 02:27 PM   |  #5  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by jon-b

Hey

Great idea. I have been missing something like this for a long time. Haven't yet had the time to try it out - will next week.
However I would like to offer an idea:
Multiple profiles (so an sms with "WOL1" would wake one computer and "WOL2" would wake another)
alternatively parsing the sms so "WOL 14-76-13-B9-F7-9C" would wake the designated computer

/Jon

Thanks for the reply Jon. Yes I thought of that already, but first Id like to fix all the bugs I can and also to implement the broadcast ip calculation, so the user only needs to enter the MAC address and the magic word

If you run GB on your phone please let me know the result you encounter. On my GF's phone runs MIUI GB last official, and the settings menu always occures when I send her the "Magic word" On other GB roms I haven't see this bug.

Again thanks for your reply
28th November 2012, 02:58 PM   |  #6  
[V]endetta's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 24
 
284 posts
Join Date:Joined: Jun 2011
More
possible to give guide how to install this??

and this app wake up computer or wifi router?

as i installed this..changed mac address to my computer mac, but still nothing when i press test button...
28th November 2012, 03:09 PM   |  #7  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by [V]endetta

possible to give guide how to install this??

and this app wake up computer or wifi router?

as i installed this..changed mac address to my computer mac, but still nothing when i press test button...

Install the app to a phone that can acces your wifi router (access point). Enter your MAC Address, broadcast IP (That should be 192.168.1.255 if your routers ip is 192.168.1.1) and your WOL port number. That should be 7 or 9. It depends on your routers type. The app acts as a client. When you send the "magic word" to the phone that has this app on it, it will connect to your routers wifi and turn on the comp that has the given MAC. Also configure your comp in the bios to use WOL if it isn't configured yet.

I hope I could help.

Also before the end of the week I will upload the new version that will calculate the broadcast ip and the wol port so you only need to enter the mac and the magic word

PS.: I know my app description is a mess... I will update it soon.
9th December 2012, 01:36 AM   |  #8  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Dec 2012
Layout files not in git repo
Hi crancker, I developed a similar app and I found yours, I was checking your code and you forgot to add the layout files (and all resources) to the GIT repo.

Cheers
Edgar
9th December 2012, 08:16 AM   |  #9  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by edgarinvillegas

Hi crancker, I developed a similar app and I found yours, I was checking your code and you forgot to add the layout files (and all resources) to the GIT repo.

Cheers
Edgar

Hi.

I haven't forgot to add anything. I only committed the manifest end main .jar files. There is no reason to commit unnecessary files -.-

All the classes, functions, implementations can be found in my repo. There is no need to commit the layout... If you want to use my source then your welcome.
10th December 2012, 12:58 PM   |  #10  
crancker's Avatar
OP Member
Thanks Meter: 29
 
80 posts
Join Date:Joined: Sep 2012
Wink
App is now updated. Added profile creation and a lot of improvements

The Following User Says Thank You to crancker For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
sms, tool, wake on lan, wol
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes