Pebble Smartwatch Controls Your Mac and iPad
Are you looking for the process of controlling you Mac and iPad in Pebble Smartwatch? Read this post and grab cool workflow ideas for Mac and iPad controlling process that figured out by Coder Joseph Schmitt.
No doubt, Pebble Smart-watch is an outstanding, but shouldn’t connect you with your computer perfectly. It is possible to get out from Pebble, thought Coder Joseph Schmitt and he figured out a way to introduce websites on his computer from the watch.
His process is quite complicated and utilized Command C, an iPad, and Keyboard Maestro to process of sending a link from the Pebble to the Mac. Let’s move to the post and look at the process of how to controls pebble smart watch to Mac and iPad.
First of all, use the Smartwatch+ Pebble app and its HTTP Request in order to call a URL on your phone
You will find that URL points to a Mac mini server and especially to a public Keyboard Maestro macro.
The Keyboard Maestro macro that shown in video responds to that URL by initiating Safari and typing Cmd+1
The first bookmark is triggered by the Cmd+1 keyboard shortcut in the bookmarks bar that is Federico's javascript bookmarklet
The URL of the current page is grabbed by the bookmarklet and then, calls the URL scheme for Command-C, with the current page's URL as a parameter
Now, the Command-C beams that URL over Bluetooth to Command-C on my iPad.
Command-C for iPad automatically opens it in Safari upon getting the URL
With this, we can imagine that a smart watch, HTTP, a server, a macro engine, Bluetooth, and a tablet are also involved little gimmick in it.
If you not enjoying hacking around with unstable pieces of technology, then it is not advisable to try this and especially, you don’t have things like:
knowledge of HTML and how the Webkit Inspector works
free time for the inevitable de-bugging
A router with some ports opens that forward to said Mac.
$42.98 of spare cheddar to spend on Keyboard Maestro, Smartwatch+ and Command-C.
If you have all such things, then below is process that you can do:
Firstly, you have to open your iPhone1 and install Smartwatch+ from the Apps category
Now, install the Smartwatch+ companion app from Apple Store that costs you $2.99.
After that, you have to open up the Smartwatch+ app on your phone.
In the next step, you have to drag the HTTPRequest Screen item up to "Enabled Watch Screens"
Now, you have to go to the HTTPRequest Screen option and tap the plus button to affix a new request
In next step, you have to install Keyboard Maestro on your Mac that costs you $36
Now, open the Keyboard Maestro, go to Preferences >> Web Server, and enable it
After that, you have to choose an open port on your network for Keyboard Maestro to run on
Setup your router and Mac to publicly reachable outside your network and get back to Keyboard Maestro to add a new Macro
For "Triggered by any of the following", you have to either set it to or add "The public web entry is executed".
Run what you want to occur in "Will execute the following actions" option and save your Macro.
After that, you have to open your web browser and enter in the web address in order to access your computer from, together with the port you chose for Keyboard Maestro.
Now, the hacky part comes in which you have to choose a Macro from the Public Macros dropdown, and a URL is called, i.e. http://your-server:4490/action.html?macro=MACROID. Where do you get this MACROID value?
If you want to inspect the dropdown and want to take a look at the HTML then notice the dropdown is a <select> element with a bunch of <option> elements. One can find a label (the name of the macro) and a value on each <option> element. Such value attribute is what you are looking for. Now, you have to copy that and put it as the macro parameter in the URL
After that, catch this complete URL and send it on over to your device and paste the URL into the URL field in Smartwatch+ on your phone, give it a name and save it.
At last, you have to trigger one-off Macro's from your Pebble. It would be helpful for those people, who have a Mac mini server that runs headless.
To Know More About iPad Application development Click:http://www.perceptionsystem.com/custom-apple-ipad-application-development-india.html