lorenzo-deluca / silence-private-server

Self-Hosted solution for Silence and Seat scooter’s Astra GPS module, ensuring data privacy and independence from the manufacturer.
https://buymeacoffee.com/lorenzodeluca
GNU Affero General Public License v3.0
20 stars 0 forks source link

Seat Mo RS232 #6

Open lucasimons opened 3 weeks ago

lucasimons commented 3 weeks ago

Hi, i m tryng to connect to my Seat but i recive some strange data, i have also triple checked the connectio and tried to swap tx and rx

I connect the cable to OBD port and RS232 to my laptop, after i turn on the Seat and start the comunication on the terminal... This is the result

image

I see some info are missing when the serial comunication is strarted

IMG_20240820_111725.jpg

IMG_20240820_111723.jpg

noiwid commented 1 week ago

Hello,

I also had a lot of difficulties connecting my SEAT Mo. I managed to do it by changing the mapping of my OBD/RS232 cable.

I'm not sure if the OBD plug is wired on the SEAT the same way as on Silence; here is what worked for me:

It's based on this OBD scheme : image

You can see below what kind of cables I used : image + image

I hope this will help :)

Mocheto commented 1 week ago

Hello!

Today I've tried to plug my laptop with my recent adquisition from Aliexpress and I had same issue with my SEAT. Maybe is my other way to connect throught cable as cheaper mechanism hahaha

IMG_20240903_093822

I think all are connected ok, but I got no response. I gonna try your configuration . I will explain the news afterward.

BTW, I wanted to use docker image and docker is not pushed, or pushed in a private repository, I built and pushed at my docker account to use it, it is just an advice to clarify / improve readme file to install and run private server as docker.

Maybe I will create a PR improving that, and add docker-compose file

lorenzo-deluca commented 1 week ago

Hello!

Today I've tried to plug my laptop with my recent adquisition from Aliexpress and I had same issue with my SEAT. Maybe is my other way to connect throught cable as cheaper mechanism hahaha

IMG_20240903_093822

I think all are connected ok, but I got no response.

I gonna try your configuration . I will explain the news afterward.

BTW, I wanted to use docker image and docker is not pushed, or pushed in a private repository, I built and pushed at my docker account to use it, it is just an advice to clarify / improve readme file to install and run private server as docker.

Maybe I will create a PR improving that, and add docker-compose file

Sorry, for the Docker image there was a typo on Readme, I've fix it now, correct url is lorenzodeluca/silence-server

Anyway for RS232 issue is strange because several user report to me that it's working. Now I'm on vacation till end of week, if you have time to check pin out, remember the GND..! Try to reverse TX/RX and let me know.

It's VERY strange missing information on display, seems that you're connect on CANBUS pin..!

Mocheto commented 1 week ago

Using your setup cable I've retrieved strange data but still my problem to change setup, I can't do that...

image

Anyone can help about this?

Ou, with the engine started the info change

image

Mocheto commented 1 week ago

Hello! Today I've tried to plug my laptop with my recent adquisition from Aliexpress and I had same issue with my SEAT. Maybe is my other way to connect throught cable as cheaper mechanism hahaha IMG_20240903_093822 I think all are connected ok, but I got no response. I gonna try your configuration . I will explain the news afterward. BTW, I wanted to use docker image and docker is not pushed, or pushed in a private repository, I built and pushed at my docker account to use it, it is just an advice to clarify / improve readme file to install and run private server as docker. Maybe I will create a PR improving that, and add docker-compose file

Sorry, for the Docker image there was a typo on Readme, I've fix it now, correct url is lorenzodeluca/silence-server

Anyway for RS232 issue is strange because several user report to me that it's working. Now I'm on vacation till end of week, if you have time to check pin out, remember the GND..! Try to reverse TX/RX and let me know.

It's VERY strange missing information on display, seems that you're connect on CANBUS pin..!

no worries, I will try another ways, enjoy your days off!!

lucasimons commented 1 week ago

@Mocheto i see your pic and the connection are different from @noiwid the rs232 is correct, so you can try to change the dupont on obd...

I'm also in vacation so next week i try the @noiwid connection

lorenzo-deluca commented 1 week ago

Using your setup cable I've retrieved strange data but still my problem to change setup, I can't do that...

image

Anyone can help about this?

Ou, with the engine started the info change

image

Seems GND missing...

Mocheto commented 1 week ago

changing rx and tx

image I will find the proper setup! haha

thanks in advance! no worries I can wait until monday ;)

lorenzo-deluca commented 1 week ago

changing rx and tx

image I will find the proper setup! haha

thanks in advance! no worries I can wait until monday ;)

Mmmh. This output is something good. Astra module by Silence/Seat it’s in debug mode so you have A LOT of debug messages on serial.. try some commands 😉

There’s also a message for sending SMS (Seat pays…)

$SSMS,#number#,#message#

Mocheto commented 1 week ago

more extra info but I don't receive SMS image

with international prefix, with "+", without, all possible combinations...

:(

noiwid commented 1 week ago

more extra info but I don't receive SMS image

with international prefix, with "+", without, all possible combinations...

:(

It start looking good but you still have too much bad characters, my guess, you found RX, but not ground, for TX hard to guess... I would stop trying to send command (except $PARAMS) until fix the issue, it might send Bad command to ASTRA..

lucasimons commented 1 week ago

changing rx and tx

image I will find the proper setup! haha

thanks in advance! no worries I can wait until monday ;)

How you have connected the obd and db9 wires?

Mocheto commented 1 week ago

I've pinned following this picture:

image

in this case I obtained strange chars. When I changed number 3 for 11 retrieved legible chars.

GND changed between 4 and 6 and no change there, maybe in pin number 6 has extra info

image

thx in advance for your replies :)

lucasimons commented 1 week ago

Hi, i m tryng to connect to my Seat but i recive some strange data, i have also triple checked the connectio and tried to swap tx and rx

I connect the cable to OBD port and RS232 to my laptop, after i turn on the Seat and start the comunication on the terminal... This is the result

image

I see some info are missing when the serial comunication is strarted

This is my setup if I swap rx and tx ( 2 and 3 in pic) change the respond text but there are strange characters

IMG_20240905_192022.jpg

lucasimons commented 1 week ago

This is the only "valid" responce, what i can sent to show my IMEI? i have tried to $IMEI but i recive the same result like $TEST, $PROT image

sugar012 commented 1 week ago

try this https://github.com/lorenzo-deluca/silence-private-server/issues/4#issuecomment-2254121313

lucasimons commented 1 week ago

try this #4 (comment)

i have tried to send $IPAD1, xx.xxx.xxx.xx with ticked append CR but i recive the same message QISTATE mode TCP, hostname xx.xxx.xxx.xx...

Grazie

noiwid commented 1 week ago

Hi, do you knows what obd pins are connected to your serial 2, 3 & 5 ? I'm not sure $IPAD command resuire a space before ip/domain 🤔

lucasimons commented 1 week ago

Yes 2, 3 and 5...

IMG_20240905_221148.jpg

I have tried with space and without...can I use some other commands?

noiwid commented 1 week ago

Messenger_creation_9881dee5-85a6-4306-9621-cccf94ed0ebd

noiwid commented 1 week ago

@lucasimons, I think you still haven't found the ground connection. For me, it is at OBD pin 14 (on the plug side), which corresponds to pin 11 on the scooter.

When I didn't have the ground, I experienced partial feedback while the scooter was charging: image

and unreadable feedback as soon as the scooter was unplugged: image

Note that most messages are only received when the scooter's CAN bus is active, which happens when the scooter is turned on or the battery is charging. Otherwise, there is almost no data on the CAN bus, and the Astra sends nothing on the serial debug port except for NMEA data (if configured). This relevant information was shared with me by a user on Elektroforum.

Mocheto commented 1 week ago

No good response to me... I've pineed in serveral variations but I don't see a "legible" params/variables

image

Maybe my cable is wrong, I will purchase another kind of cable similar than yours.

If you fave more lucky than me, please give me your map of pins for SEAT MO.

Thanks in advance and sorry to make more noise in this issue :(

noiwid commented 1 week ago

@Mocheto, what you see now look nice, did you try to turn on the scooter ? I've post my mapping+ ref image for pin numbers on a previous post in this topic.

my pin numbers refering to cable OBD plug, not the scooter one :

noiwid commented 1 week ago

be sure your cable is provide with a color map scheme, or use a multimeter to map them ..

Le ven. 6 sept. 2024, 16:41, Mocheto @.***> a écrit :

No good response to me... I've pineed in serveral variations but I don't see a "legible" params/variables

image.png (view on web) https://github.com/user-attachments/assets/fa8c7aed-fe58-42a8-9f74-513ec224e066

Maybe my cable is wrong, I will purchase another kind of cable similar than yours.

If you fave more lucky than me, please give me your map of pins for SEAT MO.

Thanks in advance and sorry to make more noise in this issue :(

— Reply to this email directly, view it on GitHub https://github.com/lorenzo-deluca/silence-private-server/issues/6#issuecomment-2334214214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFML5A7YK24ZBFFPYMOQJ2DZVG5JFAVCNFSM6AAAAABMZPSUXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGIYTIMRRGQ . You are receiving this because you were mentioned.Message ID: @.***>

Mocheto commented 1 week ago

OBD: pin 6 -> serial n2 OBD: pin 15 -> serial n3 OBD: pin 3 -> serial 5

image

:(

lucasimons commented 1 week ago

be sure your cable is provide with a color map scheme, or use a multimeter to map them .. Le ven. 6 sept. 2024, 16:41, Mocheto @.> a écrit : No good response to me... I've pineed in serveral variations but I don't see a "legible" params/variables image.png (view on web) https://github.com/user-attachments/assets/fa8c7aed-fe58-42a8-9f74-513ec224e066 Maybe my cable is wrong, I will purchase another kind of cable similar than yours. If you fave more lucky than me, please give me your map of pins for SEAT MO. Thanks in advance and sorry to make more noise in this issue :( — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFML5A7YK24ZBFFPYMOQJ2DZVG5JFAVCNFSM6AAAAABMZPSUXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGIYTIMRRGQ . You are receiving this because you were mentioned.Message ID: @.>

image this is my connection light red is connected to 5 pin of female db9 so it is different from the orginal drawing, there are some misunderstandings, because there are some connections between obd female of Silence/Seat to our obd male and this one connected to db9 female, finally db9 male to rs232 converter...

So this drawing is for the cable from obd female of scooter to male db9 of the rs232 converter? image

are any differences if i trun on the Seat or i connect to charge? The can bus comuication is active in this two configurations?

noiwid commented 1 week ago

Hi, i think this scheme is based on female OBD (scooter side), my explainations are related to male OBD connector.

Yes, i think you should plug your scooter, astra module send way more datas in this setup.

lucasimons commented 6 days ago

Hi, i think this scheme is based on female OBD (scooter side), my explainations are related to male OBD connector.

Yes, i think you should plug your scooter, astra module send way more datas in this setup.

I think that the db9 female side the connection are correct, indeed the obd male side if I connect 3 4 11 ( dark red, red and yellow) I obly recive qistate mode tcp, hostname xx.xxx.xxx.xx

If I connect 5 6 14 ( green cables) I receive strange value so now I can try the @noiwid setup that is a mix of my previous connection because you use 6 3 14

lucasimons commented 3 days ago

I do some tests but I only recive QISTATE mode: Tcp, hostname:......

Maybe in the garage I have low 3g signal so the astra module doesn't send nothing?

I use this procedure:

1 Connect the charging cable or turn on the Seat

2 Plug usb to my pc

3 Plug the obd

4 Start serial comunication

Are there any wrong step?

@Mocheto are you find the working connection?