Commit Graph

31 Commits

Author SHA1 Message Date
David Sulpy
2baac34ba3 Merge pull request #9 from davidsulpy/master
added an error log when the grokerSubdomain is ever null or empty and…
2015-09-14 18:34:33 -05:00
David Sulpy
811a1af4bf added an error log when the grokerSubdomain is ever null or empty and the app is trying to ship events or create a bucket 2015-09-14 18:33:21 -05:00
David Sulpy
b765b46c50 Merge pull request #8 from davidsulpy/master
added some protection against potential error cases if grokerSubdomai…
2015-09-14 17:46:07 -05:00
David Sulpy
6eac6affcf added some protection against potential error cases if grokerSubdomain isn't properly set 2015-09-14 17:45:04 -05:00
David Sulpy
d2cecf6908 Merge pull request #7 from davidsulpy/master
added version set in the update function as well so that it will upda…
2015-09-14 16:49:08 -05:00
David Sulpy
61d2aac45a added version set in the update function as well so that it will update the version on an update 2015-09-14 16:48:27 -05:00
David Sulpy
b5d0a5e74b Merge pull request #6 from davidsulpy/master
Fixed uninstall bug; addressed update bug; creating bucket on bucket_key set; cleaned some code styling
2015-09-14 16:38:12 -05:00
David Sulpy
1c2189b63c bumped the version 2015-09-14 16:33:48 -05:00
David Sulpy
1adb4000a6 refactored the methods for creating buckets and sending events to be more idempotent friendly; called tryCreateBucket on bucketKey setting to create the bucket sooner in the workflow than an events shipment 2015-09-14 16:30:40 -05:00
David Sulpy
bad978afbd removed all simicolons as per the groovy-lang.org style guide and better consistency 2015-09-14 16:19:30 -05:00
David Sulpy
80b4d6a665 removed functions from uninstall that may have been causing errors during the uninstall process; added an initializer for the atomicState.eventBuffer on update if it's whiped away; added a check for access key in createBucket to make the function more idempotent 2015-09-14 16:16:21 -05:00
David Sulpy
f51d6542b8 Merge pull request #5 from davidsulpy/master
New capabilities; buffering; scheduling
2015-09-11 11:30:01 -05:00
David Sulpy
7baad1c35e fixed the scheduling from throwing exceptions because it was using parenthesis when passing the handler method in to the scheduling method; ensured that the scheduler doesn't send empty events 2015-09-11 11:09:03 -05:00
David Sulpy
621bcfadd2 fixed a goovy syntax issue with http posts callback closures 2015-09-11 10:39:58 -05:00
David Sulpy
83bbaebef2 merged and made some slight adjustments 2015-09-11 10:37:26 -05:00
David Sulpy
bde5abcdb5 added buffering of events to reduce the calls from ST to IS; added buffer flushing after 10 events or 15 min with a scheduler; added a version to show in logs and help troubleshoot 2015-09-11 10:31:30 -05:00
David Sulpy
5719bbcaac switched from using state to using atomicState in preparation of event buffering; using atomicState exclusively per important tip found here: http://docs.smartthings.com/en/latest/smartapp-developers-guide/state.html#atomic-state 2015-09-10 11:14:27 -05:00
David Sulpy
6b142622db Merge pull request #4 from davidsulpy/master
New capabilities!
2015-08-25 14:27:15 -05:00
David Sulpy
8d07e81b80 Added all capabilities possible sans door controllers and buttons. 2015-08-25 12:23:05 -05:00
David Sulpy
0fcff53eba Removed door controllers from comments and further implementation to see if that fixes ST 403 error on authentication 2015-08-14 14:41:27 -05:00
David Sulpy
6428bd800d Merge pull request #3 from davidsulpy/master
rolled back changes to previous version
2015-08-10 19:23:21 -05:00
David Sulpy
786af03073 rolled back changes to previous version 2015-08-10 19:22:53 -05:00
David Sulpy
5efa2a20f4 Merge pull request #2 from davidsulpy/master
Added a check to prevent an empty string root url from being accepted
2015-08-10 11:52:36 -07:00
David Sulpy
04212d70dd Added a check to prevent an empty string root url from being accepted 2015-08-10 12:22:31 -05:00
David Sulpy
4a5f890e27 Merge pull request #1 from davidsulpy/master
made a few adjustments to api interfacing; added root url configurabi…
2015-08-05 10:44:05 -07:00
David Sulpy
dd69c7c28a made a few adjustments to api interfacing; added root url configurability through api; uncommented previously commented device capabilities after discussion with SmartThings that the apparent disfunctionality is an ST IDE quirk, not an ST system quirk 2015-08-05 10:37:35 -07:00
Vinay Rao
0a9a86ee99 Merge pull request #11 from workingmonk/smartpower_outlet_errors
[DVCSMP-790] fixing errors due to missing if case parsing OTA data
2015-08-05 10:30:30 -07:00
Vinay Rao
140431d3bf fixing errors due to missing if case parsing OTA data 2015-08-05 10:27:10 -07:00
Vinay Rao
d5b0181a33 Merge pull request #4 from larsfinander/echoHeartBeat
Added heartbeat to OSRAM bulb and Smartpower Outlet
2015-08-04 17:14:56 -07:00
larsfinander
21095bde5e Added heartbeat to OSRAM bulb and Smartpower Outlet
-Added heartbeat attribute
-Event triggered each poll or check in
2015-08-04 17:02:41 -07:00
bflorian
6ad3c4fd7a Initial commit 2015-08-04 15:49:03 -07:00