Hi
After the release of the 3.3.0 version is now possible to lock unlock the car by reducing max speed.
Would be nice if (by feature enabling) ovms could handle automatic lock each time car is parked, forcing an unlock by the app.
Maybe Can be an app feature.
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: Twizy feature ideas (Mark Webb-Johnson)
2. Re: Twizy feature ideas (Nikolay Shishkov)
----------------------------------------------------------------------
Message: 1
Date: Fri, 6 Jun 2014 20:31:29 +0800
From: Mark Webb-Johnson <mark@webb-johnson.net>
Subject: Re: [Ovmsdev] Twizy feature ideas
To: OVMS Developers <ovmsdev@lists.teslaclub.hk>
Message-ID: <49247C68-2B86-467C-A9E8-72E7B1D10629@webb-johnson.net>
Content-Type: text/plain; charset="windows-1252"
Bug squished. Live on tmc now (and pushed to github).
Neat web page. Shows promise.
Regarding the CORS, I?m very willing to make the changes - just not really sure what headers exactly need to be added. Anyone here know what I would need to add?
Regards, Mark.
On 6 Jun, 2014, at 3:03 pm, Michael Balzer <dexter@expeedo.de> wrote:
> Nikolay,
>
> you found an API server bug :-)
>
> Solution: delete all domain cookies for "openvehicles.com" from your browser before using the API.
>
> The API server gets confused by multiple cookies. If you visit www.openvehicles.com before using the API, you get a persistent PHP session cookie like this:
>
> Name SESS619b2b3f204291df32506531f8b446dd
> Host .openvehicles.com
> Pfad /
>
> As the host defines ".openvehicles.com" and path "/", this cookie also gets sent to the API host, which then confuses this one with the "ovmsapisession" cookie, i.e.
>
> Name ovmsapisession
> Host tmc.openvehicles.com
> Pfad /api/
>
> Regards,
> Michael
>
>
> Am 05.06.2014 23:46, schrieb Nikolay Shishkov:
>> Thanks Michael,
>> I am getting "login ok" when pressing on the login button, but then all the other buttons are giving "authentication error" message.
>> I could check that the cookie is sent with the request, but the server seems to respond with the 400 code.
>> I tried in Chrome. Where, how do you use the page?
>> Nikolay
>>
>>
>> On Thursday, June 5, 2014 10:59 PM, Michael Balzer <dexter@expeedo.de> wrote:
>>
>>
>> Nikolay,
>>
>> that's right, I intend to get this running without an otherwise necessary proxy, i.e. for local HTML pages on mobile devices or the like. I've been in contact with Mark about CORS on the perl server.
>>
>> A server could of course be used, most simply the HTTP API itself could deliver the client page, but CORS should now enable to cope without and open possible cross origin data/control integrations. Not sure about static pages for this though, not yet tested. I think it would be cool to just load some HTML file in your browser and have a graphical OVMS client.
>>
>> The "code" is currently just a first test bed HTML page to interact with the HTTP API. No graphics, just a simple table view. Works, but is clumsy as hell.
>>
>> Try yourself, I've attached it.
>>
>> Regards,
>> Michael
>>
>>
>> Am 05.06.2014 11:26, schrieb Nikolay Shishkov:
>>> Hi Michael,
>>>
>>> I am very interested in the "Browser client using HTTP API and jQuery/Flot for visualization". From the comment that CORS is needed I suspect you want to have the html5 page locally and then fetch data from the server while using other sources for context data.
>>> Have you considered running this on a separate server that serves as a gateway to the TMC server?
>>>
>>> Have you uploaded the code somewhere?
>>>
>>> I have been playing around with C# client and was thinking of using it on an asp.net server...
>>>
>>> Nikolay
>>>
>>>
>>> On Wednesday, June 4, 2014 11:22 PM, Michael Balzer <dexter@expeedo.de> wrote:
>>>
>>>
>>> Am 04.06.2014 07:38, schrieb Gianluca Magalotti:
>>> > For nice2have features I'll wait for your list (I have my personal
>>> > list too but maybe we'll have a later focus on that)
>>>
>>> So here it is.
>>>
>>> If other Twizy drivers would like to add their ideas, you're welcome.
>>>
>>> I'll do my best to check new ideas against my collected knowledge of
>>> what's possible up to now and give you some feedback.
>>>
>>>
>>> Regards,
>>> Michael
>>>
>>>
>>> --
>>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>> --
>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>>
>> _______________________________________________
>> 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
>
>
> --
> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
> _______________________________________________
> OvmsDev mailing list
> OvmsDev@lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20140606/f06979ad/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 6 Jun 2014 15:42:41 -0700 (PDT)
From: Nikolay Shishkov <nshishkov@yahoo.com>
Subject: Re: [Ovmsdev] Twizy feature ideas
To: OVMS Developers <ovmsdev@lists.teslaclub.hk>
Message-ID:
<1402094561.72475.YahooMailNeo@web141203.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="utf-8"
I believe the following two headers should do it:
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
But needs to be tested.
On Friday, June 6, 2014 2:31 PM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
Bug squished. Live on tmc now (and pushed to github).
Neat web page. Shows promise.
Regarding the CORS, I?m very willing to make the changes - just not really sure what headers exactly need to be added. Anyone here know what I would need to add?
Regards, Mark.
On 6 Jun, 2014, at 3:03 pm, Michael Balzer <dexter@expeedo.de> wrote:
Nikolay,
you found an API server bug :-)
Solution: delete all domain cookies for "openvehicles.com" from your browser before using the API.
The API server gets confused by multiple cookies. If you visit www.openvehicles.com before using the API, you get a persistent PHP session cookie like this:
Name??? SESS619b2b3f204291df32506531f8b446dd
Host??? .openvehicles.com
Pfad??? /
As the host defines ".openvehicles.com" and path "/", this cookie also gets sent to the API host, which then confuses this one with the "ovmsapisession" cookie, i.e.
Name??? ovmsapisession
Host??? tmc.openvehicles.com
Pfad??? /api/
Regards,
Michael
Am 05.06.2014 23:46, schrieb Nikolay Shishkov:
Thanks Michael,?
>I am getting "login ok" when pressing on the login button, but then all the other buttons are giving "authentication error" message.?
>I could check that the cookie is sent with the request, but the server seems to respond with the 400 code.?
>I tried in Chrome. Where, how do you use the page?
>Nikolay
>
>
>
>On Thursday, June 5, 2014 10:59 PM, Michael Balzer <dexter@expeedo.de> wrote:
>
>
>
>Nikolay,
>
>that's right, I intend to get this running without
an otherwise necessary proxy, i.e. for local HTML
pages on mobile devices or the like. I've been in
contact with Mark about CORS on the perl server.
>
>A server could of course be used, most simply the
HTTP API itself could deliver the client page, but
CORS should now enable to cope without and open
possible cross origin data/control integrations. Not
sure about static pages for this though, not yet
tested. I think it would be cool to just load some
HTML file in your browser and have a graphical OVMS
client.
>
>The "code" is currently just a first test bed HTML
page to interact with the HTTP API. No graphics,
just a simple table view. Works, but is clumsy as
hell.
>
>Try yourself, I've attached it.
>
>Regards,
>Michael
>
>
>
>Am 05.06.2014 11:26, schrieb Nikolay Shishkov:
>
>Hi Michael,?
>>
>>
>>I am very interested in the "Browser client using HTTP API and jQuery/Flot for visualization". From the comment that CORS is needed I suspect you want to have the html5 page locally and then fetch data from the server while using other sources for context data.?
>>Have you considered running this on a separate server that serves as a gateway to the TMC server?
>>
>>
>>Have you uploaded the code somewhere?
>>
>>
>>I have been playing around with C# client and was thinking of using it on an asp.net server...
>>
>>
>>Nikolay
>>
>>
>>
>>On Wednesday, June 4, 2014 11:22 PM, Michael Balzer <dexter@expeedo.de> wrote:
>>
>>
>>
>>Am 04.06.2014 07:38, schrieb Gianluca Magalotti:
>>> For nice2have features I'll wait
for your list (I have my personal
>>> list too but maybe we'll have a
later focus on that)
>>
>>So here it is.
>>
>>If other Twizy drivers would like to
add their ideas, you're welcome.
>>
>>I'll do my best to check new ideas
against my collected knowledge of
>>what's possible up to now and give you
some feedback.
>>
>>
>>Regards,
>>Michael
>>
>>--
>>Michael Balzer * Paradestr. 8 *
D-42107 Wuppertal
>>Fon 0202 / 272 2201 * Handy 0176 / 206
989 26
>>
>>
>>
>>
>>_______________________________________________
>>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
>
>--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>
>_______________________________________________
>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
--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20140606/d12fa0ef/attachment.html>
------------------------------
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.teslaclub.hk
http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
End of OvmsDev Digest, Vol 29, Issue 11
***************************************