Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated code for Issue7 #10

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

ScriptBlock
Copy link

I didn't have an opportunity to test this code but I'm using the same format in my existing groovy script to poll all devices every 5 minutes to get info regardless of events being triggered for those devices.

I did some refactoring of the original master for consistency as well as code re-use.

hrottenberg and others added 6 commits September 7, 2019 17:25
- properly formatted w/indentation, removed some unused commented code
- removed HOST HTTP header so that Splunk will set that properly
- added new "http:smartthings" sourcetype field for Splunk
- added some comments here and there
- JSON typo
…vent/device to JSON functions. added ability to enable device polling and implemented 5 minutes polling for all devices if enabled.
…vent/device to JSON functions. added ability to enable device polling and implemented 5 minutes polling for all devices if enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant