<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Soko,<br>
<br>
polling may keep the car awake, that's also an issue on the Kia
e-Niro IIRC.<br>
<br>
Changing the PollState can only affect the car indirectly via the
changed polls. Maybe you could add your code & a log?<br>
<br>
Regarding the poll replies stopping, is that also reflected in a CAN
log? Maybe the OBD gateway throttles if it sees too many requests?
(Hopefully not…)<br>
<br>
If the gateway does throttling: do you login to the OBD as a
"tester" and keep the session active by periodically sending the
"tester present" frame?<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 02.08.20 um 19:30 schrieb Soko:<br>
</div>
<blockquote type="cite"
cite="mid:e62d94b7-82c2-370f-53cd-fa5e7a60ddaf@soko.cc">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Heya again,</p>
<p>I'm trying to develop a detection for when the car is
off/locked but I'm encountering a weird phenomena:</p>
<ul>
<li>Car is shut down and locked</li>
<li>OVMS connected</li>
<li>CAN poll for voltage (only one poll value active) with 30
secs fails with error (so far nothing weird)</li>
<li>Unlock the car via car-key remote</li>
<li>Poll succeeds and I'm switching from PollState=0 to
PollState=1 where I poll every 2 secs</li>
<li>Lock the car via car-key remote</li>
<li><u>After 1 hour the polls still work and the car is active</u></li>
</ul>
<p>Is something like this known from other vehicles? So basically
my car never shuts down :(</p>
<p>Another secondary weird thing:<br>
When increasing the time to 5 secs for PollState=1 the polls get
no reply and after 20 secs I swap back to PollState=0.<br>
BUT the second the PollState changes the car replies again...<br>
Even more weirdness: When PollState=1 time is 10 secs and I swap
back to Pollstate=0 after 40 secs the same thing happens!
Immediately I swap to PollState=0 the car replies again.<br>
As if the PollState switching somehow wakes the car up??!</p>
<p>Any ideas?</p>
<p>Soko<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</body>
</html>