[Ovmsdev] Module stops working after couple of days

Mark Webb-Johnson mark at webb-johnson.net
Mon Mar 5 19:14:30 HKT 2012


Wido,

What is the state of the car in the server? Can you send in the logs for perhaps the last 50 lines?

A quick check would be to connect you to our server. Just let me have your openvehicles.com user id, vehicleid and network pass.

Regards, Mark.

On 5 Mar, 2012, at 5:46 PM, Wido den Hollander wrote:

> Hi Mark,
> 
> On 03/05/2012 09:54 AM, Mark Webb-Johnson wrote:
>> Wido,
>> 
>> What server are you currently using for the car, and what version of firmware is running in the car module at the moment?
> 
> Server: My own server running ovms_server.pl
> Firmware: 1.2.0-rc6
> 
> I didn't revert firmware back to -rc4 yet, since I thought the problem went away magically.
> 
> I could try switching servers, I went for my own server since I didn't have a account yet on the OVMS server and I wanted to get things up and running.
> 
> You still want me to revert to -rc4?
> 
> Wido
> 
>> 
>> Regards, Mark.
>> 
>> On 5 Mar 2012, at 4:40 PM, Wido den Hollander wrote:
>> 
>>> Hi,
>>> 
>>> I just started my tablet and wanted to check on the Roadster: "Updated: 9hrs ago"
>>> 
>>> To verify if the module was still working I sent "STAT" via SMS, within a minute I had a response from the module.
>>> 
>>> It seems that the module is still alive, but it won't do GPRS?
>>> 
>>> I currently do have access to the car as it's not parked at my house, but as soon as I get to the car I'll check which LED's are ON/OFF.
>>> 
>>> Wido
>>> 
>>> On 03/03/2012 04:45 PM, Mark Webb-Johnson wrote:
>>>> 
>>>> I reviewed the code, and can't really see how the multi-line SMS change could have changed this. But, there is one possible loop-hole in that if the simcom modem tells us "here is 100 bytes of SMS/IP data", then never sends us the 100 bytes, we could wait forever. This is the same for both SMS and IP data.
>>>> 
>>>> I added a 60second timeout for the SMS and IPD net_buf_mode statuses, to cope with this occurrence. 60 seconds is crazily long, and should never happen, but the code is there if it ever does. The timeout will go back to AT+COPS modem reset.
>>>> 
>>>> I also changed the SMS notifications to only show charging status if the charge port door is open, as previously discussed.
>>>> 
>>>> I cut this as v1.2.0, and committed to github. I'm running it in my car and will do final tests tomorrow to make sure everything still works as expected.
>>>> 
>>>> Feedback appreciated (especially for this strange non-response problem).
>>>> 
>>>> Regards, Mark.
>>>> 
>>>> On 2 Mar, 2012, at 8:09 AM, Mark Webb-Johnson wrote:
>>>> 
>>>>> Wido,
>>>>> 
>>>>> The only recent change to the modem handling code was in 1.2.0-rc5 - to handle multi-line sms messages and to increase the size of the network buffers.
>>>>> 
>>>>> If this problem is repeatable for you, could you try rolling back to 1.2.0-rc4 and see if that solves it? The git revision number is 1bb3ef4ec1df41a9b54a87c4c08918f76b5ade08.
>>>>> 
>>>>> Regards, Mark.
>>>>> 
>>>>> On 1 Mar 2012, at 10:09 PM, Wido den Hollander wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> On 03/01/2012 02:16 PM, Mark Webb-Johnson wrote:
>>>>>>> 
>>>>>>> What version of the car firmware are you running?
>>>>>>> 
>>>>>>> If the 1.2.0-rc? series, please ensure the switch on the PIC board is
>>>>>>> set to the GRPS position (not GSM only).
>>>>>> 
>>>>>> Yes, I'm running 1.2.0-rc6
>>>>>> 
>>>>>> I checked the switch is correct, I had this before. The GPRS works fine, but that stops working.
>>>>>> 
>>>>>>> 
>>>>>>> Can you also try the main www.openvehicles.com
>>>>>>> <http://www.openvehicles.com>   server to see if the same problem happens?
>>>>>> 
>>>>>> I'll try that later.
>>>>>> 
>>>>>> I'll try Sonny's suggestion first, sending a SMS with STAT to the module.
>>>>>> 
>>>>>>> 
>>>>>>> This does remind me of problems we had many months ago with the modem
>>>>>>> losing signal lock but that not being able to be picked up by the
>>>>>>> module. But, I haven't seen it for many months.
>>>>>>> 
>>>>>>> Regards, Mark.
>>>>>>> 
>>>>>>> On 1 Mar, 2012, at 7:28 PM, Sonny wrote:
>>>>>>> 
>>>>>>>> Wido,
>>>>>>>> 
>>>>>>>> Green off is definitely strange. I suggest you to try reflashing the
>>>>>>>> firmware to rule out a bad flash.
>>>>>>>> 
>>>>>>>> If it still drops out, try sending STAT via SMS. If it responds, then
>>>>>>>> we can narrow it down to a GPRS problem.
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> 
>>>>>>>> Sonny
>>>>>>>> 
>>>>>>>> On Mar 1, 2012 5:14 PM, "Wido den Hollander"<wido at widodh.nl
>>>>>>>> <mailto:wido at widodh.nl>>   wrote:
>>>>>>>> 
>>>>>>>>   Hi,
>>>>>>>> 
>>>>>>>>   About a week ago I was able to install the module and get my own
>>>>>>>>   server up and running. Everything seemed to work fine from the
>>>>>>>>   beginning, but after about 36 hours the module died.
>>>>>>>> 
>>>>>>>>   First I thought my prepaid SIM-card had ran out of credits, but
>>>>>>>>   that was not the case.
>>>>>>>> 
>>>>>>>>   A manual reboot of the module was needed and it started working again.
>>>>>>>> 
>>>>>>>>   Yesterday I opened the app and saw "Last update 8 hours ago"
>>>>>>>> 
>>>>>>>>   Again, a reboot of the module was enough.
>>>>>>>> 
>>>>>>>>   I checked the LED's and the first time GREEN was solid ON and RED
>>>>>>>>   was flashing slowly, that is normal.
>>>>>>>> 
>>>>>>>>   The second time the GREEN LED was off and only the RED one was
>>>>>>>>   blinking.
>>>>>>>> 
>>>>>>>>   I don't think it's a problem of GSM reception, the module even
>>>>>>>>   worked without the antenna while lying on the floor of the car.
>>>>>>>> 
>>>>>>>>   GSM reception is however very good here in the neighborhood, no
>>>>>>>>   high buildings and it's a very dense network.
>>>>>>>> 
>>>>>>>>   It's also weird that the module doesn't come back online. If it
>>>>>>>>   was a short disruption it could be a connection problem, but being
>>>>>>>>   offline for 8 hours is long.
>>>>>>>> 
>>>>>>>>   Has anyone seen this behavior?
>>>>>>>> 
>>>>>>>>   Thanks,
>>>>>>>> 
>>>>>>>>   Wido
>>>>>>>>   _________________________________________________
>>>>>>>>   OvmsDev mailing list
>>>>>>>>   OvmsDev at lists.teslaclub.hk<mailto:OvmsDev at lists.teslaclub.hk>
>>>>>>>>   http://lists.teslaclub.hk/__mailman/listinfo/ovmsdev
>>>>>>>>   <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> OvmsDev mailing list
>>>>>>>> OvmsDev at lists.teslaclub.hk<mailto:OvmsDev at lists.teslaclub.hk>
>>>>>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> OvmsDev mailing list
>>>>> OvmsDev at lists.teslaclub.hk
>>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>> 
>> 



More information about the OvmsDev mailing list