Hi,
I flashed my OVMS up to date with master to see how it goes, since I'm obviously keen to see the i3 support out there.
The i3 stuff is working as expected as far as I can tell.
But overall I'm having a really poor experience in the car when driving:
I have an Android tablet which is trying to connect to the OVMS AP and view the dashboard etc.
I find that the tablet loses its Wifi connection to the OVMS every few minutes - eventually it finds it again and recovers - some number of minutes.
My first I thought I was getting many crashes - but I have only 3 recorded today and none during the time I was driving:
mysql> select h_timestamp, h_recordtype, h_data from ovms_historicalmessages where h_timestamp > '2021-02-13 00:00' and h_recordtype like '
%Crash%' order by h_timestamp \G
1) Unknown cause, 4am, car parked. As you can see it was the task watchdog that rebooted ovms:
*************************** 1. row ***************************
h_timestamp: 2021-02-13 03:55:16
h_recordtype: *-OVM-DebugCrash
h_data: 3.2.015-668-gc2a501eb-dirty/ota_0/main (build idf v3.3.4-845-gd59ed8bba-dirty Feb 12 2021 15:52:01),126,Crash,12,12,52,0,abort(),0,,0x4008e58e 0x4008e829 0x400e7bcc 0x4008406a ,6,Task watchdog,ticker.1,esp32wifi,0,IDLE1
2) This seems similar:
*************************** 2. row ***************************
h_timestamp: 2021-02-13 12:12:38
h_recordtype: *-OVM-DebugCrash
h_data: 3.2.015-668-gc2a501eb-dirty/ota_0/main (build idf v3.3.4-845-gd59ed8bba-dirty Feb 12 2021 15:52:01),147,Crash,12,12,73,0,abort(),0,,0x4008e58e 0x4008e829 0x400e7bcc 0x4008406a ,6,Task watchdog,,,0,IDLE1
3) This one happened when I went to Tools>Editor and trying to open /sd:
*************************** 3. row ***************************
h_timestamp: 2021-02-13 16:47:58
h_recordtype: *-OVM-DebugCrash
h_data: 3.2.015-668-gc2a501eb-dirty/ota_0/main (build idf v3.3.4-845-gd59ed8bba-dirty Feb 12 2021 15:52:01),148,Crash,12,12,74,0,StoreProhibited,1,0x4008b014 0x00060d30 0x800fe2f8 0x3ffe7270 0x00000000 0x3f97de70 0x0011ce31 0x00000000 0x31323032 0x2d32302d 0x00000000 0x3ffe7240 0x00000000 0x00239c63 0x4009d4bc 0x3ffbc5e4 0x0000000a 0x3ffca570 0x00000008 0x0000001d 0x00000000 0x4008b010 0x4008b02c 0x00011ce2 ,0x4008b014 0x400fe2f5 0x401efe03 0x40132007 0x40159c35 0x40149aae 0x4013ef2e 0x4013f01a 0x4010af29 0x4010b5e9 0x4010c75e 0x4010c782 0x4010af29 0x4010c8c5 0x4010ccf9 0x4010cfbe 0x4010916e 0x400fd747 0x400fd7f5 ,4,Exception/panic,,,0,IDLE1|OVMS DukTape
So if it's not crashes, then why does the Wifi AP on the OVMS keep disappearing and disconnecting the tablet from the AP?
Does the Wifi AP maybe get reset / restarted every time the status of the LTE connection changes?
Since on my OVMS the 3G seems to be resetting frequently, logging like so:
2021-02-13 13:34:15.607 SAST I (21287) simcom: State timeout, transition to 2
2021-02-13 13:34:15.607 SAST I (21287) simcom: State: Enter PoweringOn state
2021-02-13 13:34:15.607 SAST I (21287) simcom: Power Cycle
2021-02-13 13:34:22.417 SAST I (28097) simcom: State: Enter PoweredOn state
2021-02-13 13:34:41.637 SAST I (47317) simcom: State: Enter MuxStart state
2021-02-13 13:34:42.607 SAST I (48287) simcom: State: Enter NetWait state
2021-02-13 13:34:52.627 SAST I (58307) simcom: CREG Network Registration: RegisteredHome
2021-02-13 13:34:53.607 SAST I (59287) simcom: State: Enter NetStart state
2021-02-13 13:34:54.667 SAST I (60347) simcom: PPP Connection is ready to start
2021-02-13 13:34:55.607 SAST I (61287) simcom: State: Enter NetMode state
2021-02-13 13:36:32.483 SAST I (21273) simcom: State timeout, transition to 2
(etc)
Happens every few minutes:
steve@maira ~ % egrep 'Power Cycle' ovms.log.20210213.shopping.trip
egrep 'Power Cycle' ovms.log.20210213.shopping.trip
2021-02-13 13:24:50.411 SAST I (21271) simcom: Power Cycle
2021-02-13 13:25:13.037 SAST I (21287) simcom: Power Cycle
2021-02-13 13:27:22.167 SAST I (21287) simcom: Power Cycle
2021-02-13 13:29:57.177 SAST I (21287) simcom: Power Cycle
2021-02-13 13:32:07.417 SAST I (21287) simcom: Power Cycle
2021-02-13 13:34:15.607 SAST I (21287) simcom: Power Cycle
2021-02-13 13:36:32.483 SAST I (21273) simcom: Power Cycle
2021-02-13 13:39:10.193 SAST I (21273) simcom: Power Cycle
2021-02-13 13:41:19.993 SAST I (21273) simcom: Power Cycle
2021-02-13 13:43:27.773 SAST I (21273) simcom: Power Cycle
2021-02-13 13:45:41.523 SAST I (21273) simcom: Power Cycle
2021-02-13 13:48:07.303 SAST I (21273) simcom: Power Cycle
2021-02-13 13:51:35.063 SAST I (21273) simcom: Power Cycle
2021-02-13 13:55:37.663 SAST I (21273) simcom: Power Cycle
2021-02-13 13:57:47.493 SAST I (21263) simcom: Power Cycle
2021-02-13 14:00:25.547 SAST I (21287) simcom: Power Cycle
2021-02-13 14:03:41.837 SAST I (21287) simcom: Power Cycle
2021-02-13 14:06:20.182 SAST I (21282) simcom: Power Cycle
2021-02-13 14:08:28.393 SAST I (21283) simcom: Power Cycle
2021-02-13 14:10:40.519 SAST I (21279) simcom: Power Cycle
2021-02-13 14:12:48.538 SAST I (21278) simcom: Power Cycle
I do see that my MQTT data doesn't seem to be getting to my broker when I'm away from home, so maybe there is an issue with my SIM.
But not sure why that should disrupt the Wifi AP ?
Regards,
Steve