Page 1 of 1

Checking the Log for Hue Error

PostPosted: Mon May 30, 2016 12:18 am
by ckeyes888
Hey,

I'm trying to periodically check the log for a Hue error, my hub seems to be dying, and am getting this error from the
script.

Schedule Hue Error Check
Action Group Hue Restart
Error TriggerAction() caught exception: ElementNotFoundError -- could not find device with element ID 0

Code: Select all
tell application "IndigoServer"
   set bad to "Hue Lights Error"
   set res to (do shell script "tail -n 200 '/Library/Application Support/Perceptive Automation/Indigo 6/Logs/indigo_log.txt'")
   if res contains bad then
      execute group "Hue Restart"
   end if
end tell


Any clue what is failing?

Thanks,

Carl

Re: Checking the Log for Hue Error

PostPosted: Sun Oct 30, 2016 3:35 pm
by joekewe
I used a second, "Compare.txt" file with diff and grep to find Log errors. Perhaps my new post will help:

http://forums.indigodomo.com/viewtopic.php?f=4&t=17031

Good luck,

Joe