Tonight I've received on my app the following message: SEVCON ALERT 0x4582 Safety Case 1 What does it mean? Gianluca Il giorno 29/giu/2014, alle ore 06:00, ovmsdev-request@lists.teslaclub.hk ha scritto:
Send OvmsDev mailing list submissions to ovmsdev@lists.teslaclub.hk
To subscribe or unsubscribe via the World Wide Web, visit http://lists.teslaclub.hk/mailman/listinfo/ovmsdev or, via email, send a message with subject or body 'help' to ovmsdev-request@lists.teslaclub.hk
You can reach the person managing the list at ovmsdev-owner@lists.teslaclub.hk
When replying, please edit your Subject line so it is more specific than "Re: Contents of OvmsDev digest..."
Today's Topics:
1. Re: changing android app server IP (Tom Saxton) 2. Re: changing android app server IP (Lee Howard)
----------------------------------------------------------------------
Message: 1 Date: Sat, 28 Jun 2014 09:28:52 -0700 From: Tom Saxton <tom@idleloop.com> Subject: Re: [Ovmsdev] changing android app server IP To: OVMS Developers <ovmsdev@lists.teslaclub.hk> Message-ID: <CFD43A7E.6BBAD%tom@idleloop.com> Content-Type: text/plain; charset="US-ASCII"
I just downloaded the Android Open Vehicle app and configured it for our Roadster. It gives me an error message that it can't connect and recommends checking my passwords. I've double-checked the passwords and I think they are right.
I don't see anywhere to enter my OVMS server user name, which the iOS app requires. Is that the problem?
Tom
-----Original Message----- From: Mark Webb-Johnson <mark@webb-johnson.net> Reply-To: OVMS Developers <ovmsdev@lists.teslaclub.hk> Date: Saturday, June 28, 2014 at 6:06 AM To: OVMS Developers <ovmsdev@lists.teslaclub.hk> Subject: Re: [Ovmsdev] changing android app server IP
Lee,
Looks good. I merged it, and submitted v3.2.2 to google play.
Regards, Mark.
On 28 Jun, 2014, at 3:44 am, Lee Howard <lee.howard@mainpine.com> wrote:
On 06/27/2014 10:38 AM, Lee Howard wrote:
On 06/26/2014 08:38 PM, Tom Saxton wrote:
Arguably the server account should be per-vehicle but I'm guessing the thought was that anyone who has multiple OVMS vehicles will have them all on the same server and making that app-wide means you only have to enter username, password and server IP once.
Of course none of this is any help for figuring out how to do it on Android...
As I dug-into the Android code better to hard-code the address change I discovered - to my delight - that the app server address is stored in a per-car data object. Yay! So this is nice. I'm going to give this another shot.
Here is the patch. Someone with privs can apply it and commit these changes to the repository if it meets with their approval.
It's a very small enhancement - basically permitting an interface to sel_server in the CarData object. The interface is right where it should be, IMO: right where you enter the vehicle info and passwords. The default is left to "tmc.openvehicles.com", but the user now has the capability to modify it (on a per-car basis, even).
I did not change the sel_server initialization value of "tmc.openvehicles.com". I could have changed this to "" as with the other CarData strings, but it probably makes little difference. Leaving it to initialize with "tmc.openvehicles.com" possibly it could be confusing to someone later who doesn't recognize that the initialized value is always overwritten by the configured value (as with the other CarData strings which are initialized to ""). If someone cares they can modify that at the top of CarData.java.
This patch also makes one obvious grammatical correction in a string appearing on the same page layout.
If there is any concern just look at the patch - it's a very, very benign set of changes. This e-mail is longer than the patch is.
Thanks,
Lee.
-- *Lee Howard* *Mainpine, Inc. Chief Technology Officer* Tel: +1 866 363 6680 | Fax: +1 360 462 8160 lee.howard@mainpine.com | www.mainpine.com
<ovms-android-editserver.patch>__________________________________________ _____ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
------------------------------
Message: 2 Date: Sat, 28 Jun 2014 10:05:43 -0700 From: Lee Howard <lee.howard@mainpine.com> Subject: Re: [Ovmsdev] changing android app server IP To: ovmsdev@lists.teslaclub.hk Message-ID: <53AEF5E7.1060806@mainpine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I'm using my built .apk instead of the one from Google Play, but my source code is now identical to the one in the git repository.
Mine is working fine for me.
Admittedly, I do get confused about which one is the server password and which one is the module password, and so I just swap them around if I get the password error. Maybe the Android app has the two mixed-up?
As for the app not needing the your account username... I've never needed it on the Android app before. I think that it just uses the car info.
Thanks,
Lee.
On 06/28/2014 09:28 AM, Tom Saxton wrote:
I just downloaded the Android Open Vehicle app and configured it for our Roadster. It gives me an error message that it can't connect and recommends checking my passwords. I've double-checked the passwords and I think they are right.
I don't see anywhere to enter my OVMS server user name, which the iOS app requires. Is that the problem?
Tom
-- *Lee Howard* *Mainpine, Inc. Chief Technology Officer* Tel: +1 866 363 6680 | Fax: +1 360 462 8160 lee.howard@mainpine.com | www.mainpine.com
------------------------------
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
End of OvmsDev Digest, Vol 29, Issue 73 ***************************************