... using the PushBullet app www.pushbullet.com

PushBullet is a great and free app that allows you to receive instant notifications in your phone, computer, tablet...



We already use it in the Solo to warn of weather changes, and it is easy to have your CloudWatcher windows software send this kind of messages to you.

Assume you want to be notified when the weather becomes UNSAFE.

You just have to copy the following text in a file, and save it with name "WeatherUnsafe.vbs" (be sure to avoid the ".txt" extension if you're using the Notepad). The file has to be placed anywhere in your hard disk - the folder where the CloudWatcher software is installed is a good place.

         The code:


Dim objXmlHttpMain , URL

tit = """Message title"""
bod = """Body of the message"""
key = "your pushbullet key"

strJSONToSend ="{""type"": ""note"", ""title"": " & tit & ", ""body"": " & bod & "}"

URL="https://api.pushbullet.com/v2/pushes"
Set objXmlHttpMain = CreateObject("Msxml2.ServerXMLHTTP")
objXmlHttpMain.open "POST",URL, False
objXmlHttpMain.setRequestHeader "Authorization", "Bearer " & key
objXmlHttpMain.setRequestHeader "Content-Type", "application/json"

objXmlHttpMain.send strJSONToSend

set objJSONDoc = nothing
set objResult = nothing




         Just modify the 3 lines with "tit", "bod" and "key" - it is correct "tit" and "bod" having a pair of triple double quotes each. A lot of quotes.

The "key", of course, refers to the key you'll obtain when registered in PushBullet.com

Now, in the CloudWatcher software, go to the Setup->script section and configure the folder and script name.

Keep in mind, if you have the SOLO, it will send the pushbullet messages directly!

That's it!