Commit Graph

22 Commits

Author SHA1 Message Date
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
6eac6affcf added some protection against potential error cases if grokerSubdomain isn't properly set 2015-09-14 17:45:04 -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
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
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
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
786af03073 rolled back changes to previous version 2015-08-10 19:22:53 -05: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
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