<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I think the server should have a role in this, mostly in the case
    that more than one device is "joined" to the same car.<br>
    Let me explain a little more the scenario:<br>
    Let's say there are 2 devices registered for the same car (a
    smartphone and a tablet) and one of them (my phone, for instance) is
    in the car with me while the tablet is on my desk at home.<br>
    When car starts the phone make the right decision (car is properly
    used) while the tablet makes the wong one (car is probably stolen).
    How we can resolve this?<br>
    All the solution I've taken into account are based upon "awareness"
    (each app should be aware of the others) and in this the server (or
    the communication protocol) has a role.<br>
    Some alternativees:<br>
    1) each app knows the others position and the rule is "all app
    positions are incompatible with cvar position" (some privacy
    issuese)<br>
    2) the decision is a "party" one: Apps make local decision and
    communicate it to the others (and do nothing if at least one app is
    stating "OK")<br>
    3) there is a "master app" that is the only that makes the decision.<br>
    <br>
    As social aspect, would be nice to have more complex rules based on
    tuple <CarId, CarPosition, DeviceId, DevicePosition> (the
    scenario I suggested on Kids monitoring).<br>
    <br>
    Only one question now, Do OVMS module send a message when car is
    started (for Twizy is the GO position)?<br>
    <br>
    <div class="moz-cite-prefix">Il 03/02/15 03:41,
      <a class="moz-txt-link-abbreviated" href="mailto:ovmsdev-request@lists.teslaclub.hk">ovmsdev-request@lists.teslaclub.hk</a> ha scritto:<br>
    </div>
    <blockquote
      cite="mid:mailman.2764.1422931269.2312.ovmsdev@lists.teslaclub.hk"
      type="cite">
      <pre wrap="">As the server does not know where the App device is, this is more an App 
side feature.

The firmware does not need to be changed because it already supports 
remote stopping of the car by using the LOCK command. You can already do 
that now, but you need to do so manually.

So first step would be a distance alarm, second step would be an 
automatic LOCK on alarm.

Sounds pretty simple... I'll have a look at it.

Regards,
Michael

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <span style="font-size:9.0pt;color:black;"><b>GIANLUCA MAGALOTTI</b><br>
      </span> <span style="font-size:8.0pt;color:#1f4e79;">Cobit® 5 -
        ITIL® v3<br>
      </span> <span style="font-size:8.0pt;color:black;"><b>P: </b></span><span
        style="font-size:8.0pt;color:#1F4E79;">(+39) 3474 3474 25</span><span
        style="font-size:8.0pt;color:black;"> | <a
          href="mailto:gianluca@magalotti.net">gianluca@magalotti.net</a><br>
      </span> <span
        style="font-size:8.0pt;color:#1F4E79;display:block;padding-top:2px;">
        <a href="http://it.linkedin.com/in/gianlucamagalotti"
          style="text-decoration:none;"><img
            src="cid:part2.04000903.07030707@magalotti.net" alt="View
            Gianluca Magalotti's LinkedIn profile" height="24px"
            border="0"></a> <a href="https://twitter.com/aniaclug"
          style="text-decoration:none;"><img
            src="cid:part4.02040303.05090904@magalotti.net" alt="Follow
            @Aniaclug on Twitter" height="24px" border="0"></a> <a
          href="skype:gianluca.magalotti?chat"
          style="text-decoration:none;"><img
            src="cid:part6.05000401.03090504@magalotti.net" alt="Skype:
            gianluca.magalotti" height="24px" border="0"></a> </span></div>
  </body>
</html>