electric-monk / pycarplay

Python Carplay library for the "Autobox" dongles
MIT License
268 stars 36 forks source link

New Carlinkit hardware #10

Open shira6608 opened 1 year ago

shira6608 commented 1 year ago

New carelinkit has product id 0x1521 rather than 0x1520. Should that still work ? I do not seem to get a stream ?

Glenf commented 1 year ago

You'd need to change product id if you have not done that yet. https://github.com/electric-monk/pycarplay/blob/8d9a31370546515991260b4056c1650e9e097755/link.py#L15

It might or might not work with that change.

demianzenkov commented 1 year ago

@shira6608 @Glenf Guys, it seems like you got the project working. Can you please share environment you use? I tried on latest Raspbian, Debian, Ubuntu 20 and 22 with python 3.9 and 3.11 versions and always get these warnings:

/usr/lib/python3.10/subprocess.py:953: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3.10/subprocess.py:959: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)

And nothing happens after I start teslabox.py and connect CarPlay dongle, I get only warnings.

tj57 commented 1 year ago

@demianzenkov Igo similar warning. What do you see at http://127.0.0.1:9000 ?

demianzenkov commented 1 year ago

@tj57 the web page opens but there is only black screen with white-border box. But no content inside this box.

tj57 commented 1 year ago

@demianzenkov Unfortunately I have similar, I have not yet managed to get my dongle working.