<div dir="auto">At the moment, the only way to detect if the car is drive able or charging is the 12v voltage. If the 12v voltage >13v the vehicle is charging or drive able. <br><br>Von meinem Huawei-Telefon gesendet</div><div style="line-height:1.5"><br><br>-------- Ursprüngliche Nachricht --------<br>Von: Michael Balzer <dexter@expeedo.de><br>Datum: So., 2. Aug. 2020, 20:12<br>An: ovmsdev@lists.openvehicles.com<br>Betreff: Re: [Ovmsdev] Polling keeps car awake (VW e-Up at least)<br><blockquote><div>
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>Am 02.08.20 um 19:30 schrieb Soko:<br />
</div>
<blockquote>
<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></fieldset>
<pre>_______________________________________________
OvmsDev mailing list
<a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br />
<pre>--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
</div>
</blockquote></div>