]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/thermostat-demo.git/log
apps/thermostat-demo.git
11 years agothermostat-demo: Add license information
Franklin S. Cooper Jr [Mon, 22 Oct 2012 23:22:39 +0000 (18:22 -0500)]
thermostat-demo: Add license information

* Add license information for the images, library and api that were used.
* Add license file for the thermostat demo.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
11 years agothermostat-demo: Add initial Makefile.build file
Franklin S. Cooper Jr [Mon, 22 Oct 2012 21:18:37 +0000 (16:18 -0500)]
thermostat-demo: Add initial Makefile.build file

* This file is used to build the thermostat demo from within the TI AMSDK

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
11 years agothermostat-demo: Tweak Directory
Franklin S. Cooper Jr [Mon, 22 Oct 2012 20:56:58 +0000 (15:56 -0500)]
thermostat-demo: Tweak Directory

* Move source files into the root directory
* Remove duplicate Matrix description file.
* Remove binary file

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
11 years agoimages: updated art assets to avoid license conflicts
dgerlach [Mon, 22 Oct 2012 17:53:22 +0000 (12:53 -0500)]
images: updated art assets to avoid license conflicts

11 years agosettingscreen: removed remote acces port configuration, did not like
dgerlach [Thu, 11 Oct 2012 21:48:25 +0000 (16:48 -0500)]
settingscreen: removed remote acces port configuration, did not like
to connect on user defined ports

11 years agodesc_thermostat_demo: added matrix description page
dgerlach [Thu, 11 Oct 2012 21:29:46 +0000 (16:29 -0500)]
desc_thermostat_demo: added matrix description page

thermostat_demo: configured to display desc page

thermostat: folder to be placed in /usr/share/matrix-gui-2.0/apps/

11 years agoremoteaccessmanager: extensive changes to remote access api to allow for
dgerlach [Thu, 11 Oct 2012 20:37:50 +0000 (15:37 -0500)]
remoteaccessmanager: extensive changes to remote access api to allow for
web access.

11 years agoremoteaccessmanager: added http server to handle remote access
dgerlach [Mon, 1 Oct 2012 22:59:54 +0000 (17:59 -0500)]
remoteaccessmanager: added http server to handle remote access

settingscreen: added port config for remote access manager

remote: folder containing resources for remoteaccessmanager

11 years agoMerge branch 'newschedule'
dgerlach [Mon, 1 Oct 2012 19:01:19 +0000 (14:01 -0500)]
Merge branch 'newschedule'

11 years agoopenweathermapdataengine: slightly changed parsing code to work with API 2.11
dgerlach [Mon, 1 Oct 2012 18:04:07 +0000 (13:04 -0500)]
openweathermapdataengine: slightly changed parsing code to work with API 2.11

11 years agoopenweatherdatamap: updated API version to 2.1
dgerlach [Thu, 27 Sep 2012 20:31:51 +0000 (15:31 -0500)]
openweatherdatamap: updated API version to 2.1

11 years agoconf: configuration is automatically handled internally on first run
dgerlach [Wed, 26 Sep 2012 21:40:05 +0000 (16:40 -0500)]
conf: configuration is automatically handled internally on first run

11 years agomainwindow: now generates random data if city changes and update fails
dgerlach [Wed, 26 Sep 2012 21:07:03 +0000 (16:07 -0500)]
mainwindow: now generates random data if city changes and update fails

weatherwidget: added weatherdata* getter function

11 years agoglobalsettings: added proper return values for load and save
dgerlach [Wed, 26 Sep 2012 20:23:57 +0000 (15:23 -0500)]
globalsettings: added proper return values for load and save

11 years agoweatherwidget: changed status reporting to indicate when cached data is from
dgerlach [Wed, 26 Sep 2012 20:14:12 +0000 (15:14 -0500)]
weatherwidget: changed status reporting to indicate when cached data is from

cache: new default cache data for openweathermapdataengine

openweathermapdataengine: adds retrieval date to cache data

mainwindow: modified signals so cache data doesn't appear to come from web

11 years agoschedulepoint: fixed bug that allowed points to move past temp and pos bounds
dgerlach [Tue, 25 Sep 2012 21:43:40 +0000 (16:43 -0500)]
schedulepoint: fixed bug that allowed points to move past temp and pos bounds

11 years agoschedulepoint: column movement operates off of deltas now
dgerlach [Tue, 25 Sep 2012 21:27:16 +0000 (16:27 -0500)]
schedulepoint: column movement operates off of deltas now
* once reenabled a row will continue to move with it's associated column

11 years agoschedulescreen: fixed bug that caused crash after adjusting settings
dgerlach [Tue, 25 Sep 2012 19:51:15 +0000 (14:51 -0500)]
schedulescreen: fixed bug that caused crash after adjusting settings

utilities: small change to formatting of 24h time format

11 years agoschedulescreen: modified default times for schedulepoints to better reflect a normal...
dgerlach [Tue, 25 Sep 2012 19:41:49 +0000 (14:41 -0500)]
schedulescreen: modified default times for schedulepoints to better reflect a normal schedule

11 years agoschedulescreen: removed old code from the schedule screen
dgerlach [Tue, 25 Sep 2012 19:29:44 +0000 (14:29 -0500)]
schedulescreen: removed old code from the schedule screen

11 years agoschedulescreen: changed time scaling to run from 12:00AM to 11:45PM
dgerlach [Tue, 25 Sep 2012 18:54:26 +0000 (13:54 -0500)]
schedulescreen: changed time scaling to run from 12:00AM to 11:45PM
* full time range available for day
*fixed bug that caused disabled rows to change with column

schedulepoint: adapted code to properly display new time values

utilities: formatHourString function to return only hour values

11 years agoschedulescreen: implemented column based select and movement
dgerlach [Tue, 25 Sep 2012 17:30:26 +0000 (12:30 -0500)]
schedulescreen: implemented column based select and movement

webdata: removed unnecessary debug output

11 years agowebdata: improved documentation
dgerlach [Mon, 24 Sep 2012 21:20:24 +0000 (16:20 -0500)]
webdata: improved documentation

wundergrounddataengine: added cache flag setting

11 years agowebdata: allowed for automatic proxy selection based on internal/external TI
dgerlach [Mon, 24 Sep 2012 20:43:33 +0000 (15:43 -0500)]
webdata: allowed for automatic proxy selection based  on internal/external TI

weatherdata: added flag to mark as cached data

settingscreen: add code to allow for displaying correct proxy after autoconf

11 years agoschedulescreen: added code to handle setting changes on units
dgerlach [Mon, 24 Sep 2012 18:49:48 +0000 (13:49 -0500)]
schedulescreen: added code to handle setting changes on units

settingscreen: removed unnecessary code.

11 years agomain: added better window sizing code
dgerlach [Mon, 24 Sep 2012 18:48:33 +0000 (13:48 -0500)]
main: added better window sizing code

11 years agoopenweathermapdataengine: added bettererror checking for failure of API
dgerlach [Mon, 24 Sep 2012 18:41:00 +0000 (13:41 -0500)]
openweathermapdataengine: added bettererror checking for failure of API

11 years agoopenweathermapdataengine: fixed merge error
dgerlach [Thu, 20 Sep 2012 18:21:36 +0000 (13:21 -0500)]
openweathermapdataengine: fixed merge error

11 years agoMerge branch 'master' of ssh://github.com/dgerlach/Thermostat-Demo
dgerlach [Thu, 20 Sep 2012 18:12:18 +0000 (13:12 -0500)]
Merge branch 'master' of ssh://github.com/dgerlach/Thermostat-Demo

Conflicts:
ThermostatDemoSource/webdata.cpp
ThermostatDemoSource/webdata.h
ThermostatDemoSource/webdataengine/openweathermapdataengine.cpp
ThermostatDemoSource/webdataengine/webdataengine.cpp
ThermostatDemoSource/webdataengine/webdataengine.h

11 years agoschedulescreen: modified sizing to all derive from pointArea QRect
dgerlach [Thu, 20 Sep 2012 18:02:43 +0000 (13:02 -0500)]
schedulescreen: modified sizing to  all derive from pointArea QRect

11 years agoopenweathermapdataengine: added better error checking on cache read
dgerlach [Thu, 20 Sep 2012 16:23:47 +0000 (11:23 -0500)]
openweathermapdataengine: added better error checking on cache read

11 years agoschedulescreen: can disable weeks now like by clicking day label
dgerlach [Thu, 20 Sep 2012 16:23:00 +0000 (11:23 -0500)]
schedulescreen: can disable weeks now like by clicking day label

11 years agoschedulepoint: no longer controlled by arrows, controlled by dragging
dgerlach [Wed, 19 Sep 2012 21:45:56 +0000 (16:45 -0500)]
schedulepoint: no longer controlled by arrows, controlled by dragging
* up and down for temp left and right for time

11 years agoopenweatherdatamapengine: removed debug output
dgerlach [Wed, 19 Sep 2012 19:25:01 +0000 (14:25 -0500)]
openweatherdatamapengine: removed debug output

11 years agoschedulescreen: recoded schedule display for uniform scaling on diff displays
dgerlach [Wed, 19 Sep 2012 19:23:39 +0000 (14:23 -0500)]
schedulescreen: recoded schedule display for uniform scaling on diff displays
* background now generated on fixed calculated grid

schedulepoint: changes to remove absolute coordinates

11 years agosettingscreen: added license string display to general setting section
dgerlach [Tue, 18 Sep 2012 15:33:03 +0000 (10:33 -0500)]
settingscreen: added license string display to general setting section

11 years agowebdata: can now select an "engine" to pull webdata from different api
dgerlach [Tue, 11 Sep 2012 22:06:47 +0000 (17:06 -0500)]
webdata: can now select an "engine" to pull webdata from different api
* webdataengine member takes derviced class that implements api retrieval
* defined in source for compile

webdataengine: abstract class that defines skeleton for a web api retrieval class

openweathermapdataengine: concrete webdataengine to pull from opendatamap.org
*added cache.dat for initial cached data

wundergrounddataengine: concrete webdataengine to pull from wunderground.com

11 years agowebdata: can now select an "engine" to pull webdata from different api
dgerlach [Tue, 11 Sep 2012 22:06:47 +0000 (17:06 -0500)]
webdata: can now select an "engine" to pull webdata from different api
* webdataengine member takes derviced class that implements api retrieval
* defined in source for compile

webdataengine: abstract class that defines skeleton for a web api retrieval class

openweathermapdataengine: concrete webdataengine to pull from opendatamap.org

wundergrounddataengine: concrete webdataengineto pull from wunderground.com

11 years agoforecastdatawidget: fixed a layout bug that caused the weather widget to render too...
dgerlach [Fri, 7 Sep 2012 15:30:16 +0000 (10:30 -0500)]
forecastdatawidget: fixed a layout bug that caused the weather widget to render too large

11 years agosettingscreen: added QTabWidget to manage different setting groups
dgerlach [Fri, 7 Sep 2012 15:16:11 +0000 (10:16 -0500)]
settingscreen: added QTabWidget to manage different setting groups
* different settings split across 3 pages now

11 years agoglobalsettings: fixed but with destructor of singleton that caused recursive stack...
dgerlach [Thu, 6 Sep 2012 19:32:24 +0000 (14:32 -0500)]
globalsettings: fixed but with destructor of singleton that caused recursive stack overflow

11 years agoforecastdatawidget: changed from a single row to handle all forecast days in one
dgerlach [Thu, 6 Sep 2012 19:30:36 +0000 (14:30 -0500)]
forecastdatawidget: changed from a single row to handle all forecast days in one
* places child widgets in grid layout for better alignment

weatherdatawidget: general layout fixes to complement new forecast data layout

weatherwidget: layout fixes to handle changes to child widgets

11 years agoforecastdatawidget: fixed a bug where icons would not update on web update
dgerlach [Thu, 6 Sep 2012 16:32:41 +0000 (11:32 -0500)]
forecastdatawidget: fixed a bug where icons would not update on web update
* general scaling fix on icons

weatherdatawidget: same fixes

11 years agoweatherwidget: added ability to touch widget for network refresh
dgerlach [Thu, 6 Sep 2012 16:23:58 +0000 (11:23 -0500)]
weatherwidget: added ability to touch widget for network refresh
* will always immediately allow refresh if status is failed
* will allow refresh 10 seconds after previous refresh

mainwindow: update changeCity signal to not require argument

optionswidget: update changeCity signal for compatibility

11 years agoawayscreen: moved backbutton to top right corner to match other pages
dgerlach [Thu, 6 Sep 2012 15:57:08 +0000 (10:57 -0500)]
awayscreen: moved backbutton to top right corner to match other pages
* general fixes to css to make buttons more uniform and not fixed size

general: removed unnecessary includes to certain settingscreen.h

11 years agosettingscreen: moved city change to commitChanges slot so city loads after window...
dgerlach [Wed, 5 Sep 2012 22:08:36 +0000 (17:08 -0500)]
settingscreen: moved city change to commitChanges slot so city loads after window is closed

qkeyboardlineedit: set keyboard widget to come up maximized

11 years agoweatherwidget: added stretch elements around status text
dgerlach [Wed, 5 Sep 2012 21:57:51 +0000 (16:57 -0500)]
weatherwidget: added stretch elements around status text
* general code cleanup

11 years agowebdata: added handler for network timeout if connection is removed
dgerlach [Wed, 5 Sep 2012 16:18:30 +0000 (11:18 -0500)]
webdata: added handler for network timeout if connection is removed

11 years agosettingscreen: added setting for timeformat 12h/24h
dgerlach [Wed, 5 Sep 2012 15:37:11 +0000 (10:37 -0500)]
settingscreen: added setting for timeformat 12h/24h

utilities: added function to handle time format based on setting

schedulescreen: added slot to update time format

weatherwidget: added slot to update time format

mainwindow: added slot to update time format

11 years agoglobalsettings: added better comments for the class members
dgerlach [Wed, 5 Sep 2012 14:15:37 +0000 (09:15 -0500)]
globalsettings: added better comments for the class members

11 years agomainwindow: general code clean up
dgerlach [Tue, 4 Sep 2012 21:44:53 +0000 (16:44 -0500)]
mainwindow: general code clean up
* moved any widget specific code into constructor for that widget
* added comments
* moved certain layout code into separate function for clarity

11 years agosettingscreen: better handling of settings across widgets
dgerlach [Tue, 4 Sep 2012 20:25:52 +0000 (15:25 -0500)]
settingscreen: better handling of settings across widgets
* fixed so stored values are converted to F or C
* proxy settings can now be edited on settingscreen

qkeyboardlineedit: qlineedit with built in keyboard
* transparently handles display of keyboard when lineedit is clicked

mainwindow: stores thermostat temp for the whole app
* pointer to var is shared by awayscreen and thermostat

11 years agoweatherwidget: changed how widget is rendered. scales to display size now
dgerlach [Fri, 31 Aug 2012 21:12:43 +0000 (16:12 -0500)]
weatherwidget: changed how widget is rendered. scales to display size now
* incorporates weatherdatawidget and forecastdatawidget
* these take weatherdata and forecastdata classes for display

webdata: parsing handled differently now
* parsing formats data into structure used directly by the weatherwidget

general: all main widgets should scale for screen size now
* glossy-blue images werecropped to allow better autofit to buttons

11 years agowebdata: added cache for xml so data can be better handled between sessions
dgerlach [Wed, 29 Aug 2012 19:15:41 +0000 (14:15 -0500)]
webdata: added cache for xml so data can be better handled between sessions
* xml cache is stored in same place as config
* previous cache loaded at startup
* default cache exists in resource file

mainwindow: loads cache data first before requesting from web

general: all classes converted to camel style notation to match Qt

11 years agowebdata: changed to asynchronous network operation
dgerlach [Tue, 28 Aug 2012 21:06:22 +0000 (16:06 -0500)]
webdata: changed to asynchronous network operation
* Removed event loop that caused app to block until web data received
* Added ability for app to gracefully fail when connection is not established
* Fixed several network related memory leaks

mainwindow: changed so that data is requested from webdata
* Slots added to handle success or failure of web request

weatherwidget: added status line so status of connection is shown to user

README: Fixed error in location of conf file

settingscreen: fixed city dropdown so current city corresponds to file

11 years agoglobalsettings: added singleton class to track conf settings across all classes
dgerlach [Tue, 28 Aug 2012 19:24:08 +0000 (14:24 -0500)]
globalsettings: added singleton class to track conf settings across all classes
* Made changes to any class that was using previous static global config vars
* Made slight change to how web data is loaded due to force synchronous

README: added a readme file

thermostat.conf: added a default config file
* App will create a default config file with no proxy set if not present

11 years agoremoved personal API key, and replaced with TI API key
George Netscher [Sat, 11 Aug 2012 01:00:25 +0000 (20:00 -0500)]
removed personal API key, and replaced with TI API key

11 years agoadding all source code, .desktop file, and executable created using ti-sitara embedde...
George Netscher [Sat, 11 Aug 2012 00:54:31 +0000 (19:54 -0500)]
adding all source code, .desktop file, and executable created using ti-sitara embedded linux build