<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Thanks Michael, </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span>I am getting "login ok" when pressing on the login button, but then all the other buttons are giving "authentication error" message. </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span>I could check that the cookie is sent with the request, but the server seems to respond with the 400 code. </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">I tried in Chrome. Where, how do you use the page?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Nikolay</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, June 5, 2014 10:59 PM, Michael Balzer <dexter@expeedo.de> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv0016367475"><div>
Nikolay,<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
Try yourself, I've attached it.<br clear="none">
<br clear="none">
Regards,<br clear="none">
Michael<br clear="none">
<br clear="none">
<br clear="none">
<div class="yiv0016367475moz-cite-prefix">Am 05.06.2014 11:26, schrieb Nikolay
Shishkov:<br clear="none">
</div>
<blockquote type="cite">
<div class="yiv0016367475yqt7756636819" id="yiv0016367475yqt66378"><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<div class="yiv0016367475" style=""><span class="yiv0016367475" style="">Hi Michael, </span></div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="yiv0016367475" style=""><br clear="none" class="yiv0016367475" style="">
</span></div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">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. </div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Have you considered running this on a
separate server that serves as a gateway to the TMC server?</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Have you uploaded the code somewhere?</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">I have been playing around with C#
client and was thinking of using it on an asp.net server...</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br clear="none">
</div>
<div class="yiv0016367475" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Nikolay</div>
<div class="yiv0016367475qtdSeparateBR"><br clear="none">
<br clear="none">
</div>
<div class="yiv0016367475yahoo_quoted" style="display: block;">
<div class="yiv0016367475" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;">
<div class="yiv0016367475" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;">
<div class="yiv0016367475" dir="ltr" style=""> <font class="yiv0016367475" style="" face="Arial" size="2"> On Wednesday, June 4, 2014
11:22 PM, Michael Balzer <a rel="nofollow" shape="rect" class="yiv0016367475moz-txt-link-rfc2396E" ymailto="mailto:dexter@expeedo.de" target="_blank" href="mailto:dexter@expeedo.de"><dexter@expeedo.de></a>
wrote:<br clear="none" class="yiv0016367475" style="">
</font> </div>
<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
<div class="yiv0016367475" style="">Am 04.06.2014 07:38, schrieb
Gianluca Magalotti:<br clear="none" class="yiv0016367475" style="">
> For nice2have features I'll wait for your list (I
have my personal <br clear="none" class="yiv0016367475" style="">
> list too but maybe we'll have a later focus on
that)<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
So here it is.<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
If other Twizy drivers would like to add their ideas,
you're welcome.<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
I'll do my best to check new ideas against my collected
knowledge of <br clear="none" class="yiv0016367475" style="">
what's possible up to now and give you some feedback.
<div class="yiv0016367475" id="yiv0016367475yqtfd99580" style=""><br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
Regards,<br clear="none" class="yiv0016367475" style="">
Michael</div>
<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
-- <br clear="none" class="yiv0016367475" style="">
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal<br clear="none" class="yiv0016367475" style="">
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
<div class="yiv0016367475" id="yiv0016367475yqtfd18255" style=""><br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
</div>
<br clear="none" class="yiv0016367475" style="">
<div class="yiv0016367475" id="yiv0016367475yqtfd30669" style="">_______________________________________________<br clear="none" class="yiv0016367475" style="">
OvmsDev mailing list<br clear="none" class="yiv0016367475" style="">
<a rel="nofollow" shape="rect" class="yiv0016367475" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk" style="">OvmsDev@lists.teslaclub.hk</a><br clear="none" class="yiv0016367475" style="">
<a rel="nofollow" shape="rect" class="yiv0016367475" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" style="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none" class="yiv0016367475" style="">
</div>
<br clear="none" class="yiv0016367475" style="">
<br clear="none" class="yiv0016367475" style="">
</div>
</div>
</div>
</div>
</div></div>
<br clear="none">
<fieldset class="yiv0016367475mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
OvmsDev mailing list
<a rel="nofollow" shape="rect" class="yiv0016367475moz-txt-link-abbreviated" ymailto="mailto:OvmsDev@lists.teslaclub.hk" target="_blank" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a rel="nofollow" shape="rect" class="yiv0016367475moz-txt-link-freetext" target="_blank" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br clear="none">
<pre class="yiv0016367475moz-signature">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div></div><br><div class="yqt7756636819" id="yqt96220">_______________________________________________<br clear="none">OvmsDev mailing list<br clear="none"><a shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none"><a shape="rect" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>