summaryrefslogtreecommitdiffstats
path: root/binding/hvac-demo-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2018-06-19Changing LED colour gradient according to temperature slidersflounder_5.99.1flounder/5.99.15.99.1Yordan Dimitrov1-3/+257
v1 - the colour of the LED reflects the temperature of both sliders at the same time - colour gradient starts from blue and ends with red: for low and high temperatures, respectively. v2 - removed all A/C code - paths are read from a predefined variables v3 - removed trailing spaces and converted tabs to spaces v4 - changed some tabs to space where appropriate and removed unnecessary code Change-Id: I989d6779c0a72b9def74bc9bcf41ae01d368ba8a Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
2018-01-04Languages changing depending on identity logged inLoïc Collignon1-44/+107
Change-Id: I8eca6e0f7ddd042c9434132537eeccd74b982718 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> update translation on language changed Change-Id: I12130b4a1c5c6dad9658972d32b4b9e362a8d1cc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-09-06Adapt to recent version of bindingeel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.14.99.24.99.1José Bollo1-19/+19
Change-Id: Ib01fd9c29b567f718a9b603e5e2bc4ffaa56bc96 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-04-24Fix reverse fan speed issue in demodab_3.99.1dab/3.99.13.99.1Jan-Simon Möller1-1/+1
The reversal of the fanspeed was due to the wrong fan type. As the fan is replaced, undo it. Bug-AGL: SPEC-456 Change-Id: Ie6300e41b24962c072170ab4606252fcdce4b073 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-30Add fallback to simulation modeScott Murray1-25/+31
Add logic to fall back to simulation mode in the absence of the CAN interface, based on a modified form of the dropped changes from patch #2 of: https://gerrit.automotivelinux.org/gerrit/#/c/7641 This should fix SPEC-383 by allowing the HVAC demo to run on setups without the CAN hardware again. Bug-AGL: SPEC-383 Change-Id: I3ee11c92baccde427986ceb077a37e9b9c900b11 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-12-20Fix math for tempTasuku Suzuki1-1/+1
QML sets temp to 15~30 and this binding convert it to 0x10~0xF0 Change-Id: I027853e2279ff8b9a5e4a169bf7a7f549cf73a1e Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-19Merge "Remove SIMULATE_HVAC define to make hvac use can bus"Jan-Simon Moeller1-16/+55
2016-12-19Remove SIMULATE_HVAC define to make hvac use can busRomain Forlot1-16/+55
Change-Id: I13ab17ec3183a8c7a2994d372a405779e08247ed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-16Fix reverse fanspeed value since test over a real fan at f2fRomain Forlot1-1/+1
Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-12-14binding: handle integer or double values for fanSpeed or temperaturesStephane Desneux1-9/+25
Change-Id: I8e3db290422adc221fec931390bc934a78ec17af Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-13move hvac app and hvac plugin to new repositoryTasuku Suzuki1-0/+374
$ qmake && make will generate package/hvac.wgt Change-Id: I67057f1f3b511a3af4a22aedd32f6614dc56b503 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>