Re: [mh] Geofencing from iOS integration?

Giles Godart-Brown <[email protected]> Thu, 21 Dec 2023 18:28:05 +0000
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8292770275875997253==
Content-Type: multipart/alternative;
 boundary="------------o34RBqYCulYzwtgfjsMD2lyn"
Content-Language: en-GB

This is a multi-part message in MIME format.
--------------o34RBqYCulYzwtgfjsMD2lyn
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Yes, its working for me too, but via another web server, not directly 
into MH
Giles

On 21/12/2023 18:22, Jon Boehm wrote:
> Hi Timothy
>
> Thanks for the reply. Locative was a good call.  At first I wasn't 
> sure it was going to work because my apache config does some funky 
> proxy-forwarding and SSL encryption.  I couldn't get a test command to 
> work from the Locative Setting screen. The Locative notification said 
> it did work but my apache and MH logs proved it was being blocked.  I 
> can't explain what changed but after a few crossing of the geofence 
> line, and maybe some changes to permissions in iOS, all the sudden I 
> was getting fence crossing notifications. Low-and-behold MH started 
> receiving the notifications on this new set of events. MH is still 
> complaining about the extra location payload and I can't seem to tell 
> Locative to not append this info but that is minor as I can trigger 
> stuff in MH now!!! :-)
>
> Thank you for the pointer!!
>
> On Mon, Dec 18, 2023 at 11:55 AM Timothy Spaulding 
> <[email protected]> wrote:
>
>     Hi,
>
>     Take a look at Locative. It can call an URL to send depart/arrive
>     messages to which you could code MH to receive/handle.
>
>     *From:* Jon Boehm <[email protected]>
>     *Sent:* Monday, December 18, 2023 12:46 PM
>     *To:* The main list for the MisterHouse home automation program
>     <[email protected]>
>     *Subject:* [mh] Geofencing from iOS integration?
>
>     Hi,
>
>     How is everyone doing geofencing from an iPhone with misterhouse?
>
>     For a decade now, I had been having every member of my house have
>     a rule in the Find My app to send email leave/arrival messages to
>     a misterhouse-only private gmail account. On my server Thunderbird
>     monitors the gmail account. When Thunderbird saw a leave/arrive
>     email show up it passed the info to misterhouse via a bash script.
>
>     This all broke a few weeks ago when appropriately Apple broke or
>     disabled email geofencing messages.
>
>     What is the correct way of doing this with Misterhouse?
>
>     thanks,
>
>     Jon
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>

--------------o34RBqYCulYzwtgfjsMD2lyn
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font size="4" face="Calibri">Yes, its working for me too, but via
      another web server, not directly into MH<br>
      Giles<br>
    </font><br>
    <div class="moz-cite-prefix">On 21/12/2023 18:22, Jon Boehm wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL7eZUV1A=ggzDVDv_S1r7+GbG2LmEbAKkzXf6DgpnQ-z7TGnw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Timothy
        <div><br>
        </div>
        <div>Thanks for the reply. Locative was a good call.  At first I
          wasn't sure it was going to work because my apache config does
          some funky proxy-forwarding and SSL encryption.  I couldn't
          get a test command to work from the Locative Setting screen. 
          The Locative notification said it did work but my apache and
          MH logs proved it was being blocked.  I can't explain what
          changed but after a few crossing of the geofence line, and
          maybe some changes to permissions in iOS, all the sudden I was
          getting fence crossing notifications. Low-and-behold MH
          started receiving the notifications on this new set of events.
          MH is still complaining about the extra location payload and I
          can't seem to tell Locative to not append this info but that
          is minor as I can trigger stuff in MH now!!! :-)</div>
        <div><br>
        </div>
        <div>Thank you for the pointer!!</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Dec 18, 2023 at
          11:55 AM Timothy Spaulding &lt;<a
            href="mailto:[email protected]" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <div lang="EN-US">
              <div>
                <p class="MsoNormal">Hi,</p>
                <p class="MsoNormal"> </p>
                <p class="MsoNormal">Take a look at Locative. It can
                  call an URL to send depart/arrive messages to which
                  you could code MH to receive/handle.</p>
                <p class="MsoNormal"> </p>
                <div
style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
                  <p class="MsoNormal"><b>From:</b> Jon Boehm &lt;<a
                      href="mailto:[email protected]" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">[email protected]</a>&gt;
                    <br>
                    <b>Sent:</b> Monday, December 18, 2023 12:46 PM<br>
                    <b>To:</b> The main list for the MisterHouse home
                    automation program &lt;<a
href="mailto:[email protected]" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">[email protected]</a>&gt;<br>
                    <b>Subject:</b> [mh] Geofencing from iOS
                    integration?</p>
                </div>
                <p class="MsoNormal"> </p>
                <div>
                  <p class="MsoNormal">Hi,</p>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal">How is everyone doing
                      geofencing from an iPhone with misterhouse?  </p>
                  </div>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal">For a decade now, I had been
                      having every member of my house have a rule in the
                      Find My app to send email leave/arrival messages
                      to a misterhouse-only private gmail account. On my
                      server Thunderbird monitors the gmail account. 
                      When Thunderbird saw a leave/arrive email show up
                      it passed the info to misterhouse via a bash
                      script.</p>
                  </div>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal">This all broke a few weeks ago
                      when appropriately Apple broke or disabled email
                      geofencing messages. </p>
                  </div>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal">What is the correct way of
                      doing this with Misterhouse?</p>
                  </div>
                  <div>
                    <p class="MsoNormal"> </p>
                  </div>
                  <div>
                    <p class="MsoNormal">thanks,</p>
                  </div>
                  <div>
                    <p class="MsoNormal">Jon</p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">________________________________________________________
To unsubscribe from this list, go to: <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/misterhouse-users">https://lists.sourceforge.net/lists/listinfo/misterhouse-users</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------o34RBqYCulYzwtgfjsMD2lyn--


--===============8292770275875997253==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8292770275875997253==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users


--===============8292770275875997253==--