EyeTV Debug runConcurrentThread initiated
EyeTV Debug initiating dialog timer "Next program data check" on a 300 seconds pace
EyeTV Debug time ellapsed for dialog timer "Next program data check"
EyeTV Debug initiating dialog timer "Next program timer check" on a 3600 seconds pace
EyeTV Debug time ellapsed for dialog timer "Next program timer check"
EyeTV Debug going to call shell ps -awxc -opid,comm | grep 'EyeTV$'
EyeTV Debug returned from shell: {u'ProcessID': u'78769'}
EyeTV Debug going to call applescript (* Get EyeTV application data *)
tell application "EyeTV"
set saveTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"||"}
with timeout of 2 seconds
set thechannel to current channel
set toreturn to {alert menu open as text, ¬
(name of (channels whose channel number = thechannel)) as text, ¬
is Turbo Hardware Plugged In as text, ¬
(is_compacting or is_exporting or is_recording or is_saving_clip_as_recording or playing) as text, ¬
is_compacting as text, ¬
is_exporting as text, ¬
is_recording as text, ¬
is_saving_clip_as_recording as text, ¬
playing as text, ¬
prepad time as string, ¬
postpad time as string, ¬
(((playback volume)*100) as integer) as text, ¬
volume muted as text, ¬
server mode as text}
if is_recording then
set the end of toreturn to "recording"
else if playing then
set the end of toreturn to "playing"
else if (is_compacting or is_exporting or is_saving_clip_as_recording) then
set the end of toreturn to "paused"
else
set the end of toreturn to "stopped"
end if
set toreturn to toreturn as text
end timeout
set AppleScript's text item delimiters to saveTID
end tell
return toreturn
EyeTV Debug returned from applescript: {u'Status': u'stopped', u'PrepadTime': u'2', u'isTurboHardwareIn': u'False', u'isRecording': u'False', u'CurrentChannel': u'QVC', u'isMutedVolume': u'False', u'isCompacting': u'False', u'AlertMenu': u'False', u'isSavingClip': u'False', u'PlaybackVolume': u'100', u'isServerMode': u'False', u'isBusy': u'False', u'PostpadTime': u'2', u'isPlaying': u'False', u'isExporting': u'False'}
EyeTV Debug "Server - EyeTV" input keys values : {u'Status': u'stopped', u'PrepadTime': u'2', u'isTurboHardwareIn': u'False', u'isRecording': u'False', u'isExporting': u'False', u'AlertMenu': u'False', u'isMutedVolume': u'False', u'PostpadTime': u'2', u'CurrentChannel': u'QVC', u'isSavingClip': u'False', u'PlaybackVolume': u'100', u'isServerMode': u'False', u'isBusy': u'False', u'isPlaying': u'False', u'isCompacting': u'False'}
EyeTV Debug "Server - EyeTV" Status value : stopped == stopped
EyeTV Debug "Server - EyeTV" PrepadTime value : 2 == 2
EyeTV Debug "Server - EyeTV" isTurboHardwareIn value : False == False
EyeTV Debug "Server - EyeTV" isRecording value : False == False
EyeTV Debug "Server - EyeTV" isExporting value : False == False
EyeTV Debug "Server - EyeTV" AlertMenu value : False == False
EyeTV Debug "Server - EyeTV" isMutedVolume value : False == False
EyeTV Debug "Server - EyeTV" PostpadTime value : 2 == 2
EyeTV Debug "Server - EyeTV" CurrentChannel value : QVC == QVC
EyeTV Debug "Server - EyeTV" isSavingClip value : False == False
EyeTV Debug "Server - EyeTV" PlaybackVolume value : 100 == 100
EyeTV Debug "Server - EyeTV" isServerMode value : False == False
EyeTV Debug "Server - EyeTV" isBusy value : False == False
EyeTV Debug "Server - EyeTV" isPlaying value : False == False
EyeTV Debug "Server - EyeTV" isCompacting value : False == False
EyeTV Debug "Server - EyeTV" updated keys values : {}
EyeTV Debug forced time ellapsed for dialog timer "Next program data check"
EyeTV Debug time ellapsed for dialog timer "Next program data check"
EyeTV Debug going to call applescript (* Find next program *)
global theNextEyeTVProgramTime
global theNextEyeTVProgram
global theTime
on run
with timeout of 2 seconds
tell application "EyeTV"
set theTime to (current date) + prepad time * 60 + 60
set theNextEyeTVProgram to (item 1 of (programs where (start time > theTime) and enabled = true))
set theNextEyeTVProgramTime to start time of theNextEyeTVProgram
end tell
end timeout
loopme()
set saveTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"||"}
tell application "EyeTV"
set thechannel to ((channel number) of theNextEyeTVProgram)
set toreturn to {(unique ID of theNextEyeTVProgram) as string, ¬
(title of theNextEyeTVProgram) as string, ¬
(episode of theNextEyeTVProgram) as string, ¬
(name of (channels whose channel number = thechannel)) as text, ¬
(duration of theNextEyeTVProgram) as string, ¬
(start time of theNextEyeTVProgram) as string, ¬
my pydate(start time of theNextEyeTVProgram)} as text
end tell
set AppleScript's text item delimiters to saveTID
return toreturn
end run
on loopme()
with timeout of 2 seconds
tell application "EyeTV"
try
set theNextEyeTVProgram to (item 1 of (programs where (start time > theTime) and (start time < theNextEyeTVProgramTime) and enabled = true))
set theNextEyeTVProgramTime to start time of theNextEyeTVProgram
on error
return
end try
end tell
end timeout
return loopme()
end loopme
on pydate(mydate)
return "" & (year of mydate) & ¬
"-" & text -2 thru -1 of ("00" & ((month of mydate) as integer)) & ¬
"-" & text -2 thru -1 of ("00" & (day of mydate)) & ¬
" " & text -2 thru -1 of ("00" & (hours of mydate)) & ¬
":" & text -2 thru -1 of ("00" & (minutes of mydate)) & ¬
":" & text -2 thru -1 of ("00" & (seconds of mydate))
end pydate
EyeTV Debug warning: applescript (* Find next program *) following error filtered: 338:344: execution error: EyeTV got an error: (ID=-1708) (-1728)
EyeTV Debug returned from applescript: {u'UniqueID': u''}
EyeTV Debug "Server - EyeTV" input keys values : {u'UniqueID': u''}
EyeTV Debug "Server - EyeTV" UniqueID value : ==
EyeTV Debug "Server - EyeTV" updated keys values : {}
EyeTV Debug Working on timer data
EyeTV Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 171, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/EyeTV.indigoPlugin/Contents/Server Plugin/interface.py", line 244, in updateNextProgramTimer
KeyError: u'Title'
EyeTV Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
set diskName to "YourDiskNameHere"
tell application "Finder"
if disk diskName exists then
eject disk diskName
else
tell current application
set deviceLine to (do shell script "diskutil list | grep \"" & diskName & "\" | awk '{ print $NF }' }'")
if deviceLine = "" then
display dialog "The disk \"" & diskName & "\" cannot be found." buttons {"OK"} default button 1 with title "Error" with icon caution
end if
set foundDisks to paragraphs of deviceLine
repeat with i from 1 to number of items in foundDisks
set this_item to item i of foundDisks
if this_item contains "disk" then
do shell script "diskutil mountDisk /dev/" & this_item
end if
end repeat
end tell
end if
end tell
Z-Wave received "019 - Setpoint Thermostat" status update battery level 64%
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' dyn_updater$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' handyPrint$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' Hardware Monitor$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' iTunes$'
Mac System Debug returned from shell: {'ProcessID': u'12623', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'12623', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' OpenDNS Updater$'
Mac System Debug requesting device "Server - App: handyPrint" action RequestStatus
Mac System sent device "Server - App: handyPrint" action RequestStatus
Mac System Debug Device "Server - App: handyPrint" has 1 update requests stacked
Mac System Debug returned from shell: {'ProcessID': u'888', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'888', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' TeamViewer$'
Mac System Debug returned from shell: {'ProcessID': u'865', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'865', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ls -1 /Volumes | grep '^Accent HD$'
Mac System Debug returned from shell: Accent HD
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ls -1 /Volumes | grep '^Drobo Pro$'
Mac System Debug returned from shell: Drobo Pro
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' test$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 8.99 seconds
Mac System Debug time ellapsed for dialog timer "Read volume data"
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' dyn_updater$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' handyPrint$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug Device "Server - App: handyPrint" is going to process an update request
Mac System Debug going to call shell ps -wxc -olstart,pcpu,pmem,etime -p0 | sed 1d
Mac System Debug returned from shell: {'PCpu': '', 'ETime': '', 'LStart': '', 'PMem': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'PCpu': 0, 'onOffState': False, 'ETime': 0, 'PStatus': 'off', 'LStart': '', 'PMem': 0}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' Hardware Monitor$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' iTunes$'
Mac System Debug returned from shell: {'ProcessID': u'12623', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'12623', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' OpenDNS Updater$'
Mac System Debug returned from shell: {'ProcessID': u'888', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'888', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' TeamViewer$'
Mac System Debug returned from shell: {'ProcessID': u'865', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'865', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ls -1 /Volumes | grep '^Accent HD$'
Mac System Debug returned from shell: Accent HD
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell /usr/sbin/diskutil list | grep ' Accent HD '
Mac System Debug returned from shell: {'VolumeDevice': u'disk0s2', 'VolumeSize': u'249.2 GB', 'VolumeType': u'Apple_HFS'}
Mac System Debug going to call shell /bin/df | grep 'disk0s2'
Mac System Debug returned from shell: {'Available': u'399988256', 'Used': u'86217696'}
Mac System Debug Input Keys: Values : {'pcUsed': 17L, 'VolumeSize': u'249.2 GB', 'onOffState': True, 'VolumeType': u'Apple_HFS', 'VolumeDevice': u'disk0s2', 'VStatus': 'on'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ls -1 /Volumes | grep '^Drobo Pro$'
Mac System Debug returned from shell: Drobo Pro
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell /usr/sbin/diskutil list | grep ' Drobo Pro '
Mac System Debug returned from shell: {'VolumeDevice': u'disk1s2', 'VolumeSize': u'17.6 TB', 'VolumeType': u'Apple_HFS'}
Mac System Debug going to call shell /bin/df | grep 'disk1s2'
Mac System Debug returned from shell: {'Available': u'10107021664', 'Used': u'24252044864'}
Mac System Debug Input Keys: Values : {'pcUsed': 70L, 'VolumeSize': u'17.6 TB', 'onOffState': True, 'VolumeType': u'Apple_HFS', 'VolumeDevice': u'disk1s2', 'VStatus': 'on'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep ' test$'
Mac System Debug returned from shell: {'ProcessID': '', 'PStatus': ''}
Mac System Debug Input Keys: Values : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 8.41 seconds
Stopped plugin "Mac System 1.1.0"
Starting plugin "Mac System 1.1.0" (pid 96160)
Started plugin "Mac System 1.1.0"
Mac System Debug startup called
Mac System Debug end of startup
Mac System Debug deviceStartComm called for: App Ko iTunes (665195922 - bip.ms.application)
Mac System Debug end of deviceStartComm
Mac System Debug deviceStartComm called for: App KO JDownloader2 (1340208463 - bip.ms.application)
Mac System Debug end of deviceStartComm
Mac System Debug deviceStartComm called for: App uTorrent (225035682 - bip.ms.application)
Mac System Debug end of deviceStartComm
Mac System Debug runConcurrentThread initiated
Mac System Debug initiating dialog timer "Next disk spin" on a 600 seconds pace
Mac System Debug time ellapsed for dialog timer "Next disk spin"
Mac System Debug initiating dialog timer "Read volume data" on a 60 seconds pace
Mac System Debug time ellapsed for dialog timer "Read volume data"
Mac System Debug initiating dialog timer "Read application data" on a 60 seconds pace
Mac System Debug time ellapsed for dialog timer "Read application data"
Mac System Debug going to call shell pmset -g | grep disksleep | sed -e s/[a-z]//g | sed -e 's/ //g'
Mac System Debug returned from shell: 0
Mac System Debug Input Plugin Property Keys: Values : {'disksleepTime': 0}
Mac System Debug going to call shell ps -awxc -opid,state,comm | grep 'iTunes$'
Mac System Debug returned from shell: {'ProcessID': u'43819', 'PStatus': u'S'}
Mac System Debug Input Keys: Values : {'ProcessID': u'43819', 'onOffState': True, 'PStatus': u'running'}
Mac System Debug ProcessID value : <> 43819
Mac System received "App Ko iTunes" status ProcessID update to 43819
Mac System Debug ProcessID value : 43819 == 43819
Mac System Debug onOffState value : False <> True
Mac System received "App Ko iTunes" status onOffState update to True
Mac System Debug onOffState value : True == True
Mac System Debug PStatus value : <> running
Mac System received "App Ko iTunes" status PStatus update to running
Mac System Debug PStatus value : running == running
Mac System Debug Updated Keys: Values : {'ProcessID': u'43819', 'onOffState': u'True', 'PStatus': u'running'}
Mac System Debug device "App Ko iTunes" has automatic image for PStatus = running
Mac System Debug going to call shell ps -awxc -opid,lstart,etime,pcpu,pmem,state,comm | grep 'iTunes$'
Mac System Debug returned from shell: {'ProcessID': u'43819', 'PCpu': u'.0 3.', 'ETime': u'04:31:48 0', 'PStatus': u'', 'LStart': u'Tue Apr 21 18:26:01 2015', 'PMem': u'0 S'}
Mac System Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 169, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Mac System.indigoPlugin/Contents/Server Plugin/interface.py", line 93, in getProcessData
<type 'exceptions.KeyError'>: u''
Mac System Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Mac System Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 169, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Mac System.indigoPlugin/Contents/Server Plugin/interface.py", line 93, in getProcessData
<type 'exceptions.KeyError'>: u''
Mac System Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Mac System Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 169, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Mac System.indigoPlugin/Contents/Server Plugin/interface.py", line 93, in getProcessData
<type 'exceptions.KeyError'>: u''
Mac System Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Starting plugin "Mac System 1.1.0" (pid 92259)
Started plugin "Mac System 1.1.0"
Mac System Debug startup called
Mac System Debug end of startup
Mac System Debug deviceStartComm called for: new device (600837587 - bip.ms.volume)
Mac System Debug end of deviceStartComm
Mac System Debug runConcurrentThread initiated
Mac System Debug initiating dialog timer "Next disk spin" on a 540 seconds pace
Mac System Debug time ellapsed for dialog timer "Next disk spin"
Mac System Debug initiating dialog timer "Read volume data" on a 60 seconds pace
Mac System Debug time ellapsed for dialog timer "Read volume data"
Mac System Debug initiating dialog timer "Read application data" on a 60 seconds pace
Mac System Debug time ellapsed for dialog timer "Read application data"
Mac System Debug going to call shell pmset -g | grep disksleep | sed -e s/[a-z]//g | sed -e 's/ //g'
Mac System Debug returned from shell: 10
Mac System Debug Input Plugin Property Keys: Values : {'disksleepTime': 10}
Mac System Debug going to call shell ls -1 /Volumes | grep '^RAMDISK$'
Mac System Debug returned from shell: RAMDISK
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to call shell /usr/sbin/diskutil list | grep ' RAMDISK '
Mac System Debug returned from shell: {'VolumeDevice': u'disk4', 'VolumeSize': u'536.9 MB', 'VolumeType': u''}
Mac System Debug going to call shell ls -1 /Volumes | grep '^RAMDISK$'
Mac System Debug returned from shell: RAMDISK
Mac System Debug going to call shell /bin/df | grep 'disk4'
Mac System Debug returned from shell: {'Available': u'223208', 'Used': u'825368'}
Mac System Debug Input Keys: Values : {'pcUsed': 78, 'VolumeSize': u'536.9 MB', 'onOffState': True, 'VolumeType': u'', 'VolumeDevice': u'disk4', 'VStatus': 'on'}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 9.4 seconds
Mac System Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 203, in actionControlDimmerRelay
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Mac System.indigoPlugin/Contents/Server Plugin/bipIndigoFramework/relaydimmer.py", line 53, in startAction
<type 'exceptions.KeyError'>: (indigo.kDimmerRelayAction(11),)
Mac System Debug going to call shell ls -1 /Volumes | grep '^RAMDISK$'
Mac System Debug returned from shell: RAMDISK
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 9.88 seconds
Mac System Debug going to call shell ls -1 /Volumes | grep '^RAMDISK$'
Mac System Debug returned from shell: RAMDISK
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 9.88 seconds
Mac System Debug going to call shell ls -1 /Volumes | grep '^RAMDISK$'
Mac System Debug time ellapsed for dialog timer "Read application data"
Mac System Debug returned from shell: RAMDISK
Mac System Debug Input Keys: Values : {'VStatus': 'on', 'onOffState': True}
Mac System Debug Updated Keys: Values : {}
Mac System Debug going to sleep for 9.88 seconds
In my new version, I have inserted new application device properties.
I am stressed (for you) when I see the number of devices that you will have to recreate.