<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes,<div class=""><br class=""></div><div class="">The issue is that to move to v3 in one giant leap, we would need to change the car firmware, server code, iPhone and Android apps. The user would also have to move everything over to v3 in one go (including ditching all his ovms v2 modules which will never be able to support a v3 server). This approach doesn’t seem a feasible.</div><div class=""><br class=""></div><div class="">So, the v3 architecture abstracts the vehicle model out into standardised metrics (v2 tried this, but didn’t take it far enough due to resource constraints and the limited Tesla Roadster focus of the original project). From there, we can have ovms_server_v2 and ovms_server_v3 components that support sending those same metrics to either v2 or v3 servers (or both). The vehicle support code itself doesn’t care (the protocol modules deal with any translation necessary). This gives us a gradual migration:</div><div class=""><br class=""></div><div class=""><ol class="MailOutline"><li class="">The ovms v3 modules support v2 protocol, so server and apps continue to work as before. This is where we are now <i class="">(or are very close to)</i>.<br class=""><br class=""></li><li class="">We finalise the v3 server, and implement an ovms_server_v3 component to support that new protocol. (not too hard - mqtt, and metrics simply map to mqtt topics).<br class=""><br class=""></li><li class="">We make the apps support v3 protocol. <i class="">(I’m interested in whether we can have a single unified app that runs on both Android and iOS)</i>.<br class=""><br class=""></li><li class="">We then still have the issue of support for ovms v2 modules. That can be addressed in one of two ways:</li><ul class=""><li class="">either have the new app(s) support both protocols</li><li class="">or change the ovms v2 server to act as a bridge to an ovms v3 server (producing metrics from the ovms v2 protocol messages). <i class="">(this is my preferred option).</i></li></ul></ol></div><div class=""><br class=""></div><div class="">To do it this way only requires one more component (ovms_server_v2) in the ovms v3 firmware. It allows us to get something out much quicker than otherwise.</div><div class=""><br class=""></div><div class="">Thanks for the question - good to have the opportunity to clarify this roadmap.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 7 Nov 2017, at 6:40 AM, Michael Balzer <<a href="mailto:dexter@expeedo.de" class="">dexter@expeedo.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">AFAIK the plan is to support v2 servers first, so existing servers and clients do not need to be changed to work with a v3 module.<br class=""><br class="">This is already quite usable: I can attach a v2 app via v2 server to my v3 module and see most of the standard infos.<br class=""><br class="">Having to build a whole new v3 infrastructure first would in fact be much more complicated and would need a lot more time until v3 becomes usable.<br class=""><br class="">v3 servers and clients will not need to support the v2 protocol, unless they want to be able to talk to v2 components.<br class=""><br class="">Regards,<br class="">Michael<br class=""><br class=""><br class="">Am 06.11.2017 um 22:23 schrieb HONDA S-2000:<br class=""><blockquote type="cite" class="">Naive question here...<br class=""><br class="">I see references to v2, v3, and v* - is the design plan to have clients and/or servers support multiple protocols at the same time?<br class=""><br class="">That sounds way more complicated than just keeping v2 and v3 separate so that v3 clients and servers don’t have to support all of v2 if that turns out to be inconvenient. I realize that you’re probably just talking about reusing v2 protocols where prudent, even if v3 won’t be totally compatible, but I wanted to ask so that I’m on the same page.<br class=""><br class="">Brian<br class=""><br class=""><br class="">On Nov 5, 2017, at 4:48 AM, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>> wrote:<br class=""><blockquote type="cite" class="">For <a href="http://send.info" class="">send.info</a>, I think it would be much better if the ovms_server_v* code could work out for itself what needs to be sent. Have a look at MetricModified() that I’ve just committed, as a starting point. (Sorry, I’d started work on that last night, but hadn’t committed yet. Done now.) Suggestion is to put the logic on ovms_server_v* MetricModified() rather than the individual vehicle modules. Things like if the car is turned on we should notify the apps, are universal.<br class=""><br class="">If there are cases where this is vehicle specific, then the <a href="http://send.info" class="">send.info</a> mechanism you suggest is ok; but I still think it better we don’t do this. Remember ovms_server_v3 is going to work differently (individual metrics, rather than groups). So, for vehicle specific cases (in particular for metrics not in metrics_standard.h) this approach is fine, but for standard metrics I suggest we use MetricModified() in ovms_server_v2.<br class=""></blockquote>_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></blockquote><br class="">-- <br class="">Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal<br class="">Fon 02333 / 833 5735 * Handy 0176 / 206 989 26<br class=""><br class=""><br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></div></blockquote></div><br class=""></div></body></html>