<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Great Michael, </div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">Let me know and I'll test the build out. </div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">I have a 2016 AZE0 Nismo JDM Leaf and noticed when I turn it on it throws 2 errors repeatedly on can2 (off or charging it's fine). What's the best way to diagnose the root cause of the errors? </div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">I assume ovms just ignores traffic it does not recognise, and LeafSpy shows a U1000 DTC on Meter that won't clear.</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Fri, 10 Jul 2020 08:55:32 +0800<br>
From: Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" target="_blank" rel="noreferrer">mark@webb-johnson.net</a>><br>
To: OVMS Developers <<a href="mailto:ovmsdev@lists.openvehicles.com" target="_blank" rel="noreferrer">ovmsdev@lists.openvehicles.com</a>><br>
Subject: Re: [Ovmsdev] Wifi setup<br>
Message-ID: <<a href="mailto:CFB768E9-8101-495C-8826-085302DDB0C9@webb-johnson.net" target="_blank" rel="noreferrer">CFB768E9-8101-495C-8826-085302DDB0C9@webb-johnson.net</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
FYI:<br>
<br>
I?ve recently done some work with the esphome system (based on platformio on top of esp idf), for home automation. They don?t seem to trust the ESP libraries identifying the strongest signal (in the case of two APs broadcasting the same SSID). They don?t blindly connect to a SSID, but instead first do a scan to produce an ordered list and then connect to the SSID+AP-MAC-Address of the AP with the strongest signal.<br>
<br>
That approach might help with your other issue (recently raised in mantis).<br>
<br>
Regards, Mark.<br>
<br>
> On 10 Jul 2020, at 5:43 AM, Michael Balzer <<a href="mailto:dexter@expeedo.de" target="_blank" rel="noreferrer">dexter@expeedo.de</a>> wrote:<br>
> <br>
> ? Welcome Derek,<br>
> <br>
> I've got a rework of the wifi component near done that allows to use scanning mode in apclient configuration. I think I can push the changes tomorrow & suggest you'll be my beta tester ;-)<br>
> <br>
> Regards,<br>
> Michael<br>
> <br>
> <br>
> Am 09.07.20 um 20:50 schrieb Derek Caudwell:<br>
>> Hi devs,<br>
>> <br>
>> I recently received the ovms hardware and have been trying to setup the unit so I can solely use the wifi AP+client. In NZ 3G is soon to be sunset and for my needs I don't really need a connection when I'm driving (and want to make sure everything is behaving nicely on the can bus before I do). <br>
>> <br>
>> I realise AP+client brings it limitations however hopefully some of these can be worked around as I want to be able to use the dashboard/plugins as well as the mobile app. I am new to C/ESP32 programming and the code base so I thought it best to ask a few questions before I begin tinkering with it.<br>
>> <br>
>> Ideally I want the unit on loss of connection to an AP to try and find another AP that has been set in the wifi config and connect. The parts I am not too sure are as follows:<br>
>> - on boot the code uses the default wifi ssid, if the default is not available how does the code try and switch to one of the other saved APs?<br>
>> - can multiple APs be saved to the wifi config memory and handled by ESP32? or do they need to be retrieved from ovms config, wifi client details set, try connect and enumerated through?<br>
>> - I assume EventTimer10 is the logical place to add extra code if required to enumerate through APs and try to connect? similar to EventScanWifiDone when in SClient mode<br>
>> - What is the reason scanning mode is unavailable for AP+client mode in auto init, from the ESP32 documentation it appeared to be usable still but with limitations? <br>
>> <br>
>> Thanks in advance for any pointers and background.<br>
>> <br>
>> Cheers Derek<br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> OvmsDev mailing list<br>
>> <a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" rel="noreferrer">OvmsDev@lists.openvehicles.com</a><br>
>> <a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
> <br>
> -- <br>
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<br>
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<br>
> _______________________________________________<br>
> OvmsDev mailing list<br>
> <a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" rel="noreferrer">OvmsDev@lists.openvehicles.com</a><br>
> <a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20200710/b3731e99/attachment-0001.html" rel="noreferrer noreferrer" target="_blank">http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20200710/b3731e99/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank" rel="noreferrer">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
<br>
<br>
------------------------------<br>
<br>
End of OvmsDev Digest, Vol 102, Issue 8<br>
***************************************<br>
</blockquote></div></div>