This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Backup completed on Windows PC? Call Homey by running an executable!

SneeuwvosSneeuwvos Unconfirmed, Member
Hi guys,

I have created an executable (created with AutoHotKey scripting) so you can let Homey know your backup is succesful (or failed).

1. Plugin required:
HTTP request flow cards @ https://apps.athom.com/app/com.internet

2. Create a flow:



3. Download link for AutoHotKey script:
OR
3. AutoHotKey source code if you want to compile your self:
------------------
openUrlHidden.ahk:
Url = %1%
whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("GET", Url, true)whr.Send() whr.WaitForResponse()
------------------

3. Call from your backup program:
openUrlHidden.exe https://YOURHASHHERE.homey.athom.com/api/app/com.internet/backup_successful

4. You are done!
Your homey will turn green when your backup software has finished.


NOTE: If you run openUrlHidden.exe without any parameters it will give a debug window. Don't do that because you should always run it with an URL as parameter. Have fun!
Sign In or Register to comment.