Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: ph_geturl1() Issue/Oddity Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>
Super User
Super User

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 722
Posted: February 08 2022 at 13:35 | IP Logged Quote smarty

Not a PH Issues, rather I believe it is a BI webserver issue.

PH 2.2 Beta 3 (latest available):

Summary - Infrared driveway beam zone change (via ElkM1) causes PH to fire a trigger that that runs a PH macro. The macro has a ph_geturl1() formula in it that calls my BlueIris camera system and
causes BI to take a "snapshot" from my cameras. If the PH ph_geturl1() command is properly heard by the BI webserver, it will return certain information (info specific to my BI system, so I know the
ph_geturl1() command was received and acted upon - or so I think....

Issue - I am finding the the ph_geturl1() command periodically fails....but seems to return proper information??? How and why it fails is the mystery.

This is what Blue Iris is seeing in its log Files: These entries are proper and things worked as expected for these recorded entries. It didn't record the entry that will be examined below.

This is what PH sends to my XLobby GUI front end. Note the far right side, that event "datetime" is updated when the beam is violated. This is the event we are looking at in the PH logs below. For
whatever reason, it looks like PH triggered, processed the macro and sent the ph_geturl1() command; and return information was received, but BI didn't process it to perform the requested BI actions.

For reference, this is my PH trigger from the ElkM1 beam zone (zone 4):

This macro has the ph_geturl1() command in question. It is called from another macro that the trigger actually calls.

Here is the line that calls the Blue Iris url. This is what the return should look like:

These next two images are from the PH logs. I have verbose macro and triggers turned on. My main question is: HOW CAN PROPER RETURN INFORMATION BE GOTTEN WHEN THE Blue Iris SYSTEM SEEMS TO NOT SEE THE
COMMAND? Is there something flaky with the ph_geturl1() command? should I be using some other version of it (that's what I am looking into)?

Lastly - unrelated, Question for Dave - any update on the PH elk trigger issues noted here : =1

Not a PH Issues, rather I believe it is a BI webserver issue.

Edited by smarty - February 10 2022 at 14:29

Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum