The behavior of the plugin should match the behavior of the web interface. There are some typos in the indigo plugin including the probable source of your error: outmsg = "#SPASPP". Also the plugin should monitor the state of the TCP connection in the main loop and restart itself if needed.
2012-05-02 17:51:37 Application Starting plugin "Autelis Jandy 1.0.2" (pid 4478)
2012-05-02 17:51:37 Application Plugin "Autelis Jandy" connected
2012-05-02 17:51:38 Application Plugin "Autelis Jandy 1.0.2" started
2012-05-02 17:51:38 Autelis Jandy Saved Plugin Configuration
2012-05-02 17:51:38 Autelis Jandy Socket: 10.0.1.40:6000 connected succesfully
2012-05-02 17:51:45 Autelis Jandy Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 68, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 140, in checkForMessages
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisJandy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 248, in processJandy
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: '0\r!00 POOLSP'
2012-05-02 17:51:45 Autelis Jandy Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds
Users browsing this forum: No registered users and 0 guests