Unable to change HVAC temperature using adb inject-vhal-event command

1,517 views
Skip to first unread message

Sagnik Dhar

unread,
Nov 8, 2021, 10:14:33 AM11/8/21
to Android Automotive OS Discussion Group
Hello, 

I am trying to test the Android Automotive HVAC using adb commands. I am able to change fan speed  to 3 using this command, 

adb shell dumpsys activity service com.android.car inject-vhal-event 0x15400500 1 3

0x15400500 is the Vehicle Property ID for the property HVAC_FAN_SPEED as mentioned here, https://developer.android.com/reference/android/car/VehiclePropertyIds#HVAC_FAN_SPEED

However, I am not able to change the temperature using the same command. More specifically, I am using this command to set temp to 65F.

adb shell dumpsys activity service com.android.car inject-vhal-event 0x15600503 1 65

Is there any other parameter that I need to pass?


Regards

Sagnik 


William Smith

unread,
Nov 9, 2021, 1:09:09 PM11/9/21
to Android Automotive OS Discussion Group, sagni...@vw.com
Hi, if that doesn't work you can try the "Kitchen Sink" app inside of Android Automotive to try to figure it out.
Reply all
Reply to author
Forward
0 new messages