I’m testing your code by entering it in the Cron script section, but it doesn’t work for me.
I added the URL before /tstat, (inside the quotes ").
Sorry if the question is stupid, but I’m not sure if I need to add another line of code to the end of the script, or if you meant that Call with Get should be replaced by your last line of code.
This is the complete code I am testing:
var postRequest = Net.WebService(“http://xxx.xxx.xx.xx/api/HomeAutomation.HomeGenie.Automation/90/Control.ArmHome/undefined/tstat”)
var postResult = postRequest.GetData();
(Also tested by removing /tstat from the url)