[Ovmsdev] Collecting information on the Fiat 500e
Mark Webb-Johnson
mark at webb-johnson.net
Mon Feb 11 11:35:32 HKT 2019
Guenther,
The code is not finished yet, so no documentation at the moment. I will document it when it is working.
The overall plan (for a single CAN bus, single DBC, for example) is:
Put your DBC file in /store/dbc/<vehicletype>.dbc.
You should now find it automatically loaded on boot. You can use ‘dbc list’ to confirm.
config set vehicle dbc.can1 <vehicletype>
Configure your vehicle type as “DBC”.
The above is close to completion - just waiting for the decode function which I am struggling with (eMail sent to ovmsdev mailing list earlier today).
The retools system will have facilities to maintain DBC files (in memory) and save them back to disk. It will also use DBC files as its main way of working with messages.
Regards, Mark.
> On 11 Feb 2019, at 12:38 AM, Guenther Huck <privat at guentherhuck.at> wrote:
>
> Thank you Mark!
>
> But my question was if there is a manual how I can use the dbc file in OVMS 3.
>
> I cannot find a description.
>
> Guenther
>
> From: Mark Webb-Johnson <mailto:mark at webb-johnson.net>
> Sent: Friday, February 08, 2019 12:57 AM
> To: OVMS Developers <mailto:ovmsdev at lists.openvehicles.com>
> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
>
> This is quite good:
>
>> http://socialledge.com/sjsu/index.php/DBC_Format <http://socialledge.com/sjsu/index.php/DBC_Format>
> There are a large number of examples here:
>
>> https://github.com/commaai/opendbc <https://github.com/commaai/opendbc>
> (although many are not 100% standards conformant, so will not parse correctly)
>
> Attached is the formal specification.
>
> Regards, Mark.
>
>
>
>> On 8 Feb 2019, at 12:35 AM, Guenther Huck <privat at guentherhuck.at <mailto:privat at guentherhuck.at>> wrote:
>>
>> Is there somewhere in the net a manual how to make a dbc-file impemention?
>>
>> Thx Guenther
>>
>> From: Mark Webb-Johnson <mailto:mark at webb-johnson.net>
>> Sent: Thursday, February 07, 2019 2:44 PM
>> To: OVMS Developers <mailto:ovmsdev at lists.openvehicles.com>
>> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
>>
>> This also looks to be a good candidate for a DBC implementation. That way, no coding required, and Gunther can tune and add metrics himself.
>> With the iOS App done, and now in testing, I am back working on DBC and RE tools. Made some progress these last two days (Chinese new year holidays here), and hoping to have something usable this weekend.
>>
>> But, need those crtd can bus dumps to validate it.
>>
>> Regards, Mark
>>
>> On 6 Feb 2019, at 9:12 PM, Mark Webb-Johnson <mark at webb-johnson.net <mailto:mark at webb-johnson.net>> wrote:
>>
>>> I think it best to also get a few CAN dumps:
>>>
>>> While car is parked, idle, asleep
>>> While car is parked, but awake
>>> While car is driving
>>>
>>> These should be in CRTD format.
>>>
>>> They will allow us to double-check the actual CAN bus traffic to ensure it matches what is shown in the spreadsheet.
>>>
>>> Regards, Mark.
>>>
>>>> On 6 Feb 2019, at 8:55 PM, Guenther Huck <privat at guentherhuck.at <mailto:privat at guentherhuck.at>> wrote:
>>>>
>>>> Hello Michael
>>>>
>>>> That’s perfect! Ich can send you some more CAN-ID’S. Tell me what is important for the first implementation.
>>>>
>>>> <image[3].png>
>>>>
>>>> <image[7].png>
>>>>
>>>> <image[10].png>
>>>>
>>>> <image[13].png>
>>>>
>>>> <image[16].png>
>>>> From: Michael Balzer <mailto:dexter at expeedo.de>
>>>> Sent: Wednesday, February 06, 2019 12:55 PM
>>>> To: ovmsdev at lists.openvehicles.com <mailto:ovmsdev at lists.openvehicles.com>
>>>> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
>>>>
>>>> Günther,
>>>>
>>>> yes, that looks sufficient.
>>>>
>>>> It's always best if an actual vehicle user does the code, but we can provide a first basic implementation to build upon.
>>>>
>>>> Regards,
>>>> Michael
>>>>
>>>>
>>>> Am 05.02.19 um 18:22 schrieb Guenther Huck:
>>>>> Is this ok?
>>>>>
>>>>> <image[2].png>
>>>>>
>>>>> From: Guenther Huck <mailto:privat at guentherhuck.at>
>>>>> Sent: Tuesday, February 05, 2019 6:06 PM
>>>>> To: OVMS Developers <mailto:ovmsdev at lists.openvehicles.com>
>>>>> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
>>>>>
>>>>> Hello Mark
>>>>>
>>>>> I have a Fiat 500e and asked if there is anybody who is firm with the CAN Id’s.
>>>>>
>>>>> In the meantime I have some CAN informations for Fiat 500e and can give to you or somebody who is familiar to programm the OVMS for this car.
>>>>> I don’t have enough experiance to programm this. Sorry!
>>>>>
>>>>> What informations to you need to insert this car to your project ?
>>>>>
>>>>> Guenther
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> OvmsDev mailing list
>>>>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>>>
>>>>
>>>> --
>>>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
>>>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
>>>>
>>>> _______________________________________________
>>>> OvmsDev mailing list
>>>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>>> _______________________________________________
>>>> OvmsDev mailing list
>>>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
>
> This is quite good:
>
> http://socialledge.com/sjsu/index.php/DBC_Format <http://socialledge.com/sjsu/index.php/DBC_Format>
>
> There are a large number of examples here:
>
> https://github.com/commaai/opendbc <https://github.com/commaai/opendbc>
>
> (although many are not 100% standards conformant, so will not parse correctly)
>
> Attached is the formal specification.
>
> Regards, Mark.
>
>
>
> > On 8 Feb 2019, at 12:35 AM, Guenther Huck <privat at guentherhuck.at> wrote:
> >
> > Is there somewhere in the net a manual how to make a dbc-file impemention?
> >
> > Thx Guenther
> >
> > From: Mark Webb-Johnson <mailto:mark at webb-johnson.net>
> > Sent: Thursday, February 07, 2019 2:44 PM
> > To: OVMS Developers <mailto:ovmsdev at lists.openvehicles.com>
> > Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
> >
> > This also looks to be a good candidate for a DBC implementation. That way, no coding required, and Gunther can tune and add metrics himself.
> > With the iOS App done, and now in testing, I am back working on DBC and RE tools. Made some progress these last two days (Chinese new year holidays here), and hoping to have something usable this weekend.
> >
> > But, need those crtd can bus dumps to validate it.
> >
> > Regards, Mark
> >
> > On 6 Feb 2019, at 9:12 PM, Mark Webb-Johnson <mark at webb-johnson.net <mailto:mark at webb-johnson.net>> wrote:
> >
> >> I think it best to also get a few CAN dumps:
> >>
> >> While car is parked, idle, asleep
> >> While car is parked, but awake
> >> While car is driving
> >>
> >> These should be in CRTD format.
> >>
> >> They will allow us to double-check the actual CAN bus traffic to ensure it matches what is shown in the spreadsheet.
> >>
> >> Regards, Mark.
> >>
> >>> On 6 Feb 2019, at 8:55 PM, Guenther Huck <privat at guentherhuck.at <mailto:privat at guentherhuck.at>> wrote:
> >>>
> >>> Hello Michael
> >>>
> >>> That’s perfect! Ich can send you some more CAN-ID’S. Tell me what is important for the first implementation.
> >>>
> >>> <image[3].png>
> >>>
> >>> <image[7].png>
> >>>
> >>> <image[10].png>
> >>>
> >>> <image[13].png>
> >>>
> >>> <image[16].png>
> >>> From: Michael Balzer <mailto:dexter at expeedo.de>
> >>> Sent: Wednesday, February 06, 2019 12:55 PM
> >>> To: ovmsdev at lists.openvehicles.com <mailto:ovmsdev at lists.openvehicles.com>
> >>> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
> >>>
> >>> Günther,
> >>>
> >>> yes, that looks sufficient.
> >>>
> >>> It's always best if an actual vehicle user does the code, but we can provide a first basic implementation to build upon.
> >>>
> >>> Regards,
> >>> Michael
> >>>
> >>>
> >>> Am 05.02.19 um 18:22 schrieb Guenther Huck:
> >>>> Is this ok?
> >>>>
> >>>> <image[2].png>
> >>>>
> >>>> From: Guenther Huck <mailto:privat at guentherhuck.at>
> >>>> Sent: Tuesday, February 05, 2019 6:06 PM
> >>>> To: OVMS Developers <mailto:ovmsdev at lists.openvehicles.com>
> >>>> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
> >>>>
> >>>> Hello Mark
> >>>>
> >>>> I have a Fiat 500e and asked if there is anybody who is firm with the CAN Id’s.
> >>>>
> >>>> In the meantime I have some CAN informations for Fiat 500e and can give to you or somebody who is familiar to programm the OVMS for this car.
> >>>> I don’t have enough experiance to programm this. Sorry!
> >>>>
> >>>> What informations to you need to insert this car to your project ?
> >>>>
> >>>> Guenther
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> OvmsDev mailing list
> >>>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
> >>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
> >>>
> >>>
> >>> --
> >>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> >>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> >>>
> >>> _______________________________________________
> >>> OvmsDev mailing list
> >>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
> >>> _______________________________________________
> >>> OvmsDev mailing list
> >>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
> >>
> >>
> >> _______________________________________________
> >> OvmsDev mailing list
> >> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
> >> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <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/20190211/c46ed217/attachment.htm>
More information about the OvmsDev
mailing list