forked from venumx/gear_smart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Committing latest code for version 1.3.2
Lots of changes
- Loading branch information
Showing
12 changed files
with
39 additions
and
36 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
//minimum smartapp version for functions to work correctly. | ||
var SMARTAPP_VERSION = "1.0.1"; | ||
|
||
//smarterauth connector api - if you are a developer, request an access token to - [email protected] | ||
var SC_API_KEY = ""; | ||
|
||
//Page Views | ||
var MainPageRan = false; | ||
var SwitchPageRan = false; | ||
|
@@ -19,7 +22,7 @@ var changeBright; | |
//Polling interval in ms for token | ||
var pollingInt = 10000; | ||
|
||
//Encrypt Key (This should be set by the user) | ||
//Encrypt Key | ||
var EncryptKey = 2092342; | ||
|
||
//Databases | ||
|
@@ -138,7 +141,7 @@ function SetupPage(){ | |
type: "POST", | ||
data: { }, | ||
headers: { | ||
"Authorization": "Token 98b7d003-4701-40fb-8295-b2dded696f26" | ||
"Authorization": "Token " + SC_API_KEY | ||
}, | ||
success: function(json){ | ||
//assign it to the local variable | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<widget xmlns:tizen="http://tizen.org/ns/widgets" xmlns="http://www.w3.org/ns/widgets" id="https://timothyfenton.com/smarterauth" version="1.3.0" viewmodes="maximized"> | ||
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="https://smarterauth.com" version="1.3.2" viewmodes="maximized"> | ||
<access origin="*" subdomains="true"></access> | ||
<tizen:application id="HLLvo0px34.ShufordTechSmartThings" package="HLLvo0px34" required_version="2.3"/> | ||
<author href="https://timothyfenton.com/smarterauth" email="[email protected]">Timothy Fenton</author> | ||
<author href="https://www.smarterauth.com" email="[email protected]">Timothy Fenton</author> | ||
<content src="index.html"/> | ||
<feature name="http://tizen.org/feature/screen.size.normal"/> | ||
<feature name="http://tizen.org/feature/network.internet"/> | ||
<feature name="http://tizen.org/feature/download"/> | ||
<icon src="icon.png"/> | ||
<name>SmarterThings</name> | ||
<icon src="app_icon.png"/> | ||
<name>smarter things</name> | ||
<tizen:privilege name="http://tizen.org/privilege/power"/> | ||
<tizen:privilege name="http://tizen.org/privilege/unlimitedstorage"/> | ||
<tizen:privilege name="http://tizen.org/privilege/filesystem.read"/> | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.