[Ovmsdev] Initial OTA update

chip at cangmag.com chip at cangmag.com
Thu Apr 19 18:45:24 HKT 2018


Mark, 

Bizarro!  Now it seems to be working.  Below is screen shot from console
after issuing a "charge start" command from the Mobile App. 

Thanks, again, for your kind help.  I'll keep an eye on it, and revert
if there are any surprises. 

On 2018-04-18 10:35 pm, Mark Webb-Johnson wrote:

> Commands are: 
> 
>> case 10: // Set charge mode (params: 0=standard, 1=storage,3=range,4=performance) 
>> case 11: // Start charge (params unused) 
>> case 12: // Stop charge (params unused) 
>> case 15: // Set charge current (params: current in amps) 
>> case 16: // Set charge mode and current (params: mode, current) 
>> case 17: // Set charge timer mode and start time
> 
> Logs show: 
> 
>> 2018-04-17 11:22:48.523478 +0800 info  main: #155 A TRS0879 rx msg C 20,(redacted) 
>> 2018-04-17 11:23:08.803983 +0800 info  main: #155 A TRS0879 rx msg C 20,(redacted) 
>> 2018-04-17 11:23:19.595020 +0800 info  main: #155 A TRS0879 rx msg C 22,(redacted) 
>> 2018-04-17 11:23:38.594279 +0800 info  main: #155 A TRS0879 rx msg C 24,0 
>> 2018-04-17 11:23:55.426337 +0800 info  main: #155 A TRS0879 rx msg C 24,0 
>> 2018-04-18 00:29:41.828417 +0800 info  main: #184 A TRS0879 rx msg C 30 
>> 2018-04-18 00:30:02.153333 +0800 info  main: #184 A TRS0879 rx msg C 1 
>> 2018-04-19 03:26:09.383991 +0800 info  main: #77 A TRS0879 rx msg C 10,3 
>> 2018-04-19 03:27:03.084352 +0800 info  main: #77 A TRS0879 rx msg C 20,(redacted) 
>> 2018-04-19 03:29:05.690411 +0800 info  main: #77 A TRS0879 rx msg C 22,(redacted) 
>> 2018-04-19 03:29:54.624372 +0800 info  main: #77 A TRS0879 rx msg C 20,(redacted) 
>> 2018-04-19 05:38:45.183101 +0800 info  main: #18 A TRS0879 rx msg C 10,0 
>> 2018-04-19 05:39:06.424308 +0800 info  main: #18 A TRS0879 rx msg C 10,3 
>> 2018-04-19 06:56:34.692743 +0800 info  main: #18 A TRS0879 rx msg C 1 
>> 2018-04-19 06:56:51.593430 +0800 info  main: #18 A TRS0879 rx msg C 30 
>> 2018-04-19 06:57:24.686577 +0800 info  main: #18 A TRS0879 rx msg C 3 
>> 2018-04-19 06:58:27.326118 +0800 info  main: #18 A TRS0879 rx msg C 4,0,(redacted) 
>> 2018-04-19 07:00:10.233163 +0800 info  main: #18 A TRS0879 rx msg C 1 
>> 2018-04-19 07:01:55.516809 +0800 info  main: #18 A TRS0879 rx msg C 5 
>> 2018-04-19 07:02:30.067177 +0800 info  main: #18 A TRS0879 rx msg C 10,0 
>> 2018-04-19 07:03:30.549427 +0800 info  main: #18 A TRS0879 rx msg C 10,0 
>> 2018-04-19 07:04:00.213403 +0800 info  main: #18 A TRS0879 rx msg C 10,3 
>> 2018-04-19 12:18:31.146166 +0800 info  main: #162 A TRS0879 rx msg C 10,3 
>> 2018-04-19 12:19:45.363879 +0800 info  main: #214 A TRS0879 rx msg C 10,0
> 
> I don't see any command 11 in there. 
> 
> I'm pretty sure the iOS App won't send a StartCharge command unless the charge is in 'Done' or 'Stopped' state. Your car seems to be in 'timerwait' for a large portion of the time. 
> 
> Can you try the command directly from the web app / command console: 
> 
>> OVMS# start
> 
> If that works, then it will rule out the module itself as the issue. 
> 
> Regards, Mark. 
> 
> On 19 Apr 2018, at 12:29 PM, chip at cangmag.com wrote: 
> 
> Mark, 
> 
> The vehicle id is TRS0879 and I tried to do the remote charge multiple times today beginning at ~12:40p PDT through to ~4:30p PDT [using the cellular modem].  This evening, beginning ~9:15p PDT, I've tried to start a charge remotely over Wifi.  So far for all attempts, no joy.  I've tried using both the Mobile app [iPhone], as well as the web app contained in the v3.  All tries appear to timeout without starting the charge. 
> 
> I'm wondering if the "Timed Charge" status of the car, is overriding the request to "Start Charge" [immediately]. 
> 
> Thanks for your kind help with this. 
> 
> Chip
> 
> On 2018-04-18 4:47 pm, Mark Webb-Johnson wrote: Chip, 
> 
> If you can let me know the vehicle ID and the date+time (UTC would be helpful) you did this action, then I can check server logs for what was seen. 
> 
> Regards, Mark
> 
> On 19 Apr 2018, at 4:31 AM, chip at cangmag.com wrote: 
> 
> Greg, 
> 
> I have the car permanently in Debug mode, and nothing came up on the VDS.  I'll check the log later today when I get back to the car---I may not be able to report back until tomorrow. 
> 
> Chip
> 
> On 2018-04-18 1:25 pm, Greg D. wrote: Were there any errors / alerts reported by the car?  They might be buried in the car's logs, and not displayed on the VDS unless you were in diagnostc or debug mode.
> 
> Greg
> 
> chip at cangmag.com wrote: 
> 
> Reference:  Tesla Roadster 2.0 Sport 
> 
> OVMS Firmware-- Server: 2.1.1-20121216 Car: 3.1.004/ota_0/main App: 1.6.6 (20150821) 
> 
> I've been running the new v3 since Sunday 15 Apr without fault [updated to build 3.004 on Mon 16 Apr].  I've successfully used a variety of capabilities using the iPhone Mobile app [1.6.6].   
> 
> Successfully operating: Remote door lock and unlock, remote Homelink, remotely change charging mode [Standard, Storage, Range]. 
> 
> Today, for the first time, and while communicating over the cellular modem, I COULD NOT remotely start a charging cycle, I then tested other remote functions [door lock and change of charging mode both worked], but when I went back to remotely start a charging cycle, again it didn't engage.  On the app screen that charge "slider" slides over to the right, but just stays there and ultimately times out. 
> 
> I will test this again tonight at home when I am on Wifi (which I seem to recall may have been working on Sunday, so it may be related to communicating over the cellular network). 
> 
> This may also be a just a non-repeatable gremlin, but I thought I'd notify this group to get the observation out there, and see if maybe anyone else is seeing it. 
> 
> Chip C. 
> 
> On 2018-04-18 9:46 am, Greg D. wrote: Michael Balzer wrote:
> 
> Am 16.04.2018 um 22:16 schrieb Michael Balzer:
> 
> I have seen the queue overflow problem once on the current build, so it isn't solved. But it wasn't related to any action, it happened while
> the module was idle.
> 
> To clarify, it's no problem if it resolves after some seconds, that may be due to a temporary mongoose lock / overload. If we can trigger that
> reliably by some action, that would help to track this down.
> 
> Short update: I could trigger it again now multiple times on the OTA page. It seems to be happening due to the update check running over the
> modem line, it does not happen with modem disabled. I need to check in Wifi client mode.
> 
> Regards,
> Michael

Hi Michael,

Interesting...  I was going to write back and say that the 3.003 to
3.004 update went very smoothly, with no queue overflows being reported,
and that all was well.  I don't recall if the modem was connected at the
time, however.

A side note for anyone having trouble connecting to AP mode with their
cell phone...  I've always had a lot of trouble with timeouts and such,
and finally tracked it down to a similar issue as above.  If the phone
has both an LTE and AP connection, the http request to 192.168.4.1 often
goes out over the LTE path, and is therefore doomed.  Disabling LTE
"fixes" that, but of course, also disables your phone.(or at least the
data part).  I haven't found a good way to beat some (routing) sense
into the phone otherwise.

This was with my new Google Pixel2, so it's not a matter of an old buggy
device.  (Ok, so it's a new buggy device...)

Also, the first time you connect to the AP, the phone _blocks_ all
communications with it until you answer the annoying notification
(usually hidden in the background) that says "Hey, we can't get to the
Internet with that AP.  Are you sure you want to stay connected to it?",
or words to that effect.  Me thinks they have taken this always
connected Internet meme a bit too far.

Greg

_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev 

_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev

_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev 
_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev 
_______________________________________________
OvmsDev mailing list
OvmsDev at lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180419/bf2851d6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb898c84.png
Type: image/png
Size: 88713 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180419/bf2851d6/attachment-0002.png>


More information about the OvmsDev mailing list