[Ovmsdev] Kia Soul EV version 0.2 problems

Robert Cotran robert at cotran.ca
Thu Nov 5 10:24:09 HKT 2015


Thanks for this, Tom!

I'll get this Perl script running shortly.  First I have to figure out 
if the OVMS module is being interpreted as "bad" to the Soul EV.  Had 
some strange things happen with it just now...

Rob

On 11/4/2015 7:48 PM, Tom Saxton wrote:
> Hi Rob,
>
> I have a Perl script I use to access the info on the server through 
> the HTTP api.
>
> I've attached a zip archive with three scripts. The one you want is 
> ovms.pl. First, customize it with your account info, then run "ovms.pl 
> s" from the command line. That will dump out the recent records, a day 
> or two, that the server has received from the module. The other 
> scripts are to automate downloading everything and maintaining a 
> complete archive. I can explain in more detail if you care.
>
>     Tom
>
> On 11/4/15, 2:46 PM, "Robert Cotran" <robert at cotran.ca 
> <mailto:robert at cotran.ca>> wrote:
>
> Hi guys,
>
> So I have the smartphone app connecting to "the car" and getting very 
> limited info.  So far I can get the location of the car and the OVMS 
> firmware version as 2.8.1/KS0.2/V2.  I also get the GPS location.
>
> However, I'm not getting any car specific information such as VIN (yes 
> I sent the FEATURE 15 1 command), or state of charge.  Could that be a 
> problem with the OVMS firmware that Michael and Geir wrote, or is it 
> something else?
>
> I'm assuming that this works with the car completely off right?  The 
> OBDII port definitely gets power, but I don't know if there is any 
> other network traffic when it's off.
>
> Is there a way for me to tap into the tmc.openvehicles.com server with 
> an API or something to see the raw information the modules are sending 
> it?  How often do the modules update the server?
>
> Thanks, and sorry for all the noob questions.
>
> Rob
>
> On 11/4/2015 5:23 PM, Robert Cotran wrote:
>> I'm up and running!
>>
>> The power is to the module is now stable, and I went out and got a 
>> Rogers SIM (not a Bell SIM -- attention Canadians, Bell SIMs do NOT 
>> work), and I can talk to the car finally.
>>
>> PHEW!
>>
>> I got a data-only plan so SMSes are 15c each, so I really want to 
>> figure out how to get data (GPRS) communications working in an ad hoc 
>> way because I can't rely on text messages -- too expensive.  I'll do 
>> some reading about that.
>>
>> Then I'll start testing out the Kia Soul EV specific functionality.
>>
>> Woohoo!  this is awesome!
>>
>> Rob
>>
>> On 11/3/2015 2:48 PM, Robert Cotran wrote:
>>> OK so I had/have two problems:
>>>
>>> 1) the OVMS board had a bad connection on the ground input, so power 
>>> wasn't getting to the board properly hence the weird flashing 
>>> lights.  We fixed that with a more solid ground connection soldered 
>>> to a couple pins.
>>>
>>> 2) the SIM card I'm using does NOT work with the board. I hooked up 
>>> the diag port and it says "NOT INSERTED" for CPIN.  With another 
>>> cellular provider's SIM, it did work.  So now I have to find a way 
>>> to get this happening.  I can only get cheap data with my current 
>>> provider, so I'm going to hunt for an old SIM that might work.
>>>
>>> So things are on pause until I'm able to do that...
>>>
>>> Rob
>>>
>>> On 11/2/2015 8:22 AM, Mark Webb-Johnson wrote:
>>>> About 200mA would be safest. A bench 12V power supply is fine.
>>>>
>>>> Regards, Mark
>>>>
>>>>> On 2 Nov 2015, at 9:20 PM, Robert Cotran <robert at cotran.ca> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I will definitely hook up to the diag port. I do have a USB-serial 
>>>>> cable.  Thanks for that suggestion!
>>>>>
>>>>> Does anyone know if one can power the unit "on a bench" using a 
>>>>> 12V adapter?  I read that the OBDII port only gives out a max of 
>>>>> 100mA, is that true?  If it is true, a small 12V adapter should be 
>>>>> fine...
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Rob
>>>>>
>>>>> On 11/1/2015 9:25 PM, Mark Webb-Johnson wrote:
>>>>>> The other thing to suggest is if you have a USB-serial cable and 
>>>>>> a laptop, you can plug into the DIAG port at 9600baud, and have a 
>>>>>> look at the messages from the modem. That should tell you exactly 
>>>>>> what is going on. But if you count the blinks, and they go 10 
>>>>>> then 9 then reset then 10 then 9, it is most likely the SIM 
>>>>>> connection.
>>>>>>
>>>>>> Regards, Mark.
>>>>>>
>>>>>>> On 2 Nov, 2015, at 4:59 am, Robert Cotran <robert at cotran.ca> wrote:
>>>>>>>
>>>>>>> Hi all again,
>>>>>>>
>>>>>>> I'm really not having any luck here.
>>>>>>>
>>>>>>> I've tried three different SIM cards now, and they all do 
>>>>>>> exactly the same thing.  I haven't read anywhere about the red 
>>>>>>> and green lights being on simultaneously and flashing like crazy 
>>>>>>> so I'm really starting to suspect that the hardware is 
>>>>>>> defective.  I wish I had another kit lying around.
>>>>>>>
>>>>>>> The kit I have is from my friend but it's brand new, it has 
>>>>>>> never been used in a car before.
>>>>>>>
>>>>>>> I'm wondering if I should just order another kit to see if the 
>>>>>>> same thing happens.
>>>>>>>
>>>>>>> I did have a question.  If I simply power the OBDII port on the 
>>>>>>> kit with 12V, should it power up normally?  I could test that...
>>>>>>>
>>>>>>> Geir, my car is in Canada, so I don't have UVO services 
>>>>>>> unfortunately, hence the reason I'd really like to get this 
>>>>>>> going!  I'm on the KIA Soul EV forums, and once I have this 
>>>>>>> working, I'll try to rope in someone in the US who would be 
>>>>>>> willing to monitor their CAN Bus so we can snoop and try to copy 
>>>>>>> the HVAC calls.
>>>>>>>
>>>>>>> Rob
>>>>>>>
>>>>>>> On 11/1/2015 12:09 PM, Michael Balzer wrote:
>>>>>>>> Rob,
>>>>>>>>
>>>>>>>> green 8 + red 4 = SIM lock... I don't know how a phone could 
>>>>>>>> use a locked SIM for data, but just try setting and again 
>>>>>>>> removing the SIM lock with the SIM toolkit.
>>>>>>>>
>>>>>>>> Some (very few) SIMs just don't work in the OVMS, it's unlikely 
>>>>>>>> you stumbled across two of them.
>>>>>>>>
>>>>>>>> I once had the effect of a flash process that failed without 
>>>>>>>> any error output, so you also should try re-flashing.
>>>>>>>>
>>>>>>>> Of course the hardware can be broken too, i.e. bad SIM slot 
>>>>>>>> soldering causing data errors or bad antenna connection. As 
>>>>>>>> your module has been used before (I assume?) that's quite unlikely.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Michael
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 01.11.2015 um 17:40 schrieb Robert Cotran:
>>>>>>>>> Hi again,
>>>>>>>>>
>>>>>>>>> I tried the SIM card in a cell phone.  Worked perfectly, got 
>>>>>>>>> data connection and was able to download data.
>>>>>>>>>
>>>>>>>>> I doubt it's locked, it's brand new.  The phone didn't ask me 
>>>>>>>>> for a code.
>>>>>>>>>
>>>>>>>>> I verified the antennas are plugged correctly.
>>>>>>>>>
>>>>>>>>> Can the OVMS kit be defective?  Does that happen?
>>>>>>>>>
>>>>>>>>> Could the KIA firmware specifically have caused an issue?  
>>>>>>>>> Then again, Geir has it working no problem.
>>>>>>>>>
>>>>>>>>> :(
>>>>>>>>>
>>>>>>>>> Rob
>>>>>>>>>
>>>>>>>>> On 11/1/2015 10:48 AM, Michael Jochum wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> have you tried the SIM Card in an Cell Phone? Did this work?
>>>>>>>>>> Is the Card locked with a Pin code? OVMS can't handle PIN 
>>>>>>>>>> locked cards.
>>>>>>>>>> Do you connect the Antennas to their right plugs?
>>>>>>>>>>
>>>>>>>>>> Bye
>>>>>>>>>> Michael
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Am 01.11.2015 um 16:13 schrieb Robert Cotran <robert at cotran.ca>:
>>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I'm happy to see that it looks like development of the Kia 
>>>>>>>>>>> Soul EV firmware is going to continue, thanks to Micheal and 
>>>>>>>>>>> Geir!
>>>>>>>>>>>
>>>>>>>>>>> I went out and bought a dedicated SIM for the OVMS kit 
>>>>>>>>>>> yesterday and flashed the OVMS with 0.2 of the Kia Soul 
>>>>>>>>>>> firmware and I flashed the EEPROM as well since this is a 
>>>>>>>>>>> new installation and there's nothing on the kit yet.
>>>>>>>>>>>
>>>>>>>>>>> It's still not working unfortunately. When I plug it into 
>>>>>>>>>>> the car, the red LED comes on for a few seconds, then the 
>>>>>>>>>>> red and green flash a bit, and then they both stay off for 
>>>>>>>>>>> about 10-15 seconds, then the green flashes 10 times, then 9 
>>>>>>>>>>> times, then I think 8 or 9 times, and then the red LED 
>>>>>>>>>>> flashes a few times while the green is flashing, and then 
>>>>>>>>>>> then both start to flash on and off extremely fast, so fast 
>>>>>>>>>>> that it looks like they are both on solid.  They stay like 
>>>>>>>>>>> this for about 7 or 8 seconds, and then it starts all over 
>>>>>>>>>>> again from the 10, 9 on green.
>>>>>>>>>>>
>>>>>>>>>>> I've followed the Roadster guide to getting this up and 
>>>>>>>>>>> running, I've cleaned the SIM contacts and I've tried two 
>>>>>>>>>>> different SIM cards, so I'm a bit lost as to what I can try 
>>>>>>>>>>> next.
>>>>>>>>>>>
>>>>>>>>>>> Does anyone have any suggestions?
>>>>>>>>>>>
>>>>>>>>>>> Thanks!
>>>>>>>>>>>
>>>>>>>>>>> Rob
>>>>>>>>>>>
>>>>>>>>>>> On 10/31/2015 5:20 PM, Michael Balzer wrote:
>>>>>>>>>>>> Welcome Robert :-)
>>>>>>>>>>>>
>>>>>>>>>>>> Basic setup of the Kia firmware is the same as for other 
>>>>>>>>>>>> models. So you can follow the Roadster guide or one of the 
>>>>>>>>>>>> Twizy guides first.
>>>>>>>>>>>>
>>>>>>>>>>>> You wrote to me you got the module from a friend, so you 
>>>>>>>>>>>> should first flash once without preserving EEPROM to get a 
>>>>>>>>>>>> clean config to start with.
>>>>>>>>>>>>
>>>>>>>>>>>> Follow Marks link to the support FAQ if you get stuck in 
>>>>>>>>>>>> the config process. To diag LED flash codes, also take a 
>>>>>>>>>>>> look at the state machine diagram in the main docs folder. 
>>>>>>>>>>>> If you need help, describe exactly (!) which doc you've 
>>>>>>>>>>>> been following and what you have done so far.
>>>>>>>>>>>>
>>>>>>>>>>>> If you're stuck at 10/9... maybe you should first check if 
>>>>>>>>>>>> the SIM card has contact.
>>>>>>>>>>>>
>>>>>>>>>>>> Kia V0.1 only reads some first status messages and obtains 
>>>>>>>>>>>> the VIN if you enable CAN write access (FEATURE 15 1). I've 
>>>>>>>>>>>> currently got one positive and one negative test feedback 
>>>>>>>>>>>> for this version.
>>>>>>>>>>>>
>>>>>>>>>>>> Would be great if you could also check V0.2 -- it's in my 
>>>>>>>>>>>> account on github:
>>>>>>>>>>>> https://github.com/dexterbg/Open-Vehicle-Monitoring-System
>>>>>>>>>>>> ...hex:
>>>>>>>>>>>> http://dexters-web.de/f/kiasoul/OVMS-KiaSoul-0.2.zip
>>>>>>>>>>>>
>>>>>>>>>>>> This _should_ be able to show some first OBD diag data 
>>>>>>>>>>>> dumps (DEBUG 1 / 5)... as I don't have a Kia, I need 
>>>>>>>>>>>> qualified beta test feedback.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Michael
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Am 31.10.2015 um 14:16 schrieb Robert Cotran:
>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I'm replying to Micheal Balzer's email from yesterday.  I 
>>>>>>>>>>>>> wasn't on the mailing list until late yesterday afternoon, 
>>>>>>>>>>>>> hence I'm not able to click reply.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've got a Kia Soul EV 2016 in Canada which doesn't have 
>>>>>>>>>>>>> the UVO services, so this is of great interest to me.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have the OVMS kit in front of me, but I'm a total 
>>>>>>>>>>>>> newbie, so I'm reading through some guides to get started.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Just wanted to say that I'll gladly be the guinea pig for 
>>>>>>>>>>>>> this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> What I'd REALLY like is to have a way to remotely turn on 
>>>>>>>>>>>>> the climate control system to warm up/cool down the car at 
>>>>>>>>>>>>> will. Hopefully that's a remote possibility. Tracking it 
>>>>>>>>>>>>> is cool, but controlling it is even better.  I'm used to a 
>>>>>>>>>>>>> Tesla (my other car), so I am quite spoiled.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I did get Micheal's firmware installed on the OVMS and 
>>>>>>>>>>>>> hooked it up to the car but it's not booting properly 
>>>>>>>>>>>>> (based on status LEDs). Can that be because of the 
>>>>>>>>>>>>> firmware or is the bootup sequence separate from the 
>>>>>>>>>>>>> car-control code?
>>>>>>>>>>>>>
>>>>>>>>>>>>> The LEDs flash like - 10 Green, 9 Green, 10 Green, 9 
>>>>>>>>>>>>> Green, then a few reds, then green and red flash together 
>>>>>>>>>>>>> really fast.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I tried sending text messages to the board and no dice.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any help would be appreciated, looking forward to getting 
>>>>>>>>>>>>> this working!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Robert
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> OvmsDev mailing list
>>>>>>>>>>>>> OvmsDev at 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
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> OvmsDev mailing list
>>>>>>>>>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> OvmsDev mailing list
>>>>>>>>>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>>>>>>>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> OvmsDev mailing list
>>>>>>>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> OvmsDev mailing list
>>>>>>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
>>>>>>>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> OvmsDev mailing list
>>>>>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OvmsDev mailing list
>>>>>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>>>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> OvmsDev mailing list
>>>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>>
>>>>> _______________________________________________
>>>>> OvmsDev mailing list
>>>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> OvmsDev mailing list
>>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>
>>
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hkhttp://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
> _______________________________________________ OvmsDev mailing list 
> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk> 
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20151104/9af1c565/attachment.htm>


More information about the OvmsDev mailing list