apps/hvac.git
4 years agochange hs to qhs sandbox/zheng_wenlong/als2019_horizontal
zheng_wenlong [Tue, 11 Jun 2019 10:51:05 +0000 (19:51 +0900)]
change hs to qhs

5 years agodelte tapshortcut sandbox/zheng_wenlong/ces2019_horizontal
zheng_wenlong [Mon, 5 Nov 2018 09:52:23 +0000 (18:52 +0900)]
delte tapshortcut

5 years agochange to horizontal mode
zheng_wenlong [Fri, 2 Nov 2018 04:29:34 +0000 (13:29 +0900)]
change to horizontal mode

5 years agoremove HVAC api from config.xml sandbox/zheng_wenlong/ces2019_vertical
zheng_wenlong [Fri, 2 Nov 2018 04:26:50 +0000 (13:26 +0900)]
remove HVAC api from config.xml

5 years agohvac: remove hvac binding from package 19/16819/3
Matt Ranostay [Mon, 17 Sep 2018 17:46:24 +0000 (10:46 -0700)]
hvac: remove hvac binding from package

HVAC binding needs to be split into its own package so must be removed
from the hvac application

Bug-AGL: SPEC-1757
Change-Id: I9b1a6b2bc6371a285e468205fa7c00f0ac662d64
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoUse feature 'required-binding' 01/17101/1
Jose Bollo [Tue, 9 Oct 2018 10:01:20 +0000 (12:01 +0200)]
Use feature 'required-binding'

The feature "urn:AGL:widget:required-binding" is now
preferred to the feature "urn:AGL:widget:required-api"
for requiring a local binding.

Bug-AGL: SPEC-1800

Change-Id: I6ddcd82387beb7d0148464c8d4029689c4729152
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
5 years agoRevert "Use appid between homescreen-service and apps" 99/16299/2 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
Tadao Tanikawa [Fri, 24 Aug 2018 04:46:15 +0000 (04:46 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit f136a3336344a6dc8b84549672acbfe19a296bb0.

Bug-AGL: SPEC-1685

Change-Id: Ie9f189fdede28d499dcf68276cd3c6be722bc87c
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoUse appid between homescreen-service and apps 23/16023/1 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Mon, 6 Aug 2018 03:18:43 +0000 (12:18 +0900)]
Use appid between homescreen-service and apps

    Use appid between hss and apps, and check event destination in libhomescreen.
    So these is no need compare code when recived Event_TapShortcut Event.

BUG-AGL: SPEC-1645

Change-Id: Ibd969e8bc51a5227bfa1e21b3f6b0e92f7a5a3fb
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoImprove output of multiple screen resolution 41/15941/2
Tadao Tanikawa [Thu, 2 Aug 2018 10:33:25 +0000 (10:33 +0000)]
Improve output of multiple screen resolution

To improve output on various monitor with various resolution,
use scale_factor from WM to fit various screen resolution.

Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611

Change-Id: I26b274d1342471d63acc09433323385afd9f36f3
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoSetting up a JSON configuration file to change LED paths without recompiling 93/15093/3 5.99.2 flounder/5.99.2 flounder_5.99.2
Yordan Dimitrov [Sat, 7 Jul 2018 08:07:58 +0000 (11:07 +0300)]
Setting up a JSON configuration file to change LED paths without recompiling

v1

- the change allows the paths to the LED folders to be changed without
  having to recompile the widget
- the JSON file itself is included in this commit with the name "hvac.json"
- the location which the parser expects the configuration
  file to be in is /etc

v2

- optimised code in terms of opening and closing paths for writing
- put afb header definitions together

v3

- removed all caps warning notifications

Change-Id: If075c6650d8802849cbd706be4adbca9f1996c9e
Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>
5 years agoChanging LED colour gradient according to temperature sliders 71/14171/8 5.99.1 flounder/5.99.1 flounder_5.99.1
Yordan Dimitrov [Mon, 4 Jun 2018 14:29:50 +0000 (17:29 +0300)]
Changing LED colour gradient according to temperature sliders

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>
6 years agoMerge "Languages changing depending on identity logged in"
Jan-Simon Moeller [Tue, 9 Jan 2018 22:27:12 +0000 (22:27 +0000)]
Merge "Languages changing depending on identity logged in"

6 years agoMerge "Add basic translation support"
Jan-Simon Moeller [Tue, 9 Jan 2018 22:12:53 +0000 (22:12 +0000)]
Merge "Add basic translation support"

6 years agoLanguages changing depending on identity logged in 67/13067/3
Loïc Collignon [Sat, 30 Dec 2017 15:04:18 +0000 (16:04 +0100)]
Languages changing depending on identity logged in

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>
6 years agoAdd basic translation support 23/13023/4
Tasuku Suzuki [Wed, 27 Dec 2017 11:34:03 +0000 (20:34 +0900)]
Add basic translation support

Added French and Japanese translations

Change-Id: I58eca5ffaad2367a4dd26b6472bdbcd45c957061
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoDesktop PC development support 21/13021/1
Tasuku Suzuki [Wed, 27 Dec 2017 11:32:36 +0000 (20:32 +0900)]
Desktop PC development support

Add tests if libhomescreen and qlibwindowmanager are available and use
them only when they are available.

Change-Id: I6b219721b279542bf474f3df34bfb3adbc6e9ff0
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
6 years agoApply QtQuickControls2 style from platform 19/13019/1
Tasuku Suzuki [Wed, 27 Dec 2017 11:27:45 +0000 (20:27 +0900)]
Apply QtQuickControls2 style from platform

AGL now set its own style through an environment variable. App doesn't
need to take care of it any more.

Change-Id: Id0d43e7c05328ed5fef0e3cca7c1ddac78e69b3d
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
6 years agoUpdate to new color scheme 17/12617/1
Tadao Tanikawa [Fri, 15 Dec 2017 14:36:56 +0000 (23:36 +0900)]
Update to new color scheme

The color scheme has been changed to new one.

Bug-AGL: SPEC-673

Change-Id: I713a8116931524505aa549c68d27559ae518a612
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
6 years agoqlibwindowmanager is now outside of the project 41/11941/4 4.99.3 eel/4.99.3 eel_4.99.3
Romain Forlot [Mon, 13 Nov 2017 22:01:57 +0000 (23:01 +0100)]
qlibwindowmanager is now outside of the project

Change-Id: Ifdabb7a3456ade9449e399a13ec43aac68ded108
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
6 years agoRemove debug messages 39/11939/3
Romain Forlot [Tue, 31 Oct 2017 13:00:23 +0000 (14:00 +0100)]
Remove debug messages

Change-Id: I465e3ed3e4cb6dadd808437133bddb56ed50c72e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoupdate gitignore 37/11937/2
Romain Forlot [Mon, 30 Oct 2017 21:50:01 +0000 (22:50 +0100)]
update gitignore

Change-Id: I883c80db1786eb32445facf4b2f68c794b0ad7d4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoPorting to new HMI Framework 35/11935/2
Romain Forlot [Fri, 27 Oct 2017 21:17:48 +0000 (23:17 +0200)]
Porting to new HMI Framework

Changes following guidelines given in "Kickstart: New HMI Framework"
document at:

https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf

Change-Id: Ifb298e09db821dba5dc1a28ad2d1c2193c511ee9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
6 years agoAdapt to recent version of binding 95/10795/1 4.99.1 4.99.2 eel/4.99.1 eel/4.99.2 eel_4.99.1 eel_4.99.2
José Bollo [Wed, 6 Sep 2017 17:00:05 +0000 (19:00 +0200)]
Adapt to recent version of binding

Change-Id: Ib01fd9c29b567f718a9b603e5e2bc4ffaa56bc96
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoFix reverse fan speed issue in demo 97/9197/2 3.99.1 dab/3.99.1 dab_3.99.1
Jan-Simon Möller [Mon, 24 Apr 2017 08:45:23 +0000 (10:45 +0200)]
Fix reverse fan speed issue in demo

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>
7 years agoUpdate config.xml to new framework on systemd 11/8911/1
José Bollo [Fri, 24 Mar 2017 18:05:15 +0000 (19:05 +0100)]
Update config.xml to new framework on systemd

Change-Id: I4cd2c117d2980b66339239a5c9b10765e573c9bc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoTemperature setting is decoupled from the seat-heating button 03/8203/1
Tasuku Suzuki [Wed, 11 Jan 2017 07:18:56 +0000 (16:18 +0900)]
Temperature setting is decoupled from the seat-heating button

SPEC-394

Change-Id: I27fc85dbe99db46556e4f0fc078417cf3a23c556
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoAdd fallback to simulation mode 07/8007/1
Scott Murray [Fri, 30 Dec 2016 18:13:45 +0000 (13:13 -0500)]
Add fallback to simulation mode

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>
7 years agoFix math for temp 95/7695/1
Tasuku Suzuki [Tue, 20 Dec 2016 07:59:07 +0000 (16:59 +0900)]
Fix math for temp

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>
7 years agoMerge "Remove SIMULATE_HVAC define to make hvac use can bus"
Jan-Simon Moeller [Mon, 19 Dec 2016 21:12:33 +0000 (21:12 +0000)]
Merge "Remove SIMULATE_HVAC define to make hvac use can bus"

7 years agoRemove SIMULATE_HVAC define to make hvac use can bus 41/7641/5
Romain Forlot [Thu, 15 Dec 2016 07:27:59 +0000 (07:27 +0000)]
Remove SIMULATE_HVAC define to make hvac use can bus

Change-Id: I13ab17ec3183a8c7a2994d372a405779e08247ed
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoMerge "Fix reverse fanspeed value since test over a real fan at f2f"
Jan-Simon Moeller [Mon, 19 Dec 2016 17:35:52 +0000 (17:35 +0000)]
Merge "Fix reverse fanspeed value since test over a real fan at f2f"

7 years agoMerge "Copy icon and config file for wgt always"
Jan-Simon Moeller [Sun, 18 Dec 2016 12:06:26 +0000 (12:06 +0000)]
Merge "Copy icon and config file for wgt always"

7 years agoMerge "Add LICENSE file"
Jan-Simon Moeller [Sun, 18 Dec 2016 12:06:19 +0000 (12:06 +0000)]
Merge "Add LICENSE file"

7 years agoCopy icon and config file for wgt always 71/7671/1
Tasuku Suzuki [Fri, 16 Dec 2016 15:08:20 +0000 (00:08 +0900)]
Copy icon and config file for wgt always

We have to do it regardless of shadow building

Change-Id: I861077c76158c46afa4062bb1735a5265475b2df
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoAdd LICENSE file 61/7661/1
Tasuku Suzuki [Fri, 16 Dec 2016 09:25:41 +0000 (18:25 +0900)]
Add LICENSE file

Change-Id: I5c90a65e996fe9600ae883774bca2b960db020d7
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoFix reverse fanspeed value since test over a real fan at f2f 57/7657/1
Romain Forlot [Fri, 16 Dec 2016 02:52:28 +0000 (02:52 +0000)]
Fix reverse fanspeed value since test over a real fan at f2f

Change-Id: I4d1a952cc21311847975071aaab7f5d0aadd2eb9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agoadd .gitreview 15/7615/2
Stephane Desneux [Wed, 14 Dec 2016 18:57:42 +0000 (18:57 +0000)]
add .gitreview

Change-Id: Ifebe9d67daeee9728acfe2a8cd34ff8f72da9d5f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoapp: use range [0..255] for slider, send temperatures updates 13/7613/3
Stephane Desneux [Wed, 14 Dec 2016 18:55:59 +0000 (18:55 +0000)]
app: use range [0..255] for slider, send temperatures updates

Change-Id: I020b2a1c14d09be99e4ecfe645915a666b7759ea
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoconfig.xml: rename application name using lowercase 11/7611/2
Stephane Desneux [Wed, 14 Dec 2016 18:51:47 +0000 (18:51 +0000)]
config.xml: rename application name using lowercase

Homescreen uses lowercase names for apps to be launched.

Change-Id: Ief7d9377e2d1d84ebc8bb5f2bd62a248aa8d4cb8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agobinding: handle integer or double values for fanSpeed or temperatures 09/7609/2
Stephane Desneux [Wed, 14 Dec 2016 18:51:08 +0000 (18:51 +0000)]
binding: handle integer or double values for fanSpeed or temperatures

Change-Id: I8e3db290422adc221fec931390bc934a78ec17af
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years ago.gitignore: enhance 07/7607/1
Stephane Desneux [Wed, 14 Dec 2016 18:49:53 +0000 (18:49 +0000)]
.gitignore: enhance

Change-Id: I680715111e1be0211e74da6343e12894af6e5657
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoadd binding initial code in qml 57/7557/4
Tasuku Suzuki [Tue, 13 Dec 2016 03:22:08 +0000 (12:22 +0900)]
add binding initial code in qml

Change-Id: I0efeb67ff2659a0a01be116ab59947db77ec6574
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agomove hvac app and hvac plugin to new repository 41/7541/3
Tasuku Suzuki [Mon, 12 Dec 2016 16:29:33 +0000 (01:29 +0900)]
move hvac app and hvac plugin to new repository

$ qmake && make will generate package/hvac.wgt

Change-Id: I67057f1f3b511a3af4a22aedd32f6614dc56b503
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoInitial empty repository
Jan-Simon Moeller [Tue, 6 Dec 2016 14:35:38 +0000 (14:35 +0000)]
Initial empty repository