<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">First of all please confirm that CFG commands (SPEED, POWER, RECUP, etc.) will work properly with Twizy 45. I've tried them on it and everything <div>In any case I think we have to update twizy documentation at page 26 to be less ambiguous.</div><div>More in general I think guide should be upgraded to provide instructions for both 45 and 80 model. I can try to do it with support.</div><div><br></div><div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="text-align: -webkit-auto; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt;"><b><span style="font-family: 'Trebuchet MS', sans-serif;">G.</span></b></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt;"><b><span style="font-family: 'Trebuchet MS', sans-serif;"><br></span></b></div></div></div></span></div></div></div></div><div><div>Il giorno 28/giu/2014, alle ore 06:00, <a href="mailto:ovmsdev-request@lists.teslaclub.hk">ovmsdev-request@lists.teslaclub.hk</a> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite">Send OvmsDev mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:ovmsdev@lists.teslaclub.hk">ovmsdev@lists.teslaclub.hk</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre"> </span>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre"> </span>ovmsdev-request@lists.teslaclub.hk<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre"> </span>ovmsdev-owner@lists.teslaclub.hk<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of OvmsDev digest..."<br><br><br>Today's Topics:<br><br> 1. Re: changing android app server IP (Christopher Cook)<br> 2. Re: changing android app server IP (Lee Howard)<br> 3. Re: changing android app server IP (Lee Howard)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 27 Jun 2014 12:44:52 +0800<br>From: Christopher Cook <christopher.cook@webprofusion.com><br>Subject: Re: [Ovmsdev] changing android app server IP<br>To: OVMS Developers <ovmsdev@lists.teslaclub.hk><br>Message-ID: <r7evp31xp6nup2wd3sya83eu.1403844292014@email.android.com><br>Content-Type: text/plain; charset=utf-8<br><br>Off topic but long term it would be prudent to investigate the cross platform options for the app, otherwise there's a lot of duplicate work.<br><br>I'd consider HTML/Cordova, Xamarin (and perhaps Xamarin Forms), Titanium Sdk, etc. <br><br>Not saying cross platform doesn't have its challenges but otherwise there's probably not enough dev resources to expect to develop a complete app for all platforms.<br><br>Chris<br><br>Tom Saxton <tom@idleloop.com> wrote:<br><br><blockquote type="cite">On iOS, the App settings is buried in the System Settings app, a terrible<br>UI design. Finally, with iOS 8, there will be a way for apps to send you<br>straight to the app settings. But for now...<br><br>Open the Setting app, then scroll down to the bottom to find a list of<br>apps that use the built-in settings mechanism. You'll find an item for<br>"Open Vehicle". In there you'll find the configuration for your OVMS<br>account, including the server IP address.<br><br>That's also where you can turn the Open Charge Map stuff on/off and where<br>you can override the module's choice for distance and temperature units.<br><br>Arguably the server account should be per-vehicle but I'm guessing the<br>thought was that anyone who has multiple OVMS vehicles will have them all<br>on the same server and making that app-wide means you only have to enter<br>username, password and server IP once.<br><br>Of course none of this is any help for figuring out how to do it on<br>Android...<br><br> Tom<br><br>-----Original Message-----<br>From: Lee Howard <lee.howard@mainpine.com><br>Reply-To: OVMS Developers <ovmsdev@lists.teslaclub.hk><br>Date: Thursday, June 26, 2014 at 4:22 PM<br>To: OVMS Developers <ovmsdev@lists.teslaclub.hk><br>Subject: Re: [Ovmsdev] changing android app server IP<br><br><blockquote type="cite">On 06/11/2014 05:23 PM, Mark Webb-Johnson wrote:<br><blockquote type="cite">I think the 'tmc' server is hard-coded in the Android App.<br><br>The code on github is up-to-date, if anyone wants to take a stab at<br>making it configurable.<br></blockquote><br>I spent a few days getting acquainted with Android development and<br>toying with the OVMS Android app code, loading it onto the Android<br>emulator, etc.<br><br>I couldn't decide where was the best place was to put an "app settings"<br>menu item, and so I caved and downloaded OVMS from the App Store onto my<br>iPad...<br><br><blockquote type="cite">The iOS App has it in the system settings tab.<br></blockquote><br>I don't see it. Is this in unreleased/unpublished code?<br><br>There is the "OVMS Server IP" in the "Parameters" section of the<br>"Control" menu for each configured car. However, I believe that refers<br>to the server IP configured in the car module and not for the app. AND<br>this same section and menu exist on the Android app (after waiting<br>long-enough for it to populate... or getting lucky... I can't figure out<br>which since it often doesn't populate at all).<br><br>Since for each car the app needs to talk to the same server as the car<br>module it would be ideal for changes made to this "OVMS Server IP" in<br>the "Parameters" section to apply to both the IP where the module<br>communicates *AND* to where the app communicates for that car, but since<br>this "Parameters" section doesn't even come up at all until the app can<br>talk to the server and module, I don't think that's how it works,<br>presently, and it would appear to need a lot of effort to get it working<br>in that fashion.<br><br>It would be nice if I could have different car modules talking to<br>different servers and for me to be able to use one app to rule them<br>all. The app would merely talk to different servers for each car.<br><br>Anyway... since my initial interest is in doing server-side and<br>car-module-side developments (and not so much the app-side of things)<br>I'm inclined to just make a hard-coded change to the server IP address<br>in my Android app and move on for the sake of being productive.<br><br>Thanks,<br><br>Lee.<br><br>-- <br>*Lee Howard*<br>*Mainpine, Inc. Chief Technology Officer*<br>Tel: +1 866 363 6680 | Fax: +1 360 462 8160<br>lee.howard@mainpine.com | www.mainpine.com<br>_______________________________________________<br>OvmsDev mailing list<br>OvmsDev@lists.teslaclub.hk<br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br><br></blockquote><br><br>_______________________________________________<br>OvmsDev mailing list<br>OvmsDev@lists.teslaclub.hk<br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote><br>------------------------------<br><br>Message: 2<br>Date: Fri, 27 Jun 2014 10:38:05 -0700<br>From: Lee Howard <lee.howard@mainpine.com><br>Subject: Re: [Ovmsdev] changing android app server IP<br>To: ovmsdev@lists.teslaclub.hk<br>Message-ID: <53ADABFD.4010407@mainpine.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>On 06/26/2014 08:38 PM, Tom Saxton wrote:<br><blockquote type="cite">On iOS, the App settings is buried in the System Settings app, a terrible<br>UI design.<br></blockquote><br>Oh, I see. Thank you. That was very helpful.<br><br>Yes, it is a terrible UI design by Apple on iOS.<br><br>I was going to try to do on Android similar to what had been done on <br>iOS, but since this is so terrible, I'd rather not do it like that.<br><br><blockquote type="cite">Arguably the server account should be per-vehicle but I'm guessing the<br>thought was that anyone who has multiple OVMS vehicles will have them all<br>on the same server and making that app-wide means you only have to enter<br>username, password and server IP once.<br><br>Of course none of this is any help for figuring out how to do it on<br>Android...<br></blockquote><br>As I dug-into the Android code better to hard-code the address change I <br>discovered - to my delight - that the app server address is stored in a <br>per-car data object. Yay! So this is nice. I'm going to give this <br>another shot.<br><br>Thanks,<br><br>Lee.<br><br>-- <br>*Lee Howard*<br>*Mainpine, Inc. Chief Technology Officer*<br>Tel: +1 866 363 6680 | Fax: +1 360 462 8160<br>lee.howard@mainpine.com | www.mainpine.com<br><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 27 Jun 2014 12:44:16 -0700<br>From: Lee Howard <lee.howard@mainpine.com><br>Subject: Re: [Ovmsdev] changing android app server IP<br>To: ovmsdev@lists.teslaclub.hk<br>Message-ID: <53ADC990.5010708@mainpine.com><br>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br><br>On 06/27/2014 10:38 AM, Lee Howard wrote:<br><blockquote type="cite">On 06/26/2014 08:38 PM, Tom Saxton wrote:<br><br><blockquote type="cite">Arguably the server account should be per-vehicle but I'm guessing the<br>thought was that anyone who has multiple OVMS vehicles will have them <br>all<br>on the same server and making that app-wide means you only have to enter<br>username, password and server IP once.<br><br>Of course none of this is any help for figuring out how to do it on<br>Android...<br></blockquote><br>As I dug-into the Android code better to hard-code the address change <br>I discovered - to my delight - that the app server address is stored <br>in a per-car data object. Yay! So this is nice. I'm going to give <br>this another shot.<br></blockquote><br>Here is the patch. Someone with privs can apply it and commit these <br>changes to the repository if it meets with their approval.<br><br>It's a very small enhancement - basically permitting an interface to <br>sel_server in the CarData object. The interface is right where it <br>should be, IMO: right where you enter the vehicle info and passwords. <br>The default is left to "tmc.openvehicles.com", but the user now has the <br>capability to modify it (on a per-car basis, even).<br><br>I did not change the sel_server initialization value of <br>"tmc.openvehicles.com". I could have changed this to "" as with the <br>other CarData strings, but it probably makes little difference. Leaving <br>it to initialize with "tmc.openvehicles.com" possibly it could be <br>confusing to someone later who doesn't recognize that the initialized <br>value is always overwritten by the configured value (as with the other <br>CarData strings which are initialized to ""). If someone cares they can <br>modify that at the top of CarData.java.<br><br>This patch also makes one obvious grammatical correction in a string <br>appearing on the same page layout.<br><br>If there is any concern just look at the patch - it's a very, very <br>benign set of changes. This e-mail is longer than the patch is.<br><br>Thanks,<br><br>Lee.<br><br>-- <br>*Lee Howard*<br>*Mainpine, Inc. Chief Technology Officer*<br>Tel: +1 866 363 6680 | Fax: +1 360 462 8160<br>lee.howard@mainpine.com | www.mainpine.com<br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: ovms-android-editserver.patch<br>Type: text/x-patch<br>Size: 2956 bytes<br>Desc: not available<br>URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20140627/df2a0078/attachment-0001.bin><br><br>------------------------------<br><br>_______________________________________________<br>OvmsDev mailing list<br>OvmsDev@lists.teslaclub.hk<br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br><br><br>End of OvmsDev Digest, Vol 29, Issue 69<br>***************************************<br></blockquote></div><br></div></body></html>