Page 1 of 1

JSON commands not being set when Alert is triggered

Posted: Fri Jun 28, 2019 10:04 pm
by jndathp
From a browser, I can issue http://192.168.0.2/JSON&request=runevent&id=281 and my home automation program accepts the command and the event is run.

When I try to have BI run the command under Alerts by testing the JSON command or by having it trigger from motion, nothing.

Is anyone else experiencing this problem?

Re: JSON commands not being set when Alert is triggered

Posted: Sun Jun 30, 2019 1:47 am
by Serodgers
I am still on BI 4 but you are missing a ? After the JSON. Not sure is Homeseer will reject that when sent from a different machine.




Sent from my iPad using Tapatalk

Re: JSON commands not being set when Alert is triggered

Posted: Sun Jun 30, 2019 10:12 am
by TimG
Hi,

My BI5 json commands to turn Homeseer Pro 3 lights on when BI5 detects motion look like this, and they are working:

192.168.0.2/JSON?request=controldevicebyvalue&ref=222&value=100

Hmm, you didn't put the "http://" bit in did you ? That part is already in the selector http/https/MQTT to the left of where your command goes, so it may well be confusing things.