[Ovmsdev] "New" car add

Tamás Kovács kommykt at gmail.com
Fri Sep 14 01:16:32 HKT 2018


I use first time github, commit change, and push to my github reposytory:
gitHub
<https://github.com/KommyKT/Open-Vehicle-Monitoring-System-3/tree/upsteam/peugeot>,
and after pull request (I should not have done it)


Mark Webb-Johnson <mark at webb-johnson.net> ezt írta (időpont: 2018. szept.
12., Sze, 6:46):

> Easiest way would be for you to commit changes, push to a github
> repository, then let us know where that is so that we can check. Very hard
> to help find where the issue is, without actually being able to see the
> code.
>
> When the module starts, it will show initialisation of modules - please
> check to ensure your module shows up there. If initialisation works, then
> check the vehicle list to be sure it is registered.
>
> Regards, Mark.
>
> On 12 Sep 2018, at 12:22 PM, Tamás Kovács <kommykt at gmail.com> wrote:
>
> In component.mk and main/Kconfig has the same name.
> Kconfig: config OVMS_VEHICLE_PEUGEOT
> component.mk (in vehicle folder): CONFIG_OVMS_VEHICLE_PEUGEOT
>
> Mark Webb-Johnson <mark at webb-johnson.net> ezt írta (időpont: 2018. szept.
> 12., Sze, 5:40):
>
>> It seems your module is not compiled in / registered (if it doesn’t
>> appear in vehicle list).
>>
>> Can you check your component.mk (the one in your vehicle directory, not
>> the mail project one you attached). Make sure it matches the main/Kconfig
>> name (with CONFIG at the start).
>>
>> Regards, Mark.
>>
>> On 12 Sep 2018, at 12:11 AM, Tamás Kovács <kommykt at gmail.com> wrote:
>>
>>
>>    - In attachment
>>    - compare on attachment picture
>>    - OvmsVehiclePeugeotInit::OvmsVehiclePeugeotInit()
>>
>>   {
>>   ESP_LOGI(TAG, "Registering Vehicle: PEUGEOT ION (9000)");
>>
>>   MyVehicleFactory.RegisterVehicle<OvmsVehiclePeugeot>("PI","Peugeot
>> iOn");
>>   }
>>
>>
>>    - OvmsVehiclePeugeot::OvmsVehiclePeugeot()
>>
>>   {
>>   ESP_LOGI(TAG, "Start Peugeot  vehicle module");
>>
>>   mi_candata_timer = 0;
>>   mi_est_range = 0;
>>   mi_stale_charge = 0;
>>   mi_QC = 0;
>>   mi_QC_counter = 5;
>>   mi_last_good_SOC = 0;
>>   mi_last_good_range = 0;
>>   memset(m_vin,0,sizeof(m_vin));
>>   memset(mi_batttemps,0,sizeof(mi_batttemps));
>>
>>   RegisterCanBus(1,CAN_MODE_ACTIVE,CAN_SPEED_500KBPS);
>>
>>   // require GPS:
>>   MyEvents.SignalEvent("vehicle.require.gps", NULL);
>>   MyEvents.SignalEvent("vehicle.require.gpstime", NULL);
>>   }
>>
>>    - Type Name
>>       - DEMO Demonstration vehicle
>>       - FT5E Fiat 500e
>>       - KS   Kia Soul EV
>>       - MI   Mitsubishi iMiev
>>       - NL   Nissan Leaf
>>       - NONE Empty vehicle
>>       - O2   OBDII
>>       - RT   Renault Twizy
>>       - TGTC Think City
>>       - TR   Tesla Roadster
>>       - TS   Tesla Model S
>>       - VA   Volt/Ampera
>>       - XX   TRACK
>>       - ZEVA ZEVA BMS
>>
>>
>>
>>
>> Mark Webb-Johnson <mark at webb-johnson.net> ezt írta (időpont: 2018.
>> szept. 11., K, 3:07):
>>
>>> Can you show the source code for your module (github repository?), or
>>> just:
>>>
>>>
>>>    - Your component.mk
>>>    - The changes you have made to sdkconfig
>>>    - Your OvmsVehicle***Init::OvmsVehicle**Init() function
>>>    - Your OvmsVehicle***::OvmsVehicle***() function
>>>    - Output of ‘vehicle list’ command
>>>
>>>
>>> Regards, Mark.
>>>
>>> On 11 Sep 2018, at 2:27 AM, Tamás Kovács <kommykt at gmail.com> wrote:
>>>
>>> Hi, i have a Peugoet iOn, some week ago i buy a OVMS v3.1 kit. Works
>>> well the basic functions for my car with Mitsubishi profile. I want to
>>> create a own profile for my car for testing, my own code, but i
>>> duplicate mitsubishi files in components folder, and all mitsubishi
>>> change to peugeot (case sensitive), and vehicle code modified to PI,
>>> and duplicate mitsibishi code in main/Kconfig and modify to peugeot,
>>> but i can not see in the web interface after make flash. After add it
>>> make show a question: add Peugeot to... i write Y, but nothing happen.
>>> I use MacOS High Sierra, and atom for modify files.
>>> <Screen Shot 2018-09-06 at 8.17.21.png><Screen Shot 2018-09-06 at
>>> 8.17.35.png>_______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>>
>>
>>
>> --
>> Üdvözlettel:
>> Kovács Tamás
>> <component.mk><Screen Shot 2018-09-11 at 6.04.29.png>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>
>
> --
> Üdvözlettel:
> Kovács Tamás
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>


-- 
Üdvözlettel:
Kovács Tamás
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180913/fc13ac47/attachment.html>


More information about the OvmsDev mailing list