So I'm at a brick wall with my project. I will start by saying in the ways of Python and C++ I'm not a noob, but not very good either. I can manipulate and change code, but building from scratch I can not lol.
My project is for my 2013 Hyundai Genesis Coupe. It actually came stock with a Blu-link GPS unit that was trash. luckily the unit's mounting points and dash space works great for a 7-inch screen and an RPI placement with little to no change. One thing is I lose my internal temperature readings for the internal HVAC controls.
I built my OAP to work with everything, even reading raw Canbus packets. I have tapped into the Multimedia BUS provided to the old screen and am able to control the HVAC via the bus.
I am in need of help manipulating the ODBinject API to be able to read the raw data. I can filter a can dump with the data I need to a live data file but am unsure how to incorporate that into the API.
Can anyone in this thread help? I can even PayPal you $$ for your time and effort.
To show I have done a ton of work here is what I have so far :
#####CANBus#####
-------------
Using can-utils
dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12
dtoverlay=spi-bcm2835-overlay
iface can0 can static
bitrate 100000
#####RAW CAN DATA#####
Inside Temperature
131#0000XX0000000000
XX = Inside temperature in fahrenheit with a 60 degree offset.
So if XX is 0C, we convert that to decimal first, which is 12. We then add 60 to that number, and get 72 degrees fahrenheit as our cabin temperature (the temperature you set the automatic HVAC).
The lowest possible value is 62 degrees (02 in hex after we subtract 60), which is when the stock display will show "LO".
The highest possible value is 90 (1E after we subtract 60), which is when the stock display will show "HI".
Outside Temperature
531#0000XX0000000000
XX = Outside temperature in fahrenheit with a -42 degree offset.
So if XX is 7F, we convert to decimal first, which is 127. We then subtract 42 to get the temperature in fahrenheit, which would be 85 degrees.
Fan Modes
132#AABBXX00000000YY
(all values in hex)
AA Fan Location
11 Head Only
12 Head & Floor
13 Floor Only
14 Defrost & Floor
15 Defrost Only
16 Defrost & AUTO
~~~
BB Air Intake
00 Intake from outside
01 Intake from outside & system is in AUTO mode
04 Recirculate from inside cabin
05 Recirculate & system is in AUTO mode
~~~
XX AC
0C AC compressor off
0D AC compressor on
~~~
YY Fan Speed
F0 Fan speed 0
F1 Fan speed 1
F2 Fan speed 2
F3 Fan speed 3
F4 Fan speed 4
F5 Fan speed 5
F6 Fan speed 6
F7 Fan speed 7
F8 Fan speed 8
F9 Fan speed 9
Youtube -Reading raw Packets
Youtube Playlist - My build
My project is for my 2013 Hyundai Genesis Coupe. It actually came stock with a Blu-link GPS unit that was trash. luckily the unit's mounting points and dash space works great for a 7-inch screen and an RPI placement with little to no change. One thing is I lose my internal temperature readings for the internal HVAC controls.
I built my OAP to work with everything, even reading raw Canbus packets. I have tapped into the Multimedia BUS provided to the old screen and am able to control the HVAC via the bus.
I am in need of help manipulating the ODBinject API to be able to read the raw data. I can filter a can dump with the data I need to a live data file but am unsure how to incorporate that into the API.
Can anyone in this thread help? I can even PayPal you $$ for your time and effort.
To show I have done a ton of work here is what I have so far :
#####CANBus#####
-------------
Using can-utils
dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12
dtoverlay=spi-bcm2835-overlay
iface can0 can static
bitrate 100000
#####RAW CAN DATA#####
Inside Temperature
131#0000XX0000000000
XX = Inside temperature in fahrenheit with a 60 degree offset.
So if XX is 0C, we convert that to decimal first, which is 12. We then add 60 to that number, and get 72 degrees fahrenheit as our cabin temperature (the temperature you set the automatic HVAC).
The lowest possible value is 62 degrees (02 in hex after we subtract 60), which is when the stock display will show "LO".
The highest possible value is 90 (1E after we subtract 60), which is when the stock display will show "HI".
Outside Temperature
531#0000XX0000000000
XX = Outside temperature in fahrenheit with a -42 degree offset.
So if XX is 7F, we convert to decimal first, which is 127. We then subtract 42 to get the temperature in fahrenheit, which would be 85 degrees.
Fan Modes
132#AABBXX00000000YY
(all values in hex)
AA Fan Location
11 Head Only
12 Head & Floor
13 Floor Only
14 Defrost & Floor
15 Defrost Only
16 Defrost & AUTO
~~~
BB Air Intake
00 Intake from outside
01 Intake from outside & system is in AUTO mode
04 Recirculate from inside cabin
05 Recirculate & system is in AUTO mode
~~~
XX AC
0C AC compressor off
0D AC compressor on
~~~
YY Fan Speed
F0 Fan speed 0
F1 Fan speed 1
F2 Fan speed 2
F3 Fan speed 3
F4 Fan speed 4
F5 Fan speed 5
F6 Fan speed 6
F7 Fan speed 7
F8 Fan speed 8
F9 Fan speed 9
Youtube -Reading raw Packets
Youtube Playlist - My build