Collecting information on the Fiat 500e
OVMS team, As an owner of a Fiat 500e I was very interested when I stumbled across this project on the TMC forums. The Fiat factory telematics system deactivates 3 years from the original vehicle sale and is non renewable. I think FCA wants to kill the whole system at this point (it's been replaced with the corporate UConnect system) so another solution would be ideal. I have a 2013 500e with deactivated telematics, and our roommate has a 2014 with working telematics. If any data could be captured from the car with working telematics (branded as Fiat Access) to assist integrating OVMS I'd love to help. The Fiat Access telematics provides vehicle location, battery level, tire pressure, setting the charge schedules, locking / unlocking the car, and starting the climate control. I believe the actual control unit was adapted from some kind of remote-disablement system used in europe (the Fiat literature calls this the Vehicle Tracking Module). The Fiat has a normal J1962 plug, but does not have OBDII protocol support. Like the Kia Soul the powertrain CAN on pin 6 / 14 and the body CAN on 1 / 9. There's no telling how long the telematics will keep working on our roommates '14, so doing a capture sooner than later would be good. I'm open to any suggestions on how best to do this. The car related diag tools I have on hand are: ELM327 Bluetooth, Ross-Tech VCDS (For VW / Audi Products), and AlfaOBD (which can talk to most of the modules in the 500e - but not the VTM :( ), and an adapter to swap the CAN wires so a standard interface can get to the Body CAN. Thanks! -J
Hello OMVS team, hello Jason I got your message about the 500e too and I must tell you, please do not post wrong information about the Fiat 500e. The 500e of course have CAN Bus messages on OBDII. You have CAN BUS C (500 K) and CAN Bus B (50 K). The only problem is , like on all vehicles CAN Bus Systems , that there is no public dbc.file. I am working on it and as soon as possible i will roll out on http://fiat500e.eu Guenther From: Jason Perkins Sent: Monday, January 08, 2018 4:07 PM To: OVMS Developers Subject: [Ovmsdev] Collecting information on the Fiat 500e OVMS team, As an owner of a Fiat 500e I was very interested when I stumbled across this project on the TMC forums. The Fiat factory telematics system deactivates 3 years from the original vehicle sale and is non renewable. I think FCA wants to kill the whole system at this point (it's been replaced with the corporate UConnect system) so another solution would be ideal. I have a 2013 500e with deactivated telematics, and our roommate has a 2014 with working telematics. If any data could be captured from the car with working telematics (branded as Fiat Access) to assist integrating OVMS I'd love to help. The Fiat Access telematics provides vehicle location, battery level, tire pressure, setting the charge schedules, locking / unlocking the car, and starting the climate control. I believe the actual control unit was adapted from some kind of remote-disablement system used in europe (the Fiat literature calls this the Vehicle Tracking Module). The Fiat has a normal J1962 plug, but does not have OBDII protocol support. Like the Kia Soul the powertrain CAN on pin 6 / 14 and the body CAN on 1 / 9. There's no telling how long the telematics will keep working on our roommates '14, so doing a capture sooner than later would be good. I'm open to any suggestions on how best to do this. The car related diag tools I have on hand are: ELM327 Bluetooth, Ross-Tech VCDS (For VW / Audi Products), and AlfaOBD (which can talk to most of the modules in the 500e - but not the VTM :( ), and an adapter to swap the CAN wires so a standard interface can get to the Body CAN. Thanks! -J -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
What was the wrong information? It would be helpful if you could be specific and provide clarification. Regards, Mark
On 8 Jan 2018, at 11:56 PM, Guenther Huck <privat@guentherhuck.at> wrote:
Hello OMVS team, hello Jason
I got your message about the 500e too and I must tell you, please do not post wrong information about the Fiat 500e. The 500e of course have CAN Bus messages on OBDII. You have CAN BUS C (500 K) and CAN Bus B (50 K). The only problem is , like on all vehicles CAN Bus Systems , that there is no public dbc.file. I am working on it and as soon as possible i will roll out on http://fiat500e.eu
Guenther
<image[1].png>
From: Jason Perkins Sent: Monday, January 08, 2018 4:07 PM To: OVMS Developers Subject: [Ovmsdev] Collecting information on the Fiat 500e
OVMS team,
As an owner of a Fiat 500e I was very interested when I stumbled across this project on the TMC forums. The Fiat factory telematics system deactivates 3 years from the original vehicle sale and is non renewable. I think FCA wants to kill the whole system at this point (it's been replaced with the corporate UConnect system) so another solution would be ideal.
I have a 2013 500e with deactivated telematics, and our roommate has a 2014 with working telematics. If any data could be captured from the car with working telematics (branded as Fiat Access) to assist integrating OVMS I'd love to help.
The Fiat Access telematics provides vehicle location, battery level, tire pressure, setting the charge schedules, locking / unlocking the car, and starting the climate control. I believe the actual control unit was adapted from some kind of remote-disablement system used in europe (the Fiat literature calls this the Vehicle Tracking Module).
The Fiat has a normal J1962 plug, but does not have OBDII protocol support. Like the Kia Soul the powertrain CAN on pin 6 / 14 and the body CAN on 1 / 9.
There's no telling how long the telematics will keep working on our roommates '14, so doing a capture sooner than later would be good. I'm open to any suggestions on how best to do this. The car related diag tools I have on hand are: ELM327 Bluetooth, Ross-Tech VCDS (For VW / Audi Products), and AlfaOBD (which can talk to most of the modules in the 500e - but not the VTM :( ), and an adapter to swap the CAN wires so a standard interface can get to the Body CAN.
Thanks!
-J
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Guenther, What I meant by my post is that the 500e is not OBDII compliant at a software level - a "generic" scan tool won't talk to it. The underhood emissions sticker confirms this. The Leaf is similar. Teslas have a "fake" J1962 plug that will report the car's VIN, but not much else. Regarding scan tools for the 500e, that's why I have AlfaOBD. I've ordered some Arduino parts, so we should have some captures from the telematics system soon! -J On Mon, Jan 8, 2018 at 5:51 PM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
What was the wrong information?
It would be helpful if you could be specific and provide clarification.
Regards, Mark
On 8 Jan 2018, at 11:56 PM, Guenther Huck <privat@guentherhuck.at> wrote:
Hello OMVS team, hello Jason
I got your message about the 500e too and I must tell you, please do not post wrong information about the Fiat 500e. The 500e of course have CAN Bus messages on OBDII. You have CAN BUS C (500 K) and CAN Bus B (50 K). The only problem is , like on all vehicles CAN Bus Systems , that there is no public dbc.file. I am working on it and as soon as possible i will roll out on http://fiat500e.eu
Guenther
<image[1].png>
*From:* Jason Perkins <perkins.jason@gmail.com> *Sent:* Monday, January 08, 2018 4:07 PM *To:* OVMS Developers <ovmsdev@lists.teslaclub.hk> *Subject:* [Ovmsdev] Collecting information on the Fiat 500e
OVMS team,
As an owner of a Fiat 500e I was very interested when I stumbled across this project on the TMC forums. The Fiat factory telematics system deactivates 3 years from the original vehicle sale and is non renewable. I think FCA wants to kill the whole system at this point (it's been replaced with the corporate UConnect system) so another solution would be ideal.
I have a 2013 500e with deactivated telematics, and our roommate has a 2014 with working telematics. If any data could be captured from the car with working telematics (branded as Fiat Access) to assist integrating OVMS I'd love to help.
The Fiat Access telematics provides vehicle location, battery level, tire pressure, setting the charge schedules, locking / unlocking the car, and starting the climate control. I believe the actual control unit was adapted from some kind of remote-disablement system used in europe (the Fiat literature calls this the Vehicle Tracking Module).
The Fiat has a normal J1962 plug, but does not have OBDII protocol support. Like the Kia Soul the powertrain CAN on pin 6 / 14 and the body CAN on 1 / 9.
There's no telling how long the telematics will keep working on our roommates '14, so doing a capture sooner than later would be good. I'm open to any suggestions on how best to do this. The car related diag tools I have on hand are: ELM327 Bluetooth, Ross-Tech VCDS (For VW / Audi Products), and AlfaOBD (which can talk to most of the modules in the 500e - but not the VTM :( ), and an adapter to swap the CAN wires so a standard interface can get to the Body CAN.
Thanks!
-J
------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Jason Perkins 313 355 0085
Is here anybody working on Fiat 500e can bus sniffing? (Maybe perkins.jason) I have also some sniffing done and send you file for arduino. This works for SOC. Maybe we can share information? greetings Guenther
I had trouble with the Arduinos I'd gotten, they seemed to garble the 2nd CAN whenever the baud rate was set correctly. I only got a single day to play with it before the telematics was cut off on our roomates 2014 :( Another local friend just got a 2015, don't know if his telematics work or not though. -J On Fri, Jun 29, 2018 at 3:36 PM, Guenther Huck <privat@guentherhuck.at> wrote:
Is here anybody working on Fiat 500e can bus sniffing? (Maybe perkins.jason) I have also some sniffing done and send you file for arduino. This works for SOC. Maybe we can share information?
greetings Guenther
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Jason Perkins 313 355 0085
I’ve had a user in Australia contact me about this recently. It seems there is some activity on Fiat forums, with people discussing this? I am told the factory app is non-renewable after 3 years, and many cars are being exported out of USA. This user is a Fiat and Alfa technician, so has quite some knowledge of the cars. Regards, Mark.
On 30 Jun 2018, at 6:21 AM, Jason Perkins <perkins.jason@gmail.com> wrote:
I had trouble with the Arduinos I'd gotten, they seemed to garble the 2nd CAN whenever the baud rate was set correctly. I only got a single day to play with it before the telematics was cut off on our roomates 2014 :(
Another local friend just got a 2015, don't know if his telematics work or not though.
-J
On Fri, Jun 29, 2018 at 3:36 PM, Guenther Huck <privat@guentherhuck.at <mailto:privat@guentherhuck.at>> wrote: Is here anybody working on Fiat 500e can bus sniffing? (Maybe perkins.jason) I have also some sniffing done and send you file for arduino. This works for SOC. Maybe we can share information?
greetings Guenther
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
-- Jason Perkins 313 355 0085 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
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 From: Mark Webb-Johnson Sent: Saturday, June 30, 2018 3:52 PM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e I’ve had a user in Australia contact me about this recently. It seems there is some activity on Fiat forums, with people discussing this? I am told the factory app is non-renewable after 3 years, and many cars are being exported out of USA. This user is a Fiat and Alfa technician, so has quite some knowledge of the cars. Regards, Mark. On 30 Jun 2018, at 6:21 AM, Jason Perkins <perkins.jason@gmail.com> wrote: I had trouble with the Arduinos I'd gotten, they seemed to garble the 2nd CAN whenever the baud rate was set correctly. I only got a single day to play with it before the telematics was cut off on our roomates 2014 :( Another local friend just got a 2015, don't know if his telematics work or not though. -J On Fri, Jun 29, 2018 at 3:36 PM, Guenther Huck <privat@guentherhuck.at> wrote: Is here anybody working on Fiat 500e can bus sniffing? (Maybe perkins.jason) I have also some sniffing done and send you file for arduino. This works for SOC. Maybe we can share information? greetings Guenther _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -- Jason Perkins 313 355 0085 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Is this ok? From: Guenther Huck Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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
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 *From:* Guenther Huck <mailto:privat@guentherhuck.at> *Sent:* Tuesday, February 05, 2019 6:06 PM *To:* OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
Hello Michael That’s perfect! Ich can send you some more CAN-ID’S. Tell me what is important for the first implementation. From: Michael Balzer Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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? From: Guenther Huck Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
First implementation will only be some selected metrics as a template to be filled by you or a developer taking care of this. But send whatever you've got, so any interested developer can work on that. If possible please send the infos as tables or text files, not screenshots. Regards, Michael Am 06.02.19 um 13:55 schrieb Guenther Huck:
Hello Michael
That’s perfect! Ich can send you some more CAN-ID’S. Tell me what is important for the first implementation.
image
image image image image *From:* Michael Balzer <mailto:dexter@expeedo.de> *Sent:* Wednesday, February 06, 2019 12:55 PM *To:* ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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 *From:* Guenther Huck <mailto:privat@guentherhuck.at> *Sent:* Tuesday, February 05, 2019 6:06 PM *To:* OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
When you can make first implemetation with some metrics I can try to enhance it. I am a 500e owner and I also can test it on my car. Guenther From: Michael Balzer Sent: Wednesday, February 06, 2019 2:12 PM To: ovmsdev@lists.openvehicles.com Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e First implementation will only be some selected metrics as a template to be filled by you or a developer taking care of this. But send whatever you've got, so any interested developer can work on that. If possible please send the infos as tables or text files, not screenshots. Regards, Michael Am 06.02.19 um 13:55 schrieb Guenther Huck: Hello Michael That’s perfect! Ich can send you some more CAN-ID’S. Tell me what is important for the first implementation. From: Michael Balzer Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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? From: Guenther Huck Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
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@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
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@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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Is there somewhere in the net a manual how to make a dbc-file impemention? Thx Guenther From: Mark Webb-Johnson Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers 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@webb-johnson.net> wrote: I think it best to also get a few CAN dumps: 1.. While car is parked, idle, asleep 2.. While car is parked, but awake 3.. 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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@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@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
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 Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e This is quite good: http://socialledge.com/sjsu/index.php/DBC_Format There are a large number of examples here: 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@guentherhuck.at> wrote: Is there somewhere in the net a manual how to make a dbc-file impemention? Thx Guenther From: Mark Webb-Johnson Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers 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@webb-johnson.net> wrote: I think it best to also get a few CAN dumps: 1.. While car is parked, idle, asleep 2.. While car is parked, but awake 3.. 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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev ------------------------------------------------------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@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@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
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@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@webb-johnson.net> Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@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@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Guenther, With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given: Put your DBC file in /store/dbc/<vehicletype>.dbc Load the DBC: ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc (or ‘dbc autoload’ to load all DBC files in that directory) Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm. Configure your vehicle type and assign the DBC to CAN bus #1 for it: config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype> Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats. At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool). Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100). Regards, Mark.
On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <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> <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> <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@guentherhuck.at <mailto:privat@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@webb-johnson.net <mailto:mark@webb-johnson.net>> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@webb-johnson.net> <mailto:mark@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@guentherhuck.at> <mailto:privat@guentherhuck.at <mailto:privat@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@expeedo.de <mailto:dexter@expeedo.de>> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@lists.openvehicles.com> <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@guentherhuck.at>> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hello Mark I tried to load the dbc file (test.dbc) from 500e to OVMS 3 but always get the error message : “Error: Failed to load DBC 500e from /sd/dbc/test.dbc” I can load a example file from leafpowertrain but not file from 500e. Maybe you can help me to find the mistake? Guenther From: Mark Webb-Johnson Sent: Tuesday, February 12, 2019 6:12 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e Guenther, With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given: 1.. Put your DBC file in /store/dbc/<vehicletype>.dbc 2.. Load the DBC: ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc (or ‘dbc autoload’ to load all DBC files in that directory) Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm. 3.. Configure your vehicle type and assign the DBC to CAN bus #1 for it: config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype> Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats. At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool). Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100). Regards, Mark. On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote: 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: 1.. Put your DBC file in /store/dbc/<vehicletype>.dbc. 2.. You should now find it automatically loaded on boot. You can use ‘dbc list’ to confirm. 3.. config set vehicle dbc.can1 <vehicletype> 4.. 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@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 Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e This is quite good: http://socialledge.com/sjsu/index.php/DBC_Format There are a large number of examples here: 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@guentherhuck.at> wrote: Is there somewhere in the net a manual how to make a dbc-file impemention? Thx Guenther From: Mark Webb-Johnson Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers 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@webb-johnson.net> wrote: I think it best to also get a few CAN dumps: 1.. While car is parked, idle, asleep 2.. While car is parked, but awake 3.. 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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@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@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@webb-johnson.net> > Sent: Thursday, February 07, 2019 2:44 PM > To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> >>> Sent: Wednesday, February 06, 2019 12:55 PM >>> To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> >>>> Sent: Tuesday, February 05, 2019 6:06 PM >>>> To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> >>> _______________________________________________ >>> OvmsDev mailing list >>> OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> >> >> >> _______________________________________________ >> OvmsDev mailing list >> OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> > > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com > http://lists.openvehicles.com/mailman/listinfo/ovmsdev > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com > http://lists.openvehicles.com/mailman/listinfo/ovmsdev ---------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hello Guenther, I have check your file with an editor dbc [image: image.png] And this is the error it see. regards, Olivier Le mer. 13 févr. 2019 à 20:13, Guenther Huck <privat@guentherhuck.at> a écrit :
Hello Mark
I tried to load the dbc file (test.dbc) from 500e to OVMS 3 but always get the error message : “Error: Failed to load DBC 500e from /sd/dbc/test.dbc”
I can load a example file from leafpowertrain but not file from 500e.
Maybe you can help me to find the mistake?
Guenther
*From:* Mark Webb-Johnson <mark@webb-johnson.net> *Sent:* Tuesday, February 12, 2019 6:12 AM *To:* OVMS Developers <ovmsdev@lists.openvehicles.com> *Subject:* Re: [Ovmsdev] Collecting information on the Fiat 500e
Guenther,
With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given:
1. Put your DBC file in /store/dbc/<vehicletype>.dbc
2. Load the DBC:
ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc
(or ‘dbc autoload’ to load all DBC files in that directory)
Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm.
3. Configure your vehicle type and assign the DBC to CAN bus #1 for it:
config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype>
Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats.
At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool).
Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100).
Regards, Mark.
On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:
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:
1. Put your DBC file in /store/dbc/<vehicletype>.dbc.
2. You should now find it automatically loaded on boot. You can use ‘dbc list’ to confirm.
3. config set vehicle dbc.can1 <vehicletype>
4. 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@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 <mark@webb-johnson.net> *Sent:* Friday, February 08, 2019 12:57 AM *To:* OVMS Developers <ovmsdev@lists.openvehicles.com> *Subject:* Re: [Ovmsdev] Collecting information on the Fiat 500e
This is quite good:
http://socialledge.com/sjsu/index.php/DBC_Format
There are a large number of examples here:
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@guentherhuck.at> wrote:
Is there somewhere in the net a manual how to make a dbc-file impemention?
Thx Guenther
*From:* Mark Webb-Johnson <mark@webb-johnson.net> *Sent:* Thursday, February 07, 2019 2:44 PM *To:* OVMS Developers <ovmsdev@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@webb-johnson.net> wrote:
I think it best to also get a few CAN dumps:
1. While car is parked, idle, asleep 2. While car is parked, but awake 3. 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@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 <dexter@expeedo.de> *Sent:* Wednesday, February 06, 2019 12:55 PM *To:* ovmsdev@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 <privat@guentherhuck.at> *Sent:* Tuesday, February 05, 2019 6:06 PM *To:* OVMS Developers <ovmsdev@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 listOvmsDev@lists.openvehicles.comhttp://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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@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@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@webb-johnson.net <mark@webb-johnson.net>> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <ovmsdev@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@webb-johnson.net < mailto:mark@webb-johnson.net <mark@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@guentherhuck.at < mailto:privat@guentherhuck.at <privat@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@expeedo.de <dexter@expeedo.de>> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com < mailto:ovmsdev@lists.openvehicles.com <ovmsdev@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@guentherhuck.at <privat@guentherhuck.at>> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com <OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com <OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev < http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com <OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev < http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com <OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev < http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
This is what I get: OVMS# dbc load guenther /sd/testdbc/test.dbc Error: Failed to load DBC guenther from /sd/testdbc/test.dbc E (71557) dbc-parser: Error in line 267 'syntax error, unexpected T_BA_DEF, expecting T_SEMICOLON or T_INT_VAL', symbol 'BA_DEF_' Problem is that the BA_* symbols are not currently used or supported. Removing those, I get: OVMS# dbc load guenther /sd/testdbc/test.dbc Loaded DBC guenther ok We only currently support integer (signed or unsigned) metrics in DBC files, so BA_* not really useful for us. At some point, I will add support (primarily to get string and floating point signals). Regards, Mark.
On 14 Feb 2019, at 3:11 AM, Guenther Huck <privat@guentherhuck.at> wrote:
Hello Mark
I tried to load the dbc file (test.dbc) from 500e to OVMS 3 but always get the error message : “Error: Failed to load DBC 500e from /sd/dbc/test.dbc”
I can load a example file from leafpowertrain but not file from 500e.
Maybe you can help me to find the mistake?
Guenther
From: Mark Webb-Johnson <mailto:mark@webb-johnson.net> Sent: Tuesday, February 12, 2019 6:12 AM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
Guenther,
With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given:
Put your DBC file in /store/dbc/<vehicletype>.dbc
Load the DBC:
ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc
(or ‘dbc autoload’ to load all DBC files in that directory)
Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm.
Configure your vehicle type and assign the DBC to CAN bus #1 for it:
config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype>
Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats.
At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool).
Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100).
Regards, Mark.
On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>> wrote:
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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> > Sent: Tuesday, February 05, 2019 6:06 PM > To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <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> <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> <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@guentherhuck.at <mailto:privat@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@webb-johnson.net <mailto:mark@webb-johnson.net>> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@webb-johnson.net> <mailto:mark@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@guentherhuck.at> <mailto:privat@guentherhuck.at <mailto:privat@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@expeedo.de <mailto:dexter@expeedo.de>> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@lists.openvehicles.com> <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@guentherhuck.at>> > Sent: Tuesday, February 05, 2019 6:06 PM > To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev <test.dbc><leafPowerTrainBus.dbc>_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hello Mark Sorry that I have to ask you again: I loaded the dbc file now and this worked fine. Then I renamed one of my dbc signal names to v_c_current After this I reloaded the file and worked fine again. But if I check I do not get any information on v_c_current. Is there anything more I have to do? ************* dbc load 500e /sd/dbc/test2.dbc Loaded DBC 500e ok dbc list 500e: 6 message(s); 48 signal(s); 91% coverage config set auto vehicle.type DBC Parameter has been set. config set vehicle dbc.can1 500e Parameter has been set. metrics list Thx’s Guenther From: Mark Webb-Johnson Sent: Thursday, February 14, 2019 1:58 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e This is what I get: OVMS# dbc load guenther /sd/testdbc/test.dbc Error: Failed to load DBC guenther from /sd/testdbc/test.dbc E (71557) dbc-parser: Error in line 267 'syntax error, unexpected T_BA_DEF, expecting T_SEMICOLON or T_INT_VAL', symbol 'BA_DEF_' Problem is that the BA_* symbols are not currently used or supported. Removing those, I get: OVMS# dbc load guenther /sd/testdbc/test.dbc Loaded DBC guenther ok We only currently support integer (signed or unsigned) metrics in DBC files, so BA_* not really useful for us. At some point, I will add support (primarily to get string and floating point signals). Regards, Mark. On 14 Feb 2019, at 3:11 AM, Guenther Huck <privat@guentherhuck.at> wrote: Hello Mark I tried to load the dbc file (test.dbc) from 500e to OVMS 3 but always get the error message : “Error: Failed to load DBC 500e from /sd/dbc/test.dbc” I can load a example file from leafpowertrain but not file from 500e. Maybe you can help me to find the mistake? Guenther From: Mark Webb-Johnson Sent: Tuesday, February 12, 2019 6:12 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e Guenther, With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given: 1.. Put your DBC file in /store/dbc/<vehicletype>.dbc 2.. Load the DBC: ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc (or ‘dbc autoload’ to load all DBC files in that directory) Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm. 3.. Configure your vehicle type and assign the DBC to CAN bus #1 for it: config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype> Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats. At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool). Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100). Regards, Mark. On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net> wrote: 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: 1.. Put your DBC file in /store/dbc/<vehicletype>.dbc. 2.. You should now find it automatically loaded on boot. You can use ‘dbc list’ to confirm. 3.. config set vehicle dbc.can1 <vehicletype> 4.. 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@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 Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e This is quite good: http://socialledge.com/sjsu/index.php/DBC_Format There are a large number of examples here: 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@guentherhuck.at> wrote: Is there somewhere in the net a manual how to make a dbc-file impemention? Thx Guenther From: Mark Webb-Johnson Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers 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@webb-johnson.net> wrote: I think it best to also get a few CAN dumps: 1.. While car is parked, idle, asleep 2.. While car is parked, but awake 3.. 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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev ------------------------------------------------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@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@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@webb-johnson.net> > Sent: Thursday, February 07, 2019 2:44 PM > To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> >>> Sent: Wednesday, February 06, 2019 12:55 PM >>> To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> >>>> Sent: Tuesday, February 05, 2019 6:06 PM >>>> To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> >>> _______________________________________________ >>> OvmsDev mailing list >>> OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> >> >> >> _______________________________________________ >> OvmsDev mailing list >> OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> >> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> > > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com > http://lists.openvehicles.com/mailman/listinfo/ovmsdev > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com > http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev ------------------------------------------------------------------------------ _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev <test.dbc><leafPowerTrainBus.dbc>_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Guenther, Did you load the vehicle module? The ‘vehicle status’ command will show what is running. Also, the firmware you are using seems to be 3.2.001. I guess you are on ‘main’ ota updates. To get the latest DBC code, you will need to be on ‘edge’. Best is for you to get a CAN bus dump (crtd format), and send that plus the test dbc to me to verify. Regards, Mark.
On 15 Feb 2019, at 2:46 AM, Guenther Huck <privat@guentherhuck.at> wrote:
Hello Mark
Sorry that I have to ask you again:
I loaded the dbc file now and this worked fine.
Then I renamed one of my dbc signal names to v_c_current
After this I reloaded the file and worked fine again. But if I check I do not get any information on v_c_current.
Is there anything more I have to do?
************* dbc load 500e /sd/dbc/test2.dbc Loaded DBC 500e ok dbc list 500e: 6 message(s); 48 signal(s); 91% coverage config set auto vehicle.type DBC Parameter has been set. config set vehicle dbc.can1 500e Parameter has been set. metrics list <image[1].png> <image[3].png> <image[5].png> <image[7].png>
Thx’s Guenther
From: Mark Webb-Johnson <mailto:mark@webb-johnson.net>
Sent: Thursday, February 14, 2019 1:58 AM
To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com>
Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
This is what I get:
OVMS# dbc load guenther /sd/testdbc/test.dbc Error: Failed to load DBC guenther from /sd/testdbc/test.dbc E (71557) dbc-parser: Error in line 267 'syntax error, unexpected T_BA_DEF, expecting T_SEMICOLON or T_INT_VAL', symbol 'BA_DEF_'
Problem is that the BA_* symbols are not currently used or supported.
Removing those, I get:
OVMS# dbc load guenther /sd/testdbc/test.dbc Loaded DBC guenther ok
We only currently support integer (signed or unsigned) metrics in DBC files, so BA_* not really useful for us. At some point, I will add support (primarily to get string and floating point signals).
Regards, Mark.
On 14 Feb 2019, at 3:11 AM, Guenther Huck <privat@guentherhuck.at <mailto:privat@guentherhuck.at>> wrote:
Hello Mark
I tried to load the dbc file (test.dbc) from 500e to OVMS 3 but always get the error message : “Error: Failed to load DBC 500e from /sd/dbc/test.dbc”
I can load a example file from leafpowertrain but not file from 500e.
Maybe you can help me to find the mistake?
Guenther
From: Mark Webb-Johnson <mailto:mark@webb-johnson.net> Sent: Tuesday, February 12, 2019 6:12 AM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com> Subject: Re: [Ovmsdev] Collecting information on the Fiat 500e
Guenther,
With the latest code (3.2.001-80-g731c916e or later), you should be able to try this. Instructions are pretty much the same as previously given:
Put your DBC file in /store/dbc/<vehicletype>.dbc
Load the DBC:
ovms# dbc load <vehicletype> /store/dbc/<vehicletype>.dbc
(or ‘dbc autoload’ to load all DBC files in that directory)
Note: It should be automatically loaded on boot, and you can use ‘dbc list’ to confirm.
Configure your vehicle type and assign the DBC to CAN bus #1 for it:
config set auto vehicle.type DBC config set vehicle dbc.can1 <vehicletype>
Within the DBC, set the signal name the same as the OVMS metric name (you can use periods ‘.’ as separators, or ‘_’ will be converted automatically for you). Connect to the car, and the CAN bus data should start to be processed and metrics updated based on your DBC file. Only integer DBC signals are supported (either signed or unsigned should be ok), but factors and/or offsets can convert these automatically to floats.
At the moment, you can only change the DBC on disk (/store/dbc/*.dbc) then reload it. However, it will be locked (as it is used by your OvmsVehicleDBC vehicle) . So you will have to either clear the vehicle module (‘vehicle module’), reload the DBC, then reload the vehicle module (‘vehicle module DBC’). Alternatively, you can simply reboot the OVMS. Later on I will improve on this to support hot-reloading and in-memory modification of live DBC files (via retool).
Remember that extended CAN IDs need to have the high bit set in DBC format. So, extended ID 100 is 2147483748 (2^31 + 100).
Regards, Mark.
On 11 Feb 2019, at 11:35 AM, Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>> wrote:
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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Friday, February 08, 2019 12:57 AM To: OVMS Developers <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@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@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> > Sent: Wednesday, February 06, 2019 12:55 PM > To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> >> Sent: Tuesday, February 05, 2019 6:06 PM >> To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <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> <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> <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@guentherhuck.at <mailto:privat@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@webb-johnson.net <mailto:mark@webb-johnson.net>> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@webb-johnson.net> <mailto:mark@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@guentherhuck.at> <mailto:privat@guentherhuck.at <mailto:privat@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@expeedo.de <mailto:dexter@expeedo.de>> > Sent: Wednesday, February 06, 2019 12:55 PM > To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@lists.openvehicles.com> <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at <mailto:privat@guentherhuck.at>> >> Sent: Tuesday, February 05, 2019 6:06 PM >> To: OVMS Developers <mailto:ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> >> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>> > _______________________________________________ > OvmsDev mailing list > OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> > http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> <mailto:OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <test.dbc><leafPowerTrainBus.dbc>_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hello Mark I will try do send you a dump file from the 500e. How can I load the dbc file? I tried with : ‘dbc load ccan.dbc /sd/’ but this does not work Gunther From: Mark Webb-Johnson Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers 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@webb-johnson.net> wrote: I think it best to also get a few CAN dumps: 1.. While car is parked, idle, asleep 2.. While car is parked, but awake 3.. 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@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 Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@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 Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers 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@lists.openvehicles.com 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@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -------------------------------------------------------------------------------- _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
How can I load the dbc file? I tried with : ‘dbc load ccan.dbc /sd/’ but this does not work <wlEmoticon-sadsmile[1].png>
Try: dbc load 500e /sd/ccan.dbc Regards, Mark.
On 8 Feb 2019, at 5:24 AM, Guenther Huck <privat@guentherhuck.at> wrote:
Hello Mark
I will try do send you a dump file from the 500e.
How can I load the dbc file? I tried with : ‘dbc load ccan.dbc /sd/’ but this does not work <wlEmoticon-sadsmile[1].png>
Gunther
From: Mark Webb-Johnson <mailto:mark@webb-johnson.net> Sent: Thursday, February 07, 2019 2:44 PM To: OVMS Developers <mailto:ovmsdev@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@webb-johnson.net <mailto:mark@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@guentherhuck.at <mailto:privat@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@expeedo.de> Sent: Wednesday, February 06, 2019 12:55 PM To: ovmsdev@lists.openvehicles.com <mailto:ovmsdev@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@guentherhuck.at> Sent: Tuesday, February 05, 2019 6:06 PM To: OVMS Developers <mailto:ovmsdev@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@lists.openvehicles.com <mailto:OvmsDev@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@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev> _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com <mailto:OvmsDev@lists.openvehicles.com> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Welcome Jason, I'm in contact with a potential developer for the Fiat 500e adaptation. I've informed him about your offer, maybe he'll contact you or join in. Regarding reverse engineering of the Fiat protocol, it's of course a great advantage being able to capture the original telematics control communication. I'm not familiar with the Ross-Tech and AlfaOBD. You need an interface able to continuously capture at the full bus speed, which no ELM327 compatible is capable of. If the Ross-Tech or AlfaOBD also cannot do that, check for example for an AGV4000, I've been using one of them for 500 kbit captures. A simple Arduino with a standard 16 Mhz CAN module will also be able to capture at full 500 kbit, for example using my Arduino CanLogger: https://github.com/dexterbg/CanLogger Some general hints on the capturing: Activate time stamps on the capturing. Use separate trace files for separate functions / groups. Follow a strict test protocol, so notes & files can be mapped reliably. Begin with noting down the current dashboard readings, so the values can be identified in the capture. Redo captures at different gauge levels (i.e. SOC, odometer, temperatures, tire pressures etc.). Test one car function at a time, note the log timestamps of each invocation and reaction. Begin with simple functions like pushing buttons, activating lights etc., continue with pedals etc. When testing the telematics control functions, note down the possible parameters (like temperature on climate control), then invoke the function at some different settings for each parameter (again, change one parameter at a time). You don't need to check all values in range, just 2-3 strategic points. Do some live driving captures, best on a test track, with a simple acceleration / speed profile. If the Fiat does not react to standard OBD requests, it may use custom OBD addresses or the CANopen protocol. This can normally be deducted from the captured CAN frames. You can also Regards, Michael Am 08.01.2018 um 16:07 schrieb Jason Perkins:
OVMS team,
As an owner of a Fiat 500e I was very interested when I stumbled across this project on the TMC forums. The Fiat factory telematics system deactivates 3 years from the original vehicle sale and is non renewable. I think FCA wants to kill the whole system at this point (it's been replaced with the corporate UConnect system) so another solution would be ideal.
I have a 2013 500e with deactivated telematics, and our roommate has a 2014 with working telematics. If any data could be captured from the car with working telematics (branded as Fiat Access) to assist integrating OVMS I'd love to help.
The Fiat Access telematics provides vehicle location, battery level, tire pressure, setting the charge schedules, locking / unlocking the car, and starting the climate control. I believe the actual control unit was adapted from some kind of remote-disablement system used in europe (the Fiat literature calls this the Vehicle Tracking Module).
The Fiat has a normal J1962 plug, but does not have OBDII protocol support. Like the Kia Soul the powertrain CAN on pin 6 / 14 and the body CAN on 1 / 9.
There's no telling how long the telematics will keep working on our roommates '14, so doing a capture sooner than later would be good. I'm open to any suggestions on how best to do this. The car related diag tools I have on hand are: ELM327 Bluetooth, Ross-Tech VCDS (For VW / Audi Products), and AlfaOBD (which can talk to most of the modules in the 500e - but not the VTM :( ), and an adapter to swap the CAN wires so a standard interface can get to the Body CAN.
Thanks!
-J
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
Am 08.01.2018 um 18:28 schrieb Michael Balzer:
You can also
…check if some 3rd party OBD diag tool already supports the 500e. http://www.fiat500usaforum.com/showthread.php?28054-500e-diagnostic-tools Regards, Michael -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
participants (5)
-
Guenther Huck -
Jason Perkins -
Mark Webb-Johnson -
Michael Balzer -
Olivier