Jandy Aqualink Pool / Spa Control - AppleScripts updated
| Author |
Message |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
I restart the macmini every morning at about 2:30. The plugin has been working well all day yesterday. When I tried it this AM, got the same broken socket error as described above. I checked the connection for the Autelis web page which was good. Went back to the reboot log and saw: - Code: Select all
Plugin "Action Collection" connected Plugin "Autelis Jandy" connected Plugin "Airfoil" connected Plugin "Growl" connected Plugin "iTunes" connected Plugin "Smartphone Radar" connected SQLite client connected SQLite client connected to Indigo Server Reflector starting reflector connection to https://XXXXXX.goprism.com SQLite client connected to sqlite_db SQLite logging all device state changes SQLite logging all variable value changes Plugin "Growl 1.0.4" started Plugin "Smartphone Radar 0.9.1" started Plugin "Airfoil 1.0.2" started Plugin "Autelis Jandy 1.0.1" started Plugin "Action Collection 1.0.2" started Smartphone Radar Watching for smartphone 'Phone Ham' at address 00:26:08:XXXXXX. Smartphone Radar Watching for smartphone 'Phone Marion' at address 00:26:4a:XXXXXX. Autelis Jandy Saved Plugin Configuration Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration. Plugin "iTunes 1.0.12" started
31Dec, 2011 2:24:15 AM Emails on POP server mail.comcast.net will be scanned every 10 minutes
Tried reloading the plugin again and got another "failed to connect" message. Restarted the Airport Express, reloaded the plugin and all was good. As a test I rebooted the macmini just now and got the same error: - Code: Select all
Bonjour registered "Indigo - XXXXX" Indigo Cocoa client connected Plugin "Airfoil" connected Plugin "Growl" connected Plugin "Action Collection" connected Plugin "Autelis Jandy" connected Plugin "iTunes" connected Plugin "Smartphone Radar" connected SQLite client connected Reflector starting reflector connection to https://XXXXX.goprism.com SQLite client connected to Indigo Server SQLite client connected to sqlite_db SQLite logging all device state changes SQLite logging all variable value changes Plugin "Growl 1.0.4" started Plugin "Smartphone Radar 0.9.1" started Plugin "Airfoil 1.0.2" started Plugin "Autelis Jandy 1.0.1" started Plugin "Action Collection 1.0.2" started Plugin "iTunes 1.0.12" started Smartphone Radar Watching for smartphone 'Phone Ham' at address 00:26:08:XXXXXX Smartphone Radar Watching for smartphone 'Phone Marion' at address 00:26:4a:XXXXX. Autelis Jandy Saved Plugin Configuration Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
31Dec, 2011 11:18:29 AM Emails on POP server mail.comcast.net will be scanned every 10 minutes
This time, however, simply reloading the plugin worked and I didn't have to restart the Airport Express. The difference may be that I had not tried executing a command yet, and so it had not thrown the broken pipe-socket error. Have tried to adapt the plugin reload script for the Autelis and set it up to fire shortly after reboot, but this piece of code did not work: - Code: Select all
plugin = indigo.server.getPlugin("com.perceptiveautomation.indigoplugin.AutelisJandy") if plugin.isEnabled(): plugin.restart()
Is the filename incorrect? I'm sure I can work around this - but wanted you to be aware how the plugin was behaving.
|
| Sat Dec 31, 2011 10:16 am |
|
 |
|
nlagaros
Joined: Dec 20, 2010 Posts: 405
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
OK - think I understand why the failed reconnect is occurring. My guess is that the socket connection between the Indigo plugin and the Autelis device is being kept open when your machine reboots in the morning. Do you shutdown Indigo cleanly as part of this process? If not, then the socket will stay open. The Autelis device allows only one TCP connection.
If you keep getting these socket errors - where the plugin stops working, would you mind putting the plugin in debug mode so we can capture the event and understand what is causing it to fail.
As far as restarting the plugin, you have the name almost correct. You want this: com.ssi.indigoplugin.AutelisJandy
|
| Sat Dec 31, 2011 1:23 pm |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
Came home and the plugin was not connected. Turned on logging and tried to restart without success. Stopped IndigoServer and restarted. I put in some gaps and annotated a couple of important places. - Code: Select all
Initial try and it did not hook up. 2011-12-31 15:29:51 Application Reloading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:29:51 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 794) 2011-12-31 15:29:52 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:29:52 Application Starting plugin "Autelis Jandy 1.0.1" (pid 989) 2011-12-31 15:29:52 Application Plugin "Autelis Jandy" connected 2011-12-31 15:29:53 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:29:53 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:29:53 Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
Tried again and it hooked up. 2011-12-31 15:30:03 Application Disabling plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:03 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 989) 2011-12-31 15:30:03 Received INSTEON "Thermostat Fam Room" on (button 3) 2011-12-31 15:30:03 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:30:11 Application Enabling plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:11 Application Starting plugin "Autelis Jandy 1.0.1" (pid 993) 2011-12-31 15:30:11 Application Plugin "Autelis Jandy" connected 2011-12-31 15:30:12 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:30:12 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:30:12 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
Stop Indigo server and restart Indigo 2011-12-31 15:30:48 Application Quiting Indigo Server - received slow quit signal 2011-12-31 15:30:48 Application Quiting Indigo Server - stopping plugins 2011-12-31 15:30:48 Application Stopping plugin "Smartphone Radar" (pid 232) 2011-12-31 15:30:48 Application Stopping plugin "Action Collection" (pid 226) 2011-12-31 15:30:48 Application Stopping plugin "Airfoil" (pid 227) 2011-12-31 15:30:48 Application Stopping plugin "Growl" (pid 229) 2011-12-31 15:30:48 Application Stopping plugin "iTunes" (pid 230) 2011-12-31 15:30:48 Application Stopping plugin "Autelis Jandy" (pid 993) 2011-12-31 15:30:48 Autelis Jandy Socket: 10.0.1.40:6000 closed succesfully 2011-12-31 15:30:49 Application Plugin "iTunes" disconnected 2011-12-31 15:30:49 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:30:49 Application Plugin "Airfoil" disconnected 2011-12-31 15:30:49 Application Plugin "Growl" disconnected 2011-12-31 15:30:49 Application Plugin "Action Collection" disconnected 2011-12-31 15:30:49 Application Plugin "Smartphone Radar" disconnected 2011-12-31 15:30:49 Application Stopping embedded script executor host (pid 282) 2011-12-31 15:30:50 Application Quiting Indigo Server - saving database 2011-12-31 15:30:51 Application Quiting Indigo Server - saving preferences 2011-12-31 15:30:52 Application Closed connection to PowerLinc 2413U 2011-12-31 15:30:52 Application Quiting Indigo Server - disconnecting clients 2011-12-31 15:30:53 Application Indigo Cocoa client disconnected 2011-12-31 15:30:54 Application SQLite client disconnected 2011-12-31 15:30:55 Application WebServer client disconnected 2011-12-31 15:30:55 Reflector shutdown reflector connection 2011-12-31 15:30:57 Application Quiting Indigo Server - unloading launchd plist 2011-12-31 15:30:57 Application Stopped child process 245 2011-12-31 15:30:57 Application Stopped child process 246 2011-12-31 15:30:57 Application Quiting Indigo Server - complete 2011-12-31 15:30:58 Application Starting Indigo Server version 5.0.2 2011-12-31 15:30:58 Application Loading attachments 2011-12-31 15:30:58 Application "audioAppControl.scpt" script loaded 2011-12-31 15:30:58 Application "device target attachment.scpt" script loaded 2011-12-31 15:30:58 Application "group target attachment.scpt" script loaded 2011-12-31 15:30:58 Application "growl attachment.scpt" script loaded 2011-12-31 15:30:58 Application "IRed The Remote Path.scpt" script loaded 2011-12-31 15:30:58 Application "iTunes attachment.scpt" script loaded 2011-12-31 15:30:58 Application "scenes attachment.scpt" script loaded 2011-12-31 15:30:58 Application "ThermostatProcessor.scpt" script loaded 2011-12-31 15:30:58 Application "time stamp attachment.scpt" script loaded 2011-12-31 15:30:59 Application Loading plugin "Action Collection 1.0.2" 2011-12-31 15:30:59 Application Starting plugin "Action Collection 1.0.2" (pid 1003) 2011-12-31 15:30:59 Application Loading plugin "Airfoil 1.0.2" 2011-12-31 15:30:59 Application Starting plugin "Airfoil 1.0.2" (pid 1004) 2011-12-31 15:30:59 Application Loading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:59 Application Starting plugin "Autelis Jandy 1.0.1" (pid 1005) 2011-12-31 15:30:59 Application Loading plugin "Growl 1.0.4" 2011-12-31 15:30:59 Application Starting plugin "Growl 1.0.4" (pid 1006) 2011-12-31 15:30:59 Application Loading plugin "iTunes 1.0.12" 2011-12-31 15:30:59 Application Starting plugin "iTunes 1.0.12" (pid 1007) 2011-12-31 15:30:59 Application Loading plugin "Smartphone Radar 0.9.1" 2011-12-31 15:31:00 Application Starting plugin "Smartphone Radar 0.9.1" (pid 1008) 2011-12-31 15:31:00 Application Found disabled plugin "DIRECTV DVR Control 1.0.0" 2011-12-31 15:31:00 Application Found disabled plugin "EasyDAQ Relay Card 1.0.11" 2011-12-31 15:31:00 Application Found disabled plugin "Find My IDevices 1.20" 2011-12-31 15:31:00 Application Found disabled plugin "iCal Alarm Processor 1.0.1" 2011-12-31 15:31:00 Application Found disabled plugin "NOAA Weather 1.0.0" 2011-12-31 15:31:00 Application Found disabled plugin "WeatherSnoop 1.0.1" 2011-12-31 15:31:00 Application Bonjour registered "Indigo - xxxxx" 2011-12-31 15:31:00 Application Plugin "Action Collection" connected 2011-12-31 15:31:00 Application Plugin "Airfoil" connected 2011-12-31 15:31:00 Application Plugin "Autelis Jandy" connected 2011-12-31 15:31:00 Application Plugin "Growl" connected 2011-12-31 15:31:00 Application Plugin "Smartphone Radar" connected 2011-12-31 15:31:00 Application Plugin "iTunes" connected 2011-12-31 15:31:01 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:31:01 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:31:01 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:31:01 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:31:01 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:31:01 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:31:01 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:31:01 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:31:01 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:31:01 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:31:01 Autelis Jandy Debug Opening connection.... 2011-12-31 15:31:01 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
In the line above AutelisJandy connects successfully.
2011-12-31 15:31:01 Autelis Jandy Debug TX: #AUX1? 2011-12-31 15:31:02 Application Plugin "Smartphone Radar 0.9.1" started 2011-12-31 15:31:02 Smartphone Radar Watching for smartphone 'Phone Ham' at address . 2011-12-31 15:31:02 Autelis Jandy Debug TX: #AUX2? 2011-12-31 15:31:02 Smartphone Radar Watching for smartphone 'Phone Marion' at address 2011-12-31 15:31:02 Application Plugin "Growl 1.0.4" started 2011-12-31 15:31:02 Autelis Jandy Debug TX: #AIRTMP? 2011-12-31 15:31:02 Reflector starting reflector connection to https://xxxxxx.goprism.com 2011-12-31 15:31:02 Autelis Jandy Debug TX: #POOLHT? 2011-12-31 15:31:02 Autelis Jandy Debug TX: #POOLHT2? 2011-12-31 15:31:02 Application SQLite client connected 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLSP? 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLSP2? 2011-12-31 15:31:03 Application Plugin "Action Collection 1.0.2" started 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLTMP? 2011-12-31 15:31:03 SQLite client connected to Indigo Server 2011-12-31 15:31:03 Autelis Jandy Debug TX: #PUMP? 2011-12-31 15:31:03 SQLite client connected to sqlite_db 2011-12-31 15:31:03 SQLite logging all device state changes 2011-12-31 15:31:03 SQLite logging all variable value changes 2011-12-31 15:31:04 Application Plugin "Airfoil 1.0.2" started 2011-12-31 15:31:04 Autelis Jandy Debug TX: #PUMPLO? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPA? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPAHT? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPASP? 2011-12-31 15:31:04 Application Plugin "iTunes 1.0.12" started 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SPATMP? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SOLHT? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SOLTMP? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #OPMODE? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #WFALL? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #CLEANR? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #VBAT? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #OPTIONS? 2011-12-31 15:31:07 Autelis Jandy Debug TX: #MODEL? 2011-12-31 15:31:07 Autelis Jandy Debug TX: #UNITS? 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AUX1=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AUX1, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AUX2=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AUX2, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLHT=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLHT, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLHT2=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLHT2, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLSP=87 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLSP, Value: 87 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLSP2=60 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLSP2, Value: 60 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLTMP=49 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLTMP, Value: 49 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 PUMP=1 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: PUMP, Value: on 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 PUMPLO=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: PUMPLO, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPA=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPA, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPAHT=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPAHT, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPASP=102 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPASP, Value: 102 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPATMP=0 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPATMP, Value: 0 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SOLHT=0 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SOLTMP=0 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 OPMODE=AUTO 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: OPMODE, Value: AUTO 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 WFALL=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: WFALL, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 VBAT=900 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: VBAT, Value: 900 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 OPTIONS=1 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: OPTIONS, Value: 1 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 MODEL=6520 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: MODEL, Value: 6520 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 UNITS=F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: UNITS, Value: F 2011-12-31 15:31:08 Application Indigo Cocoa client connected 2011-12-31 15:31:11 Application WebServer client connected 2011-12-31 15:31:11 WebServer started on port xxxx -- digest authentication enabled 2011-12-31 15:31:11 WebServer loaded plugin "Find My iDevices" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/css" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/images" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/js" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/static" 2011-12-31 15:31:12 Application Emails on POP server mail.comcast.net will be scanned every 10 minutes 2011-12-31 15:31:12 Trigger iTunes Sync Script 2011-12-31 15:31:12 Trigger Airfoil PandoraBoy iTunes 2011-12-31 15:31:12 Trigger Serial Bridge Quit and Restart 2011-12-31 15:31:12 Trigger Hide TeamViewer and iTunes 2011-12-31 15:31:12 Trigger iTunes Sync Script copy 2011-12-31 15:31:12 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:31:12 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:31:12 IndigoStatus Updater PandoraBoyIsRunning Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilIsRunning Changed from "" to "true" 2011-12-31 15:31:12 Application Connected to PowerLinc 2413U interface on port usbserial-A600exMb 2011-12-31 15:31:12 Application PowerLinc address 18.D2.39, firmware version 9.2 2011-12-31 15:31:12 IndigoStatus Updater AirFoilCurrentSource Changed from "" to "System Audio" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerComputerConnected Changed from "" to "true" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerClubhouseFeedConnected Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerDaddysiMaclocalConnected Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater iTunesIsRunning Changed from "" to "true" 2011-12-31 15:31:46 Autelis Jandy Debug RX: !00 AIRTMP=56 F 2011-12-31 15:31:46 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 56 F 2011-12-31 15:31:46 Received INSTEON "Thermostat MBR" humidity changed to 44.0 2011-12-31 15:32:12 Schedule Serial Bridge Quit and Restart (delayed action) 2011-12-31 15:32:12 Action Group Serial Bridge Quit and Restart Action Group 2011-12-31 15:32:12 Schedule Hide TeamViewer and iTunes (delayed action) 2011-12-31 15:32:24 Schedule Serial Bridge Quit and Restart (delayed action) 2011-12-31 15:32:41 WebServer Indigo Touch client connected from 10.0.1.50 2011-12-31 15:32:49 Autelis Jandy Debug TX: #AUX3 2011-12-31 15:32:49 Autelis Jandy Debug RX: !00 AUX3=1 2011-12-31 15:32:49 Autelis Jandy Debug Updating Device: Pool, State: AUX3, Value: on 2011-12-31 15:32:51 Received INSTEON "Thermostat Fam Study" humidity changed to 45.0 2011-12-31 15:32:52 Received INSTEON "Thermostat MBR" humidity changed to 45.0 2011-12-31 15:32:59 Autelis Jandy Debug TX: CLEANR 2011-12-31 15:33:00 Autelis Jandy Debug RX: !00 CLEAN=1 2011-12-31 15:33:00 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: on 2011-12-31 15:33:08 Autelis Jandy Debug TX: CLEANR 2011-12-31 15:33:09 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:33:09 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:33:31 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:33:31 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F
Restarted Mac Mini by going to file:restart. Should be a clean stop and restart of Indigo
2011-12-31 15:33:48 Application Indigo Cocoa client disconnected 2011-12-31 15:33:51 Application Quiting Indigo Server - received quit event 2011-12-31 15:33:51 Application Quiting Indigo Server - stopping plugins 2011-12-31 15:33:51 Application Stopping plugin "Smartphone Radar" (pid 1008) 2011-12-31 15:33:51 Application Stopping plugin "Action Collection" (pid 1003) 2011-12-31 15:33:51 Application Stopping plugin "Airfoil" (pid 1004) 2011-12-31 15:33:51 Application Stopping plugin "Growl" (pid 1006) 2011-12-31 15:33:51 Application Stopping plugin "iTunes" (pid 1007) 2011-12-31 15:33:51 Application Stopping plugin "Autelis Jandy" (pid 1005) 2011-12-31 15:33:51 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:33:51 Autelis Jandy Socket: 10.0.1.40:6000 closed succesfully
In the line above, AutelisJandy successfully closes the socket.
2011-12-31 15:33:51 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:33:51 Autelis Jandy Debug Method: shutdown 2011-12-31 15:33:52 Application Plugin "Action Collection" disconnected 2011-12-31 15:33:52 Application Plugin "Growl" disconnected 2011-12-31 15:33:52 Application Plugin "Airfoil" disconnected 2011-12-31 15:33:52 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:33:53 Application Plugin "Smartphone Radar" disconnected 2011-12-31 15:33:56 Application Plugin "iTunes" disconnected 2011-12-31 15:33:56 Application Quiting Indigo Server - saving database 2011-12-31 15:33:57 Application Quiting Indigo Server - saving preferences 2011-12-31 15:33:59 Application Closed connection to PowerLinc 2413U 2011-12-31 15:33:59 Application Quiting Indigo Server - disconnecting clients 2011-12-31 15:33:59 Application SQLite client disconnected 2011-12-31 15:34:00 Application WebServer client disconnected 2011-12-31 15:34:00 Reflector shutdown reflector connection 2011-12-31 15:34:03 Application Quiting Indigo Server - unloading launchd plist 2011-12-31 15:34:03 Application Stopped child process 1016 2011-12-31 15:34:03 Application Stopped child process 1017 2011-12-31 15:34:03 Application Stopped child process 1018 2011-12-31 15:34:03 Application Quiting Indigo Server - complete
Starting now.
2011-12-31 15:35:34 Application Starting Indigo Server version 5.0.2 2011-12-31 15:35:34 Application Loading attachments 2011-12-31 15:35:34 Application "audioAppControl.scpt" script loaded 2011-12-31 15:35:34 Application "device target attachment.scpt" script loaded 2011-12-31 15:35:34 Application "group target attachment.scpt" script loaded 2011-12-31 15:35:34 Application "growl attachment.scpt" script loaded 2011-12-31 15:35:34 Application "IRed The Remote Path.scpt" script loaded 2011-12-31 15:35:34 Application "iTunes attachment.scpt" script loaded 2011-12-31 15:35:34 Application "scenes attachment.scpt" script loaded 2011-12-31 15:35:34 Application "ThermostatProcessor.scpt" script loaded 2011-12-31 15:35:34 Application "time stamp attachment.scpt" script loaded 2011-12-31 15:35:41 Application Loading plugin "Action Collection 1.0.2" 2011-12-31 15:35:41 Application Starting plugin "Action Collection 1.0.2" (pid 227) 2011-12-31 15:35:41 Application Loading plugin "Airfoil 1.0.2" 2011-12-31 15:35:41 Application Starting plugin "Airfoil 1.0.2" (pid 228) 2011-12-31 15:35:41 Application Loading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:35:41 Application Starting plugin "Autelis Jandy 1.0.1" (pid 229) 2011-12-31 15:35:42 Application Loading plugin "Growl 1.0.4" 2011-12-31 15:35:42 Application Starting plugin "Growl 1.0.4" (pid 230) 2011-12-31 15:35:42 Application Loading plugin "iTunes 1.0.12" 2011-12-31 15:35:42 Application Starting plugin "iTunes 1.0.12" (pid 231) 2011-12-31 15:35:42 Application Loading plugin "Smartphone Radar 0.9.1" 2011-12-31 15:35:42 Application Starting plugin "Smartphone Radar 0.9.1" (pid 232) 2011-12-31 15:35:42 Application Found disabled plugin "DIRECTV DVR Control 1.0.0" 2011-12-31 15:35:42 Application Found disabled plugin "EasyDAQ Relay Card 1.0.11" 2011-12-31 15:35:42 Application Found disabled plugin "Find My IDevices 1.20" 2011-12-31 15:35:42 Application Found disabled plugin "iCal Alarm Processor 1.0.1" 2011-12-31 15:35:42 Application Found disabled plugin "NOAA Weather 1.0.0" 2011-12-31 15:35:42 Application Found disabled plugin "WeatherSnoop 1.0.1" 2011-12-31 15:35:42 Application Bonjour registered "Indigo - xxxxx" 2011-12-31 15:35:42 Application Indigo Cocoa client connected 2011-12-31 15:35:43 Application Plugin "Autelis Jandy" connected 2011-12-31 15:35:43 Application Plugin "Action Collection" connected 2011-12-31 15:35:43 Application Plugin "Airfoil" connected 2011-12-31 15:35:43 Application Plugin "Growl" connected 2011-12-31 15:35:43 Application Plugin "iTunes" connected 2011-12-31 15:35:43 Application Plugin "Smartphone Radar" connected 2011-12-31 15:35:44 Application SQLite client connected 2011-12-31 15:35:44 SQLite client connected to Indigo Server 2011-12-31 15:35:44 SQLite client connected to sqlite_db 2011-12-31 15:35:44 SQLite logging all device state changes 2011-12-31 15:35:44 SQLite logging all variable value changes 2011-12-31 15:35:45 Reflector starting reflector connection to https://xxxxx.goprism.com 2011-12-31 15:35:46 Application Plugin "Growl 1.0.4" started 2011-12-31 15:35:46 Application Plugin "Action Collection 1.0.2" started 2011-12-31 15:35:46 Application Plugin "Smartphone Radar 0.9.1" started 2011-12-31 15:35:46 Smartphone Radar Watching for smartphone 'Phone Ham' at address . 2011-12-31 15:35:46 Smartphone Radar Watching for smartphone 'Phone Marion' at address . 2011-12-31 15:35:46 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:35:46 Application Plugin "Airfoil 1.0.2" started 2011-12-31 15:35:46 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:35:46 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:35:46 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:35:46 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:35:46 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:35:46 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:35:46 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:35:46 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:35:46 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:35:46 Autelis Jandy Debug Opening connection.... 2011-12-31 15:35:46 Application Plugin "iTunes 1.0.12" started 2011-12-31 15:35:47 Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
Note in the line above that AutelisJandy failed to connect despite clean close and open of Indigo.
2011-12-31 15:35:50 Application Emails on POP server mail.comcast.net will be scanned every 10 minutes 2011-12-31 15:35:50 Trigger iTunes Sync Script 2011-12-31 15:35:50 Trigger Airfoil PandoraBoy iTunes 2011-12-31 15:35:50 Trigger Serial Bridge Quit and Restart 2011-12-31 15:35:50 Trigger Hide TeamViewer and iTunes 2011-12-31 15:35:50 Trigger iTunes Sync Script copy 2011-12-31 15:35:51 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:35:51 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:35:51 Application Connected to PowerLinc 2413U interface on port usbserial-A600exMb 2011-12-31 15:35:51 Application PowerLinc address 18.D2.39, firmware version 9.2 2011-12-31 15:35:51 Application WebServer client connected 2011-12-31 15:35:51 WebServer started on port xxxx -- digest authentication enabled 2011-12-31 15:35:51 WebServer loaded plugin "Find My iDevices" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/css" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/images" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/js" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/static" 2011-12-31 15:35:52 IndigoStatus Updater PandoraBoyIsRunning Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilIsRunning Changed from "" to "true" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilCurrentSource Changed from "" to "System Audio" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerComputerConnected Changed from "" to "true" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerDaddysiMaclocalConnected Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerClubhouseFeedConnected Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater iTunesIsRunning Changed from "" to "true" 2011-12-31 15:36:05 Received INSTEON "Thermostat Fam Study" humidity changed to 44.0 2011-12-31 15:36:09 Received INSTEON "Thermostat MBR" humidity changed to 45.0
Reloaded AutelisJandy Plugin, which worked this time. No other interventions.
2011-12-31 15:36:34 Application Reloading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:36:34 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 229) 2011-12-31 15:36:34 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:36:35 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:36:35 Autelis Jandy Debug Method: shutdown 2011-12-31 15:36:36 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:36:36 Application Starting plugin "Autelis Jandy 1.0.1" (pid 264) 2011-12-31 15:36:36 Application Plugin "Autelis Jandy" connected 2011-12-31 15:36:36 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:36:36 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:36:36 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:36:36 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:36:36 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:36:36 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:36:36 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:36:36 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:36:36 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:36:36 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:36:36 Autelis Jandy Debug Opening connection.... 2011-12-31 15:36:36 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully 2011-12-31 15:36:36 Autelis Jandy Debug TX: #AUX1? 2011-12-31 15:36:36 Autelis Jandy Debug TX: #AUX2? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #AIRTMP? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLHT? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLHT2? 2011-12-31 15:36:37 Received INSTEON "Thermostat GameRm" temperature changed to 59.0 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLSP? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #POOLSP2? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #POOLTMP? 2011-12-31 15:36:38 Received INSTEON "Thermostat GameRm" temperature changed to 59.0 2011-12-31 15:36:38 Autelis Jandy Debug TX: #PUMP? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #PUMPLO? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPA? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPAHT? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPASP? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPATMP? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #SOLHT? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #SOLTMP? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #OPMODE? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #WFALL? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #CLEANR? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #VBAT? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #OPTIONS? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #MODEL? 2011-12-31 15:36:42 Autelis Jandy Debug TX: #UNITS? 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AUX1=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AUX1, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AUX2=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AUX2, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLHT=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLHT, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLHT2=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLHT2, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLSP=87 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLSP, Value: 87 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLSP2=60 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLSP2, Value: 60 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLTMP=49 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLTMP, Value: 49 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 PUMP=1 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: PUMP, Value: on 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 PUMPLO=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: PUMPLO, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPA=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPA, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPAHT=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPAHT, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPASP=102 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPASP, Value: 102 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPATMP=0 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPATMP, Value: 0 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SOLHT=0 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SOLTMP=0 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 OPMODE=AUTO 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: OPMODE, Value: AUTO 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 WFALL=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: WFALL, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 VBAT=900 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: VBAT, Value: 900 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 OPTIONS=1 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: OPTIONS, Value: 1 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 MODEL=6520 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: MODEL, Value: 6520 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 UNITS=F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: UNITS, Value: F
Looks like even though Indigo got a slow stop from the Restart and closed the socket, the plugin was unable to open the socket on restart of Indigo. After a slight delay the plugin was successfully reloaded manually
|
| Sat Dec 31, 2011 2:56 pm |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
One other thing that might be good is if the Autelis' time can be enabled in the plugin. That way if the time was current it would confirm on the control page that the connection is up. ****Edit**** While it is possible that my WiFi connection is dropping on occasion which is adding to the problem, I stacked several heavy gauge pans and a thick wood panel in front of the router. That dropped the dB from about 74 signal 79 noise to 78 signal 83 noise without dropping the connection. Nonetheless something still may be happening. I've posted a note to the Autelis forum for their input under the "Disconnected?" thread. http://www.autelis.com/forum/viewtopic.php?f=4&t=47&sid=75ce2ef8aa5699c230489a906ddf2201Do you think there might be a way to have Indigo monitor the connection status? Maybe compare the time string from the Autelis with the time string from Indigo, and if too different, suggesting it's offline, force reboot/reload? I found and adapted a script to reboot the AP and can also reload the plugin. - Code: Select all
tell application "AirPort Utility" to activate delay 2 tell application "System Events" tell application process "AirPort Utility" tell window 1 select row 2 of table 1 of scroll area 1 --my AirPort Express is the second listed in the Airport Utility window click button "Manual Setup" delay 20 end tell tell menu bar 1 click menu bar item "Base Station" tell menu bar item "Base Station" tell menu 1 click menu item "Restart…" end tell end tell end tell delay 1 --imperative delay 30 end tell end tell
tell application "AirPort Utility" to quit
- Code: Select all
plugin = indigo.server.getPlugin("com.ssi.indigoplugin.AutelisJandy") if plugin.isEnabled(): plugin.restart()
|
| Sun Jan 01, 2012 12:28 am |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
Here's another surprising thing: although the plugin is currently throwing these errors, it executed each of the commands and *appears* to be functioning normally. - Code: Select all
1Jan, 2012 11:16:53 AM Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Received INSTEON "Thermostat MBR" temperature changed to 66.0 Error script error: Can’t make characters 12 thru -1 of "" into type string. (-1700) Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 66, in actionSetpoints File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 194, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 66, in actionSetpoints File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 194, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Received INSTEON "Thermostat Main Bedrooms" temperature changed to 65.0
|
| Sun Jan 01, 2012 10:19 am |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
In trying to monitor if the plugin is actually working, I set up a schedule to turn Aux5 on and off at three minute intervals. I would like to log the event and so was going to create a trigger to log the state change of Aux5. I might be going about this the wrong way, but although the plugin loaded correctly it doesn't look like the states are exposed for triggers.
Attachments:
AutelisJandy not in trigger list.jpg [ 148.46 KiB | Viewed 454 times ]
|
| Sun Jan 01, 2012 10:56 pm |
|
 |
|
asw24b
Joined: Dec 30, 2007 Posts: 179 Location: Los Altos Hills, CA
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
hamw wrote:In trying to monitor if the plugin is actually working, I set up a schedule to turn Aux5 on and off at three minute intervals. I would like to log the event and so was going to create a trigger to log the state change of Aux5. I might be going about this the wrong way, but although the plugin loaded correctly it doesn't look like the states are exposed for triggers.
Don't you just want to use a "Device state changed" trigger, selecting the device instance of the plugin for your pool ? Mike
|
| Sun Jan 01, 2012 11:11 pm |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
That looks like the way to do it. No more late night posts!! Thanks!
|
| Mon Jan 02, 2012 9:07 am |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
OK I think there may be something here. I have a "Recent Activity" script for the log set up ( viewtopic.php?f=4&t=6057)that I've used to trigger a restart of the plugin whenever this condition "value of variable "RecentActivity1" contains ("line 57, in actionAux" as string) is found. Looking at the log, the plugin runs about 15-20 minutes before it starts to generate errors. After about 5-10 minutes of these errors the trigger will catch the error and force a restart of the plugin, more or less successfully. The plugin runs again for 15-20 min and then starts to throw errors. Serendipitously I have iStat Menus installed. I saw that the CPU usage began to climb, and it seems to be due to the Indigo Plugin Host Process. See the attached images and an excerpt from the log file. You can see in the log at the bottom of the first image that the trigger has fired and the plugin's reload is initiated. The second image shows resolution of the high CPU usage. (Also, what editor would I use to save the python reload script as an external script?) Hope this is helpful. - Code: Select all
Automatic ReStart Action Group Pool Autelis Plugin Reload Error script error: Can’t make characters 12 thru -1 of "" into type string. (-1700) Reloading plugin "Autelis Jandy 1.0.1" Stopping plugin "Autelis Jandy 1.0.1" (pid 1095) Error because embedded scripts execute sequentially they must complete their execution within 10 seconds. Script Error embedded script: ServerCommunicationError -- timeout waiting for server response Error modify the script to exit quickly or convert it to an external file (not embedded). Script Error Exception Traceback (most recent call shown last):
embedded script, line 3, at top level StandardError: ServerCommunicationError -- timeout waiting for server response
Stopping embedded script executor host (pid 1062) Error process (pid 1095) failed to quit after polite request -- forcing it to quit now Starting plugin "Autelis Jandy 1.0.1" (pid 1160) Plugin "Autelis Jandy" disconnected Plugin "Autelis Jandy" connected Plugin "Autelis Jandy 1.0.1" started Autelis Jandy Saved Plugin Configuration Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully Received INSTEON "Thermostat Fam Study" humidity changed to 37.0
2Jan, 2012 5:47:59 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 36.0 Schedule pool on/off Received INSTEON "Thermostat Main Bedrooms" mode changed to all off; fan auto on Received INSTEON "Thermostat Main Bedrooms" mode changed to auto on; fan auto on Schedule pool on/off (delayed action)
2Jan, 2012 5:49:14 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 37.0
2Jan, 2012 5:49:41 AM Received INSTEON "Thermostat Fam Room" humidity changed to 33.0
2Jan, 2012 5:50:20 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 36.0
2Jan, 2012 5:50:47 AM Received INSTEON "Thermostat Fam Room" humidity changed to 34.0 Schedule pool on/off Received INSTEON "Thermostat GameRm" humidity changed to 39.0
2Jan, 2012 5:51:26 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 37.0 Schedule pool on/off (delayed action)
2Jan, 2012 5:51:56 AM Received INSTEON "Thermostat MBR" on (button 2)
2Jan, 2012 5:52:39 AM Received INSTEON "Thermostat MBR" temperature changed to 63.0
2Jan, 2012 5:53:45 AM Received INSTEON "Thermostat MBR" temperature changed to 64.0
2Jan, 2012 5:54:00 AM Schedule pool on/off Received INSTEON "Thermostat Fam Room" humidity changed to 33.0
2Jan, 2012 5:54:23 AM Received INSTEON "Thermostat GameRm" humidity changed to 40.0 Schedule pool on/off (delayed action) Received INSTEON "Thermostat Main Bedrooms" humidity changed to 36.0 Received INSTEON "Thermostat MBR" humidity changed to 42.0
2Jan, 2012 5:55:12 AM Received INSTEON "Thermostat Fam Room" humidity changed to 34.0
2Jan, 2012 5:55:57 AM Received INSTEON "Thermostat MBR" temperature changed to 63.0
2Jan, 2012 5:56:33 AM Received INSTEON "Thermostat GameRm" humidity changed to 39.0
2Jan, 2012 5:57:00 AM Schedule pool on/off Received INSTEON "Thermostat MBR" humidity changed to 43.0
2Jan, 2012 5:57:30 AM Schedule pool on/off (delayed action) Received INSTEON "Thermostat GameRm" humidity changed to 40.0
2Jan, 2012 5:57:55 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 37.0
2Jan, 2012 5:59:01 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 36.0 Received INSTEON "Thermostat MBR" temperature changed to 64.0
2Jan, 2012 5:59:49 AM Received INSTEON "Thermostat GameRm" humidity changed to 39.0 Schedule Crawl Space Fans Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update Action Group Weather WunderGround 6Day Forecast Schedule pool on/off Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Sent X10 "Water 4 CrawlSp Fan Fam Rm" on Sent X10 "Water 5 CrawlSp Fan Main House" on Sent X10 "Water 6 CrawlSp Fan Game Room" on Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update (delayed action) Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update (delayed action) Wunderground Script Launched Wunderground DEBUG: Start PWS loop- Station # is: 1, Error count is: 0
2Jan, 2012 6:00:21 AM Received INSTEON "Thermostat Fam Study" humidity changed to 36.0 Schedule pool on/off (delayed action) Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
- Code: Select all
changed to 39.0 Trigger Pool Autelis Automatic ReStart Action Group Pool Autelis Plugin Reload Error script error: Can’t make characters 12 thru -1 of "" into type string. (-1700) Received INSTEON "Thermostat Fam Study" temperature changed to 64.0 Embedded script executor host started Reloading plugin "Autelis Jandy 1.0.1" Stopping plugin "Autelis Jandy 1.0.1" (pid 1160) Error because embedded scripts execute sequentially they must complete their execution within 10 seconds. Script Error embedded script: ServerCommunicationError -- timeout waiting for server response Error modify the script to exit quickly or convert it to an external file (not embedded). Script Error Exception Traceback (most recent call shown last):
embedded script, line 3, at top level StandardError: ServerCommunicationError -- timeout waiting for server response
Stopping embedded script executor host (pid 1260) Error process (pid 1160) failed to quit after polite request -- forcing it to quit now Starting plugin "Autelis Jandy 1.0.1" (pid 1262) Plugin "Autelis Jandy" disconnected Plugin "Autelis Jandy" connected Plugin "Autelis Jandy 1.0.1" started Autelis Jandy Saved Plugin Configuration Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
2Jan, 2012 6:21:00 AM Error script error: Can’t make characters 12 thru -1 of "" into type string. (-1700) Schedule pool on/off Received INSTEON "Thermostat Fam Study" temperature changed to 65.0
2Jan, 2012 6:21:30 AM Received INSTEON "Thermostat Fam Room" humidity changed to 34.0 Schedule pool on/off (delayed action)
2Jan, 2012 6:22:36 AM Received INSTEON "Thermostat Fam Room" humidity changed to 33.0
2Jan, 2012 6:24:00 AM Schedule pool on/off
2Jan, 2012 6:24:25 AM Received INSTEON "Thermostat Fam Study" humidity changed to 36.0 Schedule pool on/off (delayed action)
2Jan, 2012 6:24:57 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 64.0
2Jan, 2012 6:26:45 AM Received INSTEON "Thermostat GameRm" temperature changed to 59.0 Received INSTEON "Thermostat MBR" on (button 2) Schedule pool on/off Received INSTEON "Thermostat Main Bedrooms" temperature changed to 65.0
2Jan, 2012 6:27:25 AM Received INSTEON "Thermostat MBR" temperature changed to 63.0 Schedule pool on/off (delayed action)
2Jan, 2012 6:28:31 AM Received INSTEON "Thermostat MBR" temperature changed to 64.0
2Jan, 2012 6:28:55 AM Received INSTEON "Thermostat GameRm" temperature changed to 60.0
2Jan, 2012 6:29:18 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 64.0
2Jan, 2012 6:29:37 AM Received INSTEON "Thermostat MBR" humidity changed to 41.0
2Jan, 2012 6:30:00 AM Schedule pool on/off
2Jan, 2012 6:30:24 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 65.0 Schedule pool on/off (delayed action) Received INSTEON "Thermostat MBR" temperature changed to 63.0
2Jan, 2012 6:31:06 AM Received INSTEON "Thermostat GameRm" temperature changed to 59.0
2Jan, 2012 6:31:49 AM Received INSTEON "Thermostat MBR" temperature changed to 64.0
2Jan, 2012 6:32:34 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 64.0
2Jan, 2012 6:32:56 AM Received INSTEON "Thermostat MBR" humidity changed to 42.0 Schedule pool on/off Received INSTEON "Thermostat Fam Study" temperature changed to 64.0
2Jan, 2012 6:33:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:34:20 AM Received INSTEON "Thermostat GameRm" temperature changed to 60.0
2Jan, 2012 6:34:44 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 65.0
2Jan, 2012 6:35:18 AM Received INSTEON "Thermostat Fam Study" temperature changed to 65.0
2Jan, 2012 6:35:50 AM Received INSTEON "Thermostat Main Bedrooms" temperature changed to 64.0 Schedule pool on/off Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
2Jan, 2012 6:36:24 AM Received INSTEON "Thermostat Fam Study" humidity changed to 37.0 Schedule pool on/off (delayed action) Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
- Code: Select all
g. (-1700) Embedded script executor host started Reloading plugin "Autelis Jandy 1.0.1" Stopping plugin "Autelis Jandy 1.0.1" (pid 1262) Received INSTEON "Thermostat Main Bedrooms" temperature changed to 64.0 Error because embedded scripts execute sequentially they must complete their execution within 10 seconds. Error modify the script to exit quickly or convert it to an external file (not embedded). Stopping embedded script executor host (pid 1314) Script Error embedded script: ServerCommunicationError -- timeout waiting for server response Script Error Exception Traceback (most recent call shown last):
embedded script, line 3, at top level StandardError: ServerCommunicationError -- timeout waiting for server response
Error process (pid 1262) failed to quit after polite request -- forcing it to quit now Starting plugin "Autelis Jandy 1.0.1" (pid 1316) Plugin "Autelis Jandy" disconnected Plugin "Autelis Jandy" connected Plugin "Autelis Jandy 1.0.1" started Autelis Jandy Saved Plugin Configuration Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
2Jan, 2012 6:39:00 AM Error script error: Can’t make characters 12 thru -1 of "" into type string. (-1700) Schedule pool on/off
2Jan, 2012 6:39:30 AM Schedule pool on/off (delayed action) Received INSTEON "Thermostat Fam Study" temperature changed to 64.0
2Jan, 2012 6:40:01 AM Sent INSTEON "Foyer LampLinc 3 " status request (received: 0) Sent INSTEON "Backyard OverHead Lt Fam Rm Steps" status request (received: 0)
2Jan, 2012 6:40:49 AM Received INSTEON "Thermostat Fam Study" temperature changed to 65.0
2Jan, 2012 6:41:55 AM Received INSTEON "Thermostat Fam Study" temperature changed to 64.0 Schedule pool on/off
2Jan, 2012 6:42:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:43:01 AM Received INSTEON "Thermostat Fam Study" humidity changed to 37.0 Received INSTEON "Thermostat MBR" off (button 2)
2Jan, 2012 6:43:40 AM Received INSTEON "Thermostat MBR" temperature changed to 65.0
2Jan, 2012 6:44:07 AM Received INSTEON "Thermostat Fam Study" humidity changed to 36.0
2Jan, 2012 6:45:00 AM Schedule pool on/off Received INSTEON "Thermostat Fam Study" temperature changed to 65.0
2Jan, 2012 6:45:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:46:20 AM Received INSTEON "Thermostat Fam Study" temperature changed to 64.0
2Jan, 2012 6:46:55 AM Received INSTEON "Thermostat MBR" humidity changed to 39.0
2Jan, 2012 6:48:00 AM Schedule pool on/off
2Jan, 2012 6:48:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:49:09 AM Received INSTEON "Thermostat Fam Room" on (button 2)
2Jan, 2012 6:51:00 AM Schedule pool on/off
2Jan, 2012 6:51:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:51:58 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 35.0
2Jan, 2012 6:52:17 AM Received INSTEON "Thermostat MBR" humidity changed to 38.0
2Jan, 2012 6:52:59 AM Received INSTEON "Thermostat Fam Room" humidity changed to 34.0 Received INSTEON "Thermostat Main Bedrooms" humidity changed to 36.0
2Jan, 2012 6:53:25 AM Received INSTEON "Thermostat MBR" temperature changed to 64.0
2Jan, 2012 6:54:00 AM Schedule pool on/off
2Jan, 2012 6:54:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 6:57:00 AM Schedule pool on/off Received INSTEON "Thermostat Fam Room" mode changed to all off; fan auto on Received INSTEON "Thermostat Fam Room" mode changed to auto on; fan auto on
2Jan, 2012 6:57:29 AM Received INSTEON "Thermostat Main Bedrooms" humidity changed to 35.0 Schedule pool on/off (delayed action)
2Jan, 2012 6:59:56 AM Received INSTEON "Thermostat MBR" humidity changed to 37.0 Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update Action Group Weather WunderGround 6Day Forecast Schedule pool on/off Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update (delayed action) Schedule Weather Variables Multi Yahoo WundrGr 6Day Parse Update (delayed action) Wunderground Script Launched Wunderground DEBUG: Start PWS loop- Station # is: 1, Error count is: 0
2Jan, 2012 7:00:30 AM Schedule pool on/off (delayed action)
2Jan, 2012 7:01:02 AM Received INSTEON "Thermostat MBR" humidity changed to 38.0
2Jan, 2012 7:01:42 AM Received INSTEON "Thermostat Fam Room" humidity changed to 33.0
2Jan, 2012 7:02:08 AM Received INSTEON "Thermostat MBR" humidity changed to 37.0
2Jan, 2012 7:02:25 AM Received INSTEON "Thermostat Fam Room" off (button 2)
2Jan, 2012 7:02:51 AM Received INSTEON "Thermostat Fam Room" temperature changed to 65.0 Schedule pool on/off Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
2Jan, 2012 7:03:30 AM Schedule pool on/off (delayed action) Autelis Jandy Error Error in plugin execution ExecuteAction:
Traceback (most recent call last): File "plugin.py", line 57, in actionAux File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 148, in actionGeneric File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 105, in sendMessage <class 'socket.error'>: (32, 'Broken pipe')
Attachments:
Screen shot 2012-01-02 at 10.43.52 AM.jpg [ 255.01 KiB | Viewed 440 times ]
Screen shot 2012-01-02 at 10.44.51 AM.jpg [ 248.77 KiB | Viewed 440 times ]
|
| Mon Jan 02, 2012 10:01 am |
|
 |
|
asw24b
Joined: Dec 30, 2007 Posts: 179 Location: Los Altos Hills, CA
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
hamw wrote:Came home and the plugin was not connected. Turned on logging and tried to restart without success. Stopped IndigoServer and restarted. I put in some gaps and annotated a couple of important places. - Code: Select all
Initial try and it did not hook up. 2011-12-31 15:29:51 Application Reloading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:29:51 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 794) 2011-12-31 15:29:52 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:29:52 Application Starting plugin "Autelis Jandy 1.0.1" (pid 989) 2011-12-31 15:29:52 Application Plugin "Autelis Jandy" connected 2011-12-31 15:29:53 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:29:53 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:29:53 Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
Tried again and it hooked up. 2011-12-31 15:30:03 Application Disabling plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:03 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 989) 2011-12-31 15:30:03 Received INSTEON "Thermostat Fam Room" on (button 3) 2011-12-31 15:30:03 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:30:11 Application Enabling plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:11 Application Starting plugin "Autelis Jandy 1.0.1" (pid 993) 2011-12-31 15:30:11 Application Plugin "Autelis Jandy" connected 2011-12-31 15:30:12 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:30:12 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:30:12 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
Stop Indigo server and restart Indigo 2011-12-31 15:30:48 Application Quiting Indigo Server - received slow quit signal 2011-12-31 15:30:48 Application Quiting Indigo Server - stopping plugins 2011-12-31 15:30:48 Application Stopping plugin "Smartphone Radar" (pid 232) 2011-12-31 15:30:48 Application Stopping plugin "Action Collection" (pid 226) 2011-12-31 15:30:48 Application Stopping plugin "Airfoil" (pid 227) 2011-12-31 15:30:48 Application Stopping plugin "Growl" (pid 229) 2011-12-31 15:30:48 Application Stopping plugin "iTunes" (pid 230) 2011-12-31 15:30:48 Application Stopping plugin "Autelis Jandy" (pid 993) 2011-12-31 15:30:48 Autelis Jandy Socket: 10.0.1.40:6000 closed succesfully 2011-12-31 15:30:49 Application Plugin "iTunes" disconnected 2011-12-31 15:30:49 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:30:49 Application Plugin "Airfoil" disconnected 2011-12-31 15:30:49 Application Plugin "Growl" disconnected 2011-12-31 15:30:49 Application Plugin "Action Collection" disconnected 2011-12-31 15:30:49 Application Plugin "Smartphone Radar" disconnected 2011-12-31 15:30:49 Application Stopping embedded script executor host (pid 282) 2011-12-31 15:30:50 Application Quiting Indigo Server - saving database 2011-12-31 15:30:51 Application Quiting Indigo Server - saving preferences 2011-12-31 15:30:52 Application Closed connection to PowerLinc 2413U 2011-12-31 15:30:52 Application Quiting Indigo Server - disconnecting clients 2011-12-31 15:30:53 Application Indigo Cocoa client disconnected 2011-12-31 15:30:54 Application SQLite client disconnected 2011-12-31 15:30:55 Application WebServer client disconnected 2011-12-31 15:30:55 Reflector shutdown reflector connection 2011-12-31 15:30:57 Application Quiting Indigo Server - unloading launchd plist 2011-12-31 15:30:57 Application Stopped child process 245 2011-12-31 15:30:57 Application Stopped child process 246 2011-12-31 15:30:57 Application Quiting Indigo Server - complete 2011-12-31 15:30:58 Application Starting Indigo Server version 5.0.2 2011-12-31 15:30:58 Application Loading attachments 2011-12-31 15:30:58 Application "audioAppControl.scpt" script loaded 2011-12-31 15:30:58 Application "device target attachment.scpt" script loaded 2011-12-31 15:30:58 Application "group target attachment.scpt" script loaded 2011-12-31 15:30:58 Application "growl attachment.scpt" script loaded 2011-12-31 15:30:58 Application "IRed The Remote Path.scpt" script loaded 2011-12-31 15:30:58 Application "iTunes attachment.scpt" script loaded 2011-12-31 15:30:58 Application "scenes attachment.scpt" script loaded 2011-12-31 15:30:58 Application "ThermostatProcessor.scpt" script loaded 2011-12-31 15:30:58 Application "time stamp attachment.scpt" script loaded 2011-12-31 15:30:59 Application Loading plugin "Action Collection 1.0.2" 2011-12-31 15:30:59 Application Starting plugin "Action Collection 1.0.2" (pid 1003) 2011-12-31 15:30:59 Application Loading plugin "Airfoil 1.0.2" 2011-12-31 15:30:59 Application Starting plugin "Airfoil 1.0.2" (pid 1004) 2011-12-31 15:30:59 Application Loading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:30:59 Application Starting plugin "Autelis Jandy 1.0.1" (pid 1005) 2011-12-31 15:30:59 Application Loading plugin "Growl 1.0.4" 2011-12-31 15:30:59 Application Starting plugin "Growl 1.0.4" (pid 1006) 2011-12-31 15:30:59 Application Loading plugin "iTunes 1.0.12" 2011-12-31 15:30:59 Application Starting plugin "iTunes 1.0.12" (pid 1007) 2011-12-31 15:30:59 Application Loading plugin "Smartphone Radar 0.9.1" 2011-12-31 15:31:00 Application Starting plugin "Smartphone Radar 0.9.1" (pid 1008) 2011-12-31 15:31:00 Application Found disabled plugin "DIRECTV DVR Control 1.0.0" 2011-12-31 15:31:00 Application Found disabled plugin "EasyDAQ Relay Card 1.0.11" 2011-12-31 15:31:00 Application Found disabled plugin "Find My IDevices 1.20" 2011-12-31 15:31:00 Application Found disabled plugin "iCal Alarm Processor 1.0.1" 2011-12-31 15:31:00 Application Found disabled plugin "NOAA Weather 1.0.0" 2011-12-31 15:31:00 Application Found disabled plugin "WeatherSnoop 1.0.1" 2011-12-31 15:31:00 Application Bonjour registered "Indigo - xxxxx" 2011-12-31 15:31:00 Application Plugin "Action Collection" connected 2011-12-31 15:31:00 Application Plugin "Airfoil" connected 2011-12-31 15:31:00 Application Plugin "Autelis Jandy" connected 2011-12-31 15:31:00 Application Plugin "Growl" connected 2011-12-31 15:31:00 Application Plugin "Smartphone Radar" connected 2011-12-31 15:31:00 Application Plugin "iTunes" connected 2011-12-31 15:31:01 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:31:01 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:31:01 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:31:01 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:31:01 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:31:01 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:31:01 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:31:01 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:31:01 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:31:01 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:31:01 Autelis Jandy Debug Opening connection.... 2011-12-31 15:31:01 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
In the line above AutelisJandy connects successfully.
2011-12-31 15:31:01 Autelis Jandy Debug TX: #AUX1? 2011-12-31 15:31:02 Application Plugin "Smartphone Radar 0.9.1" started 2011-12-31 15:31:02 Smartphone Radar Watching for smartphone 'Phone Ham' at address . 2011-12-31 15:31:02 Autelis Jandy Debug TX: #AUX2? 2011-12-31 15:31:02 Smartphone Radar Watching for smartphone 'Phone Marion' at address 2011-12-31 15:31:02 Application Plugin "Growl 1.0.4" started 2011-12-31 15:31:02 Autelis Jandy Debug TX: #AIRTMP? 2011-12-31 15:31:02 Reflector starting reflector connection to https://xxxxxx.goprism.com 2011-12-31 15:31:02 Autelis Jandy Debug TX: #POOLHT? 2011-12-31 15:31:02 Autelis Jandy Debug TX: #POOLHT2? 2011-12-31 15:31:02 Application SQLite client connected 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLSP? 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLSP2? 2011-12-31 15:31:03 Application Plugin "Action Collection 1.0.2" started 2011-12-31 15:31:03 Autelis Jandy Debug TX: #POOLTMP? 2011-12-31 15:31:03 SQLite client connected to Indigo Server 2011-12-31 15:31:03 Autelis Jandy Debug TX: #PUMP? 2011-12-31 15:31:03 SQLite client connected to sqlite_db 2011-12-31 15:31:03 SQLite logging all device state changes 2011-12-31 15:31:03 SQLite logging all variable value changes 2011-12-31 15:31:04 Application Plugin "Airfoil 1.0.2" started 2011-12-31 15:31:04 Autelis Jandy Debug TX: #PUMPLO? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPA? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPAHT? 2011-12-31 15:31:04 Autelis Jandy Debug TX: #SPASP? 2011-12-31 15:31:04 Application Plugin "iTunes 1.0.12" started 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SPATMP? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SOLHT? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #SOLTMP? 2011-12-31 15:31:05 Autelis Jandy Debug TX: #OPMODE? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #WFALL? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #CLEANR? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #VBAT? 2011-12-31 15:31:06 Autelis Jandy Debug TX: #OPTIONS? 2011-12-31 15:31:07 Autelis Jandy Debug TX: #MODEL? 2011-12-31 15:31:07 Autelis Jandy Debug TX: #UNITS? 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AUX1=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AUX1, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AUX2=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AUX2, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLHT=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLHT, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLHT2=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLHT2, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLSP=87 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLSP, Value: 87 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLSP2=60 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLSP2, Value: 60 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 POOLTMP=49 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: POOLTMP, Value: 49 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 PUMP=1 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: PUMP, Value: on 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 PUMPLO=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: PUMPLO, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPA=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPA, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPAHT=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPAHT, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPASP=102 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPASP, Value: 102 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SPATMP=0 F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: SPATMP, Value: 0 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SOLHT=0 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 SOLTMP=0 F 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 OPMODE=AUTO 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: OPMODE, Value: AUTO 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 WFALL=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: WFALL, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 VBAT=900 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: VBAT, Value: 900 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 OPTIONS=1 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: OPTIONS, Value: 1 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 MODEL=6520 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: MODEL, Value: 6520 2011-12-31 15:31:07 Autelis Jandy Debug RX: !00 UNITS=F 2011-12-31 15:31:07 Autelis Jandy Debug Updating Device: Pool, State: UNITS, Value: F 2011-12-31 15:31:08 Application Indigo Cocoa client connected 2011-12-31 15:31:11 Application WebServer client connected 2011-12-31 15:31:11 WebServer started on port xxxx -- digest authentication enabled 2011-12-31 15:31:11 WebServer loaded plugin "Find My iDevices" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/css" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/images" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/js" 2011-12-31 15:31:11 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/static" 2011-12-31 15:31:12 Application Emails on POP server mail.comcast.net will be scanned every 10 minutes 2011-12-31 15:31:12 Trigger iTunes Sync Script 2011-12-31 15:31:12 Trigger Airfoil PandoraBoy iTunes 2011-12-31 15:31:12 Trigger Serial Bridge Quit and Restart 2011-12-31 15:31:12 Trigger Hide TeamViewer and iTunes 2011-12-31 15:31:12 Trigger iTunes Sync Script copy 2011-12-31 15:31:12 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:31:12 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:31:12 IndigoStatus Updater PandoraBoyIsRunning Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilIsRunning Changed from "" to "true" 2011-12-31 15:31:12 Application Connected to PowerLinc 2413U interface on port usbserial-A600exMb 2011-12-31 15:31:12 Application PowerLinc address 18.D2.39, firmware version 9.2 2011-12-31 15:31:12 IndigoStatus Updater AirFoilCurrentSource Changed from "" to "System Audio" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerComputerConnected Changed from "" to "true" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerClubhouseFeedConnected Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater AirFoilSpeakerDaddysiMaclocalConnected Changed from "" to "false" 2011-12-31 15:31:12 IndigoStatus Updater iTunesIsRunning Changed from "" to "true" 2011-12-31 15:31:46 Autelis Jandy Debug RX: !00 AIRTMP=56 F 2011-12-31 15:31:46 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 56 F 2011-12-31 15:31:46 Received INSTEON "Thermostat MBR" humidity changed to 44.0 2011-12-31 15:32:12 Schedule Serial Bridge Quit and Restart (delayed action) 2011-12-31 15:32:12 Action Group Serial Bridge Quit and Restart Action Group 2011-12-31 15:32:12 Schedule Hide TeamViewer and iTunes (delayed action) 2011-12-31 15:32:24 Schedule Serial Bridge Quit and Restart (delayed action) 2011-12-31 15:32:41 WebServer Indigo Touch client connected from 10.0.1.50 2011-12-31 15:32:49 Autelis Jandy Debug TX: #AUX3 2011-12-31 15:32:49 Autelis Jandy Debug RX: !00 AUX3=1 2011-12-31 15:32:49 Autelis Jandy Debug Updating Device: Pool, State: AUX3, Value: on 2011-12-31 15:32:51 Received INSTEON "Thermostat Fam Study" humidity changed to 45.0 2011-12-31 15:32:52 Received INSTEON "Thermostat MBR" humidity changed to 45.0 2011-12-31 15:32:59 Autelis Jandy Debug TX: CLEANR 2011-12-31 15:33:00 Autelis Jandy Debug RX: !00 CLEAN=1 2011-12-31 15:33:00 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: on 2011-12-31 15:33:08 Autelis Jandy Debug TX: CLEANR 2011-12-31 15:33:09 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:33:09 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:33:31 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:33:31 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F
Restarted Mac Mini by going to file:restart. Should be a clean stop and restart of Indigo
2011-12-31 15:33:48 Application Indigo Cocoa client disconnected 2011-12-31 15:33:51 Application Quiting Indigo Server - received quit event 2011-12-31 15:33:51 Application Quiting Indigo Server - stopping plugins 2011-12-31 15:33:51 Application Stopping plugin "Smartphone Radar" (pid 1008) 2011-12-31 15:33:51 Application Stopping plugin "Action Collection" (pid 1003) 2011-12-31 15:33:51 Application Stopping plugin "Airfoil" (pid 1004) 2011-12-31 15:33:51 Application Stopping plugin "Growl" (pid 1006) 2011-12-31 15:33:51 Application Stopping plugin "iTunes" (pid 1007) 2011-12-31 15:33:51 Application Stopping plugin "Autelis Jandy" (pid 1005) 2011-12-31 15:33:51 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:33:51 Autelis Jandy Socket: 10.0.1.40:6000 closed succesfully
In the line above, AutelisJandy successfully closes the socket.
2011-12-31 15:33:51 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:33:51 Autelis Jandy Debug Method: shutdown 2011-12-31 15:33:52 Application Plugin "Action Collection" disconnected 2011-12-31 15:33:52 Application Plugin "Growl" disconnected 2011-12-31 15:33:52 Application Plugin "Airfoil" disconnected 2011-12-31 15:33:52 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:33:53 Application Plugin "Smartphone Radar" disconnected 2011-12-31 15:33:56 Application Plugin "iTunes" disconnected 2011-12-31 15:33:56 Application Quiting Indigo Server - saving database 2011-12-31 15:33:57 Application Quiting Indigo Server - saving preferences 2011-12-31 15:33:59 Application Closed connection to PowerLinc 2413U 2011-12-31 15:33:59 Application Quiting Indigo Server - disconnecting clients 2011-12-31 15:33:59 Application SQLite client disconnected 2011-12-31 15:34:00 Application WebServer client disconnected 2011-12-31 15:34:00 Reflector shutdown reflector connection 2011-12-31 15:34:03 Application Quiting Indigo Server - unloading launchd plist 2011-12-31 15:34:03 Application Stopped child process 1016 2011-12-31 15:34:03 Application Stopped child process 1017 2011-12-31 15:34:03 Application Stopped child process 1018 2011-12-31 15:34:03 Application Quiting Indigo Server - complete
Starting now.
2011-12-31 15:35:34 Application Starting Indigo Server version 5.0.2 2011-12-31 15:35:34 Application Loading attachments 2011-12-31 15:35:34 Application "audioAppControl.scpt" script loaded 2011-12-31 15:35:34 Application "device target attachment.scpt" script loaded 2011-12-31 15:35:34 Application "group target attachment.scpt" script loaded 2011-12-31 15:35:34 Application "growl attachment.scpt" script loaded 2011-12-31 15:35:34 Application "IRed The Remote Path.scpt" script loaded 2011-12-31 15:35:34 Application "iTunes attachment.scpt" script loaded 2011-12-31 15:35:34 Application "scenes attachment.scpt" script loaded 2011-12-31 15:35:34 Application "ThermostatProcessor.scpt" script loaded 2011-12-31 15:35:34 Application "time stamp attachment.scpt" script loaded 2011-12-31 15:35:41 Application Loading plugin "Action Collection 1.0.2" 2011-12-31 15:35:41 Application Starting plugin "Action Collection 1.0.2" (pid 227) 2011-12-31 15:35:41 Application Loading plugin "Airfoil 1.0.2" 2011-12-31 15:35:41 Application Starting plugin "Airfoil 1.0.2" (pid 228) 2011-12-31 15:35:41 Application Loading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:35:41 Application Starting plugin "Autelis Jandy 1.0.1" (pid 229) 2011-12-31 15:35:42 Application Loading plugin "Growl 1.0.4" 2011-12-31 15:35:42 Application Starting plugin "Growl 1.0.4" (pid 230) 2011-12-31 15:35:42 Application Loading plugin "iTunes 1.0.12" 2011-12-31 15:35:42 Application Starting plugin "iTunes 1.0.12" (pid 231) 2011-12-31 15:35:42 Application Loading plugin "Smartphone Radar 0.9.1" 2011-12-31 15:35:42 Application Starting plugin "Smartphone Radar 0.9.1" (pid 232) 2011-12-31 15:35:42 Application Found disabled plugin "DIRECTV DVR Control 1.0.0" 2011-12-31 15:35:42 Application Found disabled plugin "EasyDAQ Relay Card 1.0.11" 2011-12-31 15:35:42 Application Found disabled plugin "Find My IDevices 1.20" 2011-12-31 15:35:42 Application Found disabled plugin "iCal Alarm Processor 1.0.1" 2011-12-31 15:35:42 Application Found disabled plugin "NOAA Weather 1.0.0" 2011-12-31 15:35:42 Application Found disabled plugin "WeatherSnoop 1.0.1" 2011-12-31 15:35:42 Application Bonjour registered "Indigo - xxxxx" 2011-12-31 15:35:42 Application Indigo Cocoa client connected 2011-12-31 15:35:43 Application Plugin "Autelis Jandy" connected 2011-12-31 15:35:43 Application Plugin "Action Collection" connected 2011-12-31 15:35:43 Application Plugin "Airfoil" connected 2011-12-31 15:35:43 Application Plugin "Growl" connected 2011-12-31 15:35:43 Application Plugin "iTunes" connected 2011-12-31 15:35:43 Application Plugin "Smartphone Radar" connected 2011-12-31 15:35:44 Application SQLite client connected 2011-12-31 15:35:44 SQLite client connected to Indigo Server 2011-12-31 15:35:44 SQLite client connected to sqlite_db 2011-12-31 15:35:44 SQLite logging all device state changes 2011-12-31 15:35:44 SQLite logging all variable value changes 2011-12-31 15:35:45 Reflector starting reflector connection to https://xxxxx.goprism.com 2011-12-31 15:35:46 Application Plugin "Growl 1.0.4" started 2011-12-31 15:35:46 Application Plugin "Action Collection 1.0.2" started 2011-12-31 15:35:46 Application Plugin "Smartphone Radar 0.9.1" started 2011-12-31 15:35:46 Smartphone Radar Watching for smartphone 'Phone Ham' at address . 2011-12-31 15:35:46 Smartphone Radar Watching for smartphone 'Phone Marion' at address . 2011-12-31 15:35:46 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:35:46 Application Plugin "Airfoil 1.0.2" started 2011-12-31 15:35:46 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:35:46 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:35:46 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:35:46 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:35:46 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:35:46 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:35:46 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:35:46 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:35:46 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:35:46 Autelis Jandy Debug Opening connection.... 2011-12-31 15:35:46 Application Plugin "iTunes 1.0.12" started 2011-12-31 15:35:47 Autelis Jandy Error Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
Note in the line above that AutelisJandy failed to connect despite clean close and open of Indigo.
2011-12-31 15:35:50 Application Emails on POP server mail.comcast.net will be scanned every 10 minutes 2011-12-31 15:35:50 Trigger iTunes Sync Script 2011-12-31 15:35:50 Trigger Airfoil PandoraBoy iTunes 2011-12-31 15:35:50 Trigger Serial Bridge Quit and Restart 2011-12-31 15:35:50 Trigger Hide TeamViewer and iTunes 2011-12-31 15:35:50 Trigger iTunes Sync Script copy 2011-12-31 15:35:51 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:35:51 iTunes Sync iTunes Sync Script Launched 2011-12-31 15:35:51 Application Connected to PowerLinc 2413U interface on port usbserial-A600exMb 2011-12-31 15:35:51 Application PowerLinc address 18.D2.39, firmware version 9.2 2011-12-31 15:35:51 Application WebServer client connected 2011-12-31 15:35:51 WebServer started on port xxxx -- digest authentication enabled 2011-12-31 15:35:51 WebServer loaded plugin "Find My iDevices" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/css" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/images" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/js" 2011-12-31 15:35:51 WebServer enabled browser access to plugin path "plugins/Find-My-iDevices/static" 2011-12-31 15:35:52 IndigoStatus Updater PandoraBoyIsRunning Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilIsRunning Changed from "" to "true" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilCurrentSource Changed from "" to "System Audio" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerComputerConnected Changed from "" to "true" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerDaddysiMaclocalConnected Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater AirFoilSpeakerClubhouseFeedConnected Changed from "" to "false" 2011-12-31 15:35:52 IndigoStatus Updater iTunesIsRunning Changed from "" to "true" 2011-12-31 15:36:05 Received INSTEON "Thermostat Fam Study" humidity changed to 44.0 2011-12-31 15:36:09 Received INSTEON "Thermostat MBR" humidity changed to 45.0
Reloaded AutelisJandy Plugin, which worked this time. No other interventions.
2011-12-31 15:36:34 Application Reloading plugin "Autelis Jandy 1.0.1" 2011-12-31 15:36:34 Application Stopping plugin "Autelis Jandy 1.0.1" (pid 229) 2011-12-31 15:36:34 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:36:35 Autelis Jandy Debug Method: stopConcurrentThread 2011-12-31 15:36:35 Autelis Jandy Debug Method: shutdown 2011-12-31 15:36:36 Application Plugin "Autelis Jandy" disconnected 2011-12-31 15:36:36 Application Starting plugin "Autelis Jandy 1.0.1" (pid 264) 2011-12-31 15:36:36 Application Plugin "Autelis Jandy" connected 2011-12-31 15:36:36 Application Plugin "Autelis Jandy 1.0.1" started 2011-12-31 15:36:36 Autelis Jandy Debug Getting Plugin Configuration Settings 2011-12-31 15:36:36 Autelis Jandy Debug Connection Type: Socket 2011-12-31 15:36:36 Autelis Jandy Debug Socket IP: 10.0.1.40 2011-12-31 15:36:36 Autelis Jandy Debug Socket Port: 6000 2011-12-31 15:36:36 Autelis Jandy Debug Aux Devices: 03 2011-12-31 15:36:36 Autelis Jandy Debug Aux 01: Aux 1 2011-12-31 15:36:36 Autelis Jandy Debug Aux 02: Aux 2 2011-12-31 15:36:36 Autelis Jandy Debug Aux 03: Light 2011-12-31 15:36:36 Autelis Jandy Saved Plugin Configuration 2011-12-31 15:36:36 Autelis Jandy Debug Opening connection.... 2011-12-31 15:36:36 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully 2011-12-31 15:36:36 Autelis Jandy Debug TX: #AUX1? 2011-12-31 15:36:36 Autelis Jandy Debug TX: #AUX2? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #AIRTMP? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLHT? 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLHT2? 2011-12-31 15:36:37 Received INSTEON "Thermostat GameRm" temperature changed to 59.0 2011-12-31 15:36:37 Autelis Jandy Debug TX: #POOLSP? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #POOLSP2? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #POOLTMP? 2011-12-31 15:36:38 Received INSTEON "Thermostat GameRm" temperature changed to 59.0 2011-12-31 15:36:38 Autelis Jandy Debug TX: #PUMP? 2011-12-31 15:36:38 Autelis Jandy Debug TX: #PUMPLO? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPA? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPAHT? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPASP? 2011-12-31 15:36:39 Autelis Jandy Debug TX: #SPATMP? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #SOLHT? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #SOLTMP? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #OPMODE? 2011-12-31 15:36:40 Autelis Jandy Debug TX: #WFALL? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #CLEANR? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #VBAT? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #OPTIONS? 2011-12-31 15:36:41 Autelis Jandy Debug TX: #MODEL? 2011-12-31 15:36:42 Autelis Jandy Debug TX: #UNITS? 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AUX1=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AUX1, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AUX2=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AUX2, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 AIRTMP=55 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: AIRTMP, Value: 55 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLHT=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLHT, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLHT2=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLHT2, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLSP=87 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLSP, Value: 87 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLSP2=60 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLSP2, Value: 60 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 POOLTMP=49 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: POOLTMP, Value: 49 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 PUMP=1 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: PUMP, Value: on 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 PUMPLO=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: PUMPLO, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPA=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPA, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPAHT=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPAHT, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPASP=102 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPASP, Value: 102 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SPATMP=0 F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: SPATMP, Value: 0 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SOLHT=0 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 SOLTMP=0 F 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 OPMODE=AUTO 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: OPMODE, Value: AUTO 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 WFALL=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: WFALL, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 CLEAN=0 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: CLEAN, Value: off 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 VBAT=900 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: VBAT, Value: 900 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 OPTIONS=1 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: OPTIONS, Value: 1 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 MODEL=6520 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: MODEL, Value: 6520 2011-12-31 15:36:42 Autelis Jandy Debug RX: !00 UNITS=F 2011-12-31 15:36:42 Autelis Jandy Debug Updating Device: Pool, State: UNITS, Value: F
Looks like even though Indigo got a slow stop from the Restart and closed the socket, the plugin was unable to open the socket on restart of Indigo. After a slight delay the plugin was successfully reloaded manually
You have their outdoor box, right ? I just got mine last night, and the wireless router that they ship with it appears to be a real piece of junk.... It looks like it is doing a whole bunch of things incorrectly at the protocol level.... It is from these guys: http://www.tenda.cn/tendacn/DownLoads/ There appears to be a FW update, but they warn that the wrong one will brick the router, and it's not clear which is the right one... (Among other things, I ran the wireless group at Apple.... I know how to debug these things....) I swapped their junky router out and put in an AirPort Express; I have had no issues (yet) with the plug in losing the connection.... Mike
|
| Thu Jan 05, 2012 10:43 am |
|
 |
|
hamw
Joined: Mar 31, 2008 Posts: 739
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
Thanks for posting that suggestion, Mike. I had not used their router at all but did use an APExpressN from the get-go with the frustrating results as above. Don't know why my system behaved differently from yours. I contacted the Autelis guys about the disconnects. They modified the firmware, which I installed last night, and the plugin has been working perfectly since. The Autelis must not have been handling the connection well for some reason. Once it has a little more time on the clock and continues working, I'll ask what they thought the problem was and how it was fixed. BTW, is the Autelis-supplied router useable at all with an Airport system, or is it better to just put it in the box and return it?
Overall this is a great device and a super plugin. The Autelis guys have been very responsive. If someone hasn't already installed the Jandy RS485->serial interface, I'd recommend considering this unit because of the nice web interface and the One Touch keypad emulation, which makes programming the system possible from anywhere on the network. Thanks nlagaros!
|
| Sat Jan 07, 2012 1:16 pm |
|
 |
|
asw24b
Joined: Dec 30, 2007 Posts: 179 Location: Los Altos Hills, CA
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
hamw wrote:Thanks for posting that suggestion, Mike. I had not used their router at all but did use an APExpressN from the get-go with the frustrating results as above. Don't know why my system behaved differently from yours. I contacted the Autelis guys about the disconnects. They modified the firmware, which I installed last night, and the plugin has been working perfectly since. The Autelis must not have been handling the connection well for some reason. Once it has a little more time on the clock and continues working, I'll ask what they thought the problem was and how it was fixed. BTW, is the Autelis-supplied router useable at all with an Airport system, or is it better to just put it in the box and return it?
Overall this is a great device and a super plugin. The Autelis guys have been very responsive. If someone hasn't already installed the Jandy RS485->serial interface, I'd recommend considering this unit because of the nice web interface and the One Touch keypad emulation, which makes programming the system possible from anywhere on the network. Thanks nlagaros!
>>> BTW, is the Autelis-supplied router useable at all with an Airport system, or is it better to just put it in the box and return it? I haven't played with it enough yet.... probably a project for a rainy weekend... Would you mind sending me a copy of the FW to try ? Thanks ! Mike
|
| Sat Jan 07, 2012 1:24 pm |
|
 |
|
asw24b
Joined: Dec 30, 2007 Posts: 179 Location: Los Altos Hills, CA
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
nlagaros wrote:OK - think I understand why the failed reconnect is occurring. My guess is that the socket connection between the Indigo plugin and the Autelis device is being kept open when your machine reboots in the morning. Do you shutdown Indigo cleanly as part of this process? If not, then the socket will stay open. The Autelis device allows only one TCP connection.
If you keep getting these socket errors - where the plugin stops working, would you mind putting the plugin in debug mode so we can capture the event and understand what is causing it to fail.
As far as restarting the plugin, you have the name almost correct. You want this: com.ssi.indigoplugin.AutelisJandy
Random question.... The start routine of the plugin uses valuesDict to get to the plugin prefs: def startup(self): self.debugLog(u"Method: startup") try: if valuesDict[u"showDebugInfo"] == True: Is this always guaranteed to work ? I couldn't find this in the plugin documentation... Thanks ! Mike
|
| Sun Jan 08, 2012 5:28 pm |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11698 Location: Texas
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
I suspect that is code that got copy/pasted from a different method which had valuesDict as an argument.
There is the plugin preferences dict stored in self.pluginPrefs (where self is the plugin instance) but there is no special global valuesDict object. So I believe that code would throw an exception, unless it defines a global valuesDict somewhere I suppose.
_________________
|
| Sun Jan 08, 2012 5:55 pm |
|
 |
|
asw24b
Joined: Dec 30, 2007 Posts: 179 Location: Los Altos Hills, CA
|
 Re: Jandy Aqualink Pool / Spa Control - AppleScripts updated
support wrote:I suspect that is code that got copy/pasted from a different method which had valuesDict as an argument.
There is the plugin preferences dict stored in self.pluginPrefs (where self is the plugin instance) but there is no special global valuesDict object. So I believe that code would throw an exception, unless it defines a global valuesDict somewhere I suppose.
That's why I am confused.... no exception, and no global define... Oh.... maybe since it is in a try block, the exception won't get logged ? Mike
|
| Sun Jan 08, 2012 6:12 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|