Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Where to start with EventGhost and carPC

If you have a question or need help, this is the place to be.
Post Reply
incarpaul
Posts: 2
Joined: Mon Oct 11, 2010 11:12 am

Where to start with EventGhost and carPC

Post by incarpaul »

Hi all I'm looking for a solution that would take data commands (HEX I think) from a device called Dension Gateway 100 (iPod controller) fitted in the car and create actions for the carPC like Next & Previous Track, Up & Down Selection and maybe even MP3 I.D tags displayed on radio.

The carpc is running winXP and Centrafuse, I'm using a Ipod breakout board to connect the gateway 100 to the TTL/USB interface which gives a comport to which I can receive data on using realterm program but nothing in eventghost. ( I should say i can receive Data but don't understand it :-) )

So where would the best place to start be and could this be done in EventGhost?
would I need to write any coding/programming? (never done this before)

Thanks for any help

Paul
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Where to start with EventGhost and carPC

Post by jinxdone »

Yes, it can be done, and you will probably need to do some coding.

Next you will need a manual/specs that has the details on the protocol the device is using. After you have the manual (so you know what the data is you are receiving), you need to write a piece of code that is able to parse it and do something based on that. By parsing I mean for example if receiving bytes 0x01 from the device means 'Play button pushed' your code could then do eg.TriggerEvent('Play'); -- In reality it will probably be more complex than this.

Anyhow, it won't get any easier than this no matter what programming language you use so you might just as well use EG. :)

http://docs.python.org/ is the place to get started on Python coding and also for future reference. Feel free to ask for help here on the forums.
incarpaul
Posts: 2
Joined: Mon Oct 11, 2010 11:12 am

Re: Where to start with EventGhost and carPC

Post by incarpaul »

[quote="jinxdone"]
it won't get any easier than this no matter what programming language you use so you might just as well use EG. :)

[quote]

I hope it's gets easier cause i don't understand anything at the minute :)

Lucky there's plenty of info about ipod protocols which I'm sure will help but the data I captured from the dension
was all in one string so not sure what starts and what ends.

Thanks for the reply Paul
Post Reply