JSON commands not being set when Alert is triggered

Post Reply
jndathp
Posts: 1
Joined: Fri Jun 28, 2019 9:58 pm

JSON commands not being set when Alert is triggered

Post 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?
Serodgers
Posts: 24
Joined: Sat Jun 22, 2019 3:57 am

Re: JSON commands not being set when Alert is triggered

Post 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
User avatar
TimG
Posts: 2175
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: JSON commands not being set when Alert is triggered

Post 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.
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply