VorlonCD / bi-aidetection

Alarm system for Blue Iris based on Artificial Intelligence.
https://ipcamtalk.com/threads/tool-tutorial-free-ai-person-detection-for-blue-iris.37330/
GNU General Public License v2.0
203 stars 45 forks source link

Multiple URLs in Trigger Actions fail #230

Closed xanthos84 closed 3 years ago

xanthos84 commented 3 years ago

hi, I am using the AiTool for a long time now,

but after update with version AITool-VorlonCD-v2.0.1014

the Trigger URLs in Actions do not work correct anymore,

if you enter multiple URLs - sometimes only one, sometimes none trigger.

Can you please check this?

Tinbum1 commented 3 years ago

I'd update to latest version and try that.

VorlonCD commented 3 years ago

I dont think its AITOOL, I had some delayed triggers happening with the last few BI builds. Perhaps try disabling firewall if the latest version doesnt work?

xanthos84 commented 3 years ago

Firewall is not active, so that does not change anything.

I changed now the trigger from AITool into BI with the actions as a webrequest, so I have only one trigger left in AITool and thats working for now.

VorlonCD commented 3 years ago

Can you elaborate? Do you mean you changed code from HttpClient to WebRequest?

And as far as I can tell you only need one BI URL anyway that should do everything? [BlueIrisURL]/admin?trigger&camera=[camera]&user=[Username]&pw=[Password]&flagalert=1&memo=[summary]&jpeg=[ImagePathEscaped]

xanthos84 commented 3 years ago

I do not changed any code - sorry for the misunderstanding.

You are right about the BI URL and how to trigger BI - thats nothing I have changed, that behaviour is working correct. But I am using a Homematic Smart Home system with system variables which are getting triggered/changed with Web Requests by calling an Web API, and originally I included that call within AITool - but now I have moved that call to BI actions.

So nothing AITool related.