viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
284 stars 64 forks source link

[Question] Disable A/C control #22

Closed misterbaldi closed 2 years ago

misterbaldi commented 6 years ago

Hello,

is it possible to hide the A/C control? My car is too old, for this option :S

viktorgino commented 6 years ago

currently you can only disable it by changing line 49 in main.cpp from menuItems << QJsonObject {{"source","qrc:/qml/ClimateControl/CCLayout.qml"},{"image","icons/svg/thermometer.svg"},{"text","A/C"},{"color","#f44336"}}.toVariantMap() to menuItems and recompiling.

In future I'm planning for adding a GUI for disabling modules, but that'll require some work.

I've done some research into this before and it is entirely possible to automate older cars' AC controls (I've only looked at European cars) with some hardware hacking. I don't have a proof of concept and the backend isn't ready for it yet, but if interested I can give my input on it.

DanyboyInSwitzerland commented 6 years ago

Some cars simply do not feature an aircon - as my mazda mx-5 doesn't... So I'd be one of the very few users that rather remove the button instead of having an unuseable option displayed all the time. ;) THANK YOU very much for your efforts, GREAT JOB!!! :)