Send Blue Iris request from webcore


#1

1) Give a description of the problem
Have a camera that does not behave and want it to go to a preset every 30 min

2) What is the expected behaviour?
When piston runs it goe to a preset

3) What is happening/not happening?
When I run 192,168.158.■■■:81/admin?camera=BNGAR&preset=1 in a browser it works but can’t get it to run in Webcore. I have tried putting in the login and password option and nothing happens. Again everything works in a browser. Now the question is how do I put it in a piston right now I am just doing a make a post request I have tried using a post and get. JSON and value.

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

The difference between running in a browser window and running in webcore is webcore is actually running in the cloud so it becomes an external call. If you have a firewall preventing the call to get through or you do not provide the correct credentials you will not get what you expect.

Try, after your get request, logging the value of $response or store it in another string variable. When you examine this value, you might see the response indicating a login required or some other error which can help you determine the problem.


#3

Found a work around and works great. In the advanced webserver if you put a ^ in front of the IP of your hub you don’t need to use any security


#4

Sounds interesting. Does that open your hub to attack if they can guess your IP address?


#5

No because the hub isbstill secure. It is only the connection between thr hub and BI. And by the way i have a Firewalla. If you dont have one you should look into it. Firewallla.com