summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2023-11-22VSS 4.0 updatesScott Murray1-13/+13
Change Left/Right to Driver/Passenger in HVAC VSS signal names to match VSS 4.0, and update exterior temperature signal. Bug-AGL: SPEC-4970 Change-Id: I2846886c9651fde8f86649026724bcc8b2b77142 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2023-09-20Rework to use KUKSA.val databroker gRPC APIScott Murray33-649/+3615
Rework to move from the WebSocket API with the older KUKSA.val server to the gRPC "VAL" API of the databroker. Changes include: - All VISS WebSocket API code has been removed, and the signal providers replumbed to be driven by a new VssClient class with a hvac-specific child class to hold all the gRPC API handling. - The generated code for the VAL API and its dependencies has been checked in under lib/generated, as there still does not seem to be a good way to generate it during the Flutter build. - The configuration file is now expected to be "hvac.yaml" instead of "hvac_config.yaml". The authorization token field name has been renamed to "authorization", and there are new "use-tls" and "ca-certificate" configuration fields. TLS is disabled by default for now, and the default CA certificate is /etc/kuksa.val/CA.pem. - Bumped minimum SDK version to 2.18 in pubspec.yaml to enable "super" keyword support. This matches what the version was set to in flutter-homescreen. - The Vehicle and VehicleSignals classes have been reworked into a VehicleAcStatus class + provider, and users have been updated to use the Riverpod provider select functionality to attempt to reduce naive over-updating. - VSS paths have been rationalized to use the definitions in the VSSPath class so only one location will need to be updated on any signal name changes. - Added .gitignore file from flutter-homescreen to keep things clean in the future. Bug-AGL: SPEC-4762 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idbabb54ead52bf38796f264a3c8a270aa170e2cd
2022-12-29Spelling fixeslamprey_12.1.13lamprey/12.1.1312.1.13Scott Murray3-11/+11
Changes: - Update Caustom -> Custom - Update Tier -> Tire Bug-AGL: SPEC-4642 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibb8029140e5717f01fb297de4962547a51645347
2022-12-29Rework temperature controlsScott Murray12-482/+282
Rework the temperature controls to use NumberPicker widgets so they function more like a user would expect. The associated Riverpod providers have been updated to track the temperature value directly, and some minor layout tweaks have also been made. Bug-AGL: SPEC-4644 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I069e0bd53c79d73cc7a60045309efdfeb9409fbc
2022-12-13Update left/right labelsScott Murray1-2/+2
Replace "L CLIMATE" / "R CLIMATE" with "Left" / "Right". Bug-AGL: SPEC-4644 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7c38460628face162e667c068fa5ed365bca2ab2 (cherry picked from commit d23c89e44ca8cd9d398288aa0a9e14914fe46845)
2022-11-21Make background opaqueScott Murray1-1/+1
To work properly with the Flutter demo homescreen, which does not provide a separate black background surface behind applications like the Qt demo one does, ensure the top-level widgets have opaque backgrounds to prevent the homescreen from showing underneath. Bug-AGL: SPEC-4614 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic4b949951262806cf1a51e8a273fa3e2d88b0578
2022-09-16Upload Flutter-HVAC application for IVIHritik Chouhan23-0/+1947
Flutter hvac app which sets value to KUKSA.VAL like Fan speed,left and right zone climate temperature, AC vent direction, Air circulation,Front and Rear Wind shield defrost. Update UI and removed Unused code. Bug-AGL: SPEC-4546 Change-Id: I57f7a9a2954520f4bb781a5ec02be612d72cf404 Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>