Indigo server restart

Posted on
Fri Mar 02, 2018 8:24 am
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Indigo server restart

Is there a command to restart the Indigo server? Indigo frequently has a problem sending email and I found that stopping and starting the server solves the issue. If possible, I'd like to add a schedule to do this automatically.

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Posted on
Fri Mar 02, 2018 1:15 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo server restart

I'd highly recommend that you just switch your email duties to the Better Email plugin. It's using a much newer (and more robust) mail library (in Python) than the server is using. Some day we want to switch what the server uses, but until that time the Better Email plugin is definitely worth it.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Mar 02, 2018 4:29 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo server restart

:D :D :D :D :D

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Mar 02, 2018 5:54 pm
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Re: Indigo server restart

Jay - I enabled the Better Email plugin and got these errors:

Starting plugin "Better Email 1.2.13" (pid 758)
Better Email Debug Debugging enabled
Started plugin "Better Email 1.2.13"
Better Email Starting Better Email
Better Email Debug Plugin version detected: 1.2.13
Better Email Debug Current version is: 1.2.13
Better Email Debug Getting latest release from FlyingDiver/BetterEmail...
Better Email Debug GET /repos/FlyingDiver/BetterEmail/releases/latest
Better Email Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 476, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Better Email.indigoPlugin/Contents/Server Plugin/ghpu.py", line 86, in checkForUpdate
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Better Email.indigoPlugin/Contents/Server Plugin/ghpu.py", line 173, in _prepareForUpdate
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Better Email.indigoPlugin/Contents/Server Plugin/ghpu.py", line 95, in getUpdate
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Better Email.indigoPlugin/Contents/Server Plugin/ghpu.py", line 115, in getLatestRelease
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Better Email.indigoPlugin/Contents/Server Plugin/ghpu.py", line 143, in _GET
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 920, in request
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 957, in _send_request
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 914, in endheaders
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 786, in _send_output
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 745, in send
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 1122, in connect
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 338, in wrap_socket
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 120, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ssl.py", line 279, in do_handshake
SSLError: [Errno 1] _ssl.c:493: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Better Email Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 704, in runConcurrentThread
AttributeError: 'Plugin' object has no attribute 'updateFrequency'

Better Email Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Z-Wave received "†Outdoor Temp #2 (UEI Cal) new" sensor update to 34.7 °F
Trigger Outdoor Temperature 2 change (adjusted)
Script OutdoorTempAdjusted.py: Adjusted Outdoor Temperature #1 = 37.5
Script OutdoorTempAdjusted.py: Adjusted Outdoor Temperature #2 = 35.4
Z-Wave received "†Outdoor_Humidity #2 new" sensor update to 55%
Better Email Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 704, in runConcurrentThread
AttributeError: 'Plugin' object has no attribute 'updateFrequency'

Better Email Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Better Email Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 704, in runConcurrentThread
AttributeError: 'Plugin' object has no attribute 'updateFrequency'

Better Email Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Posted on
Fri Mar 02, 2018 5:57 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Indigo server restart

I'm sorry but it just strikes me as really funny right now.

well-crap-now-what-do-we-do-8523566.png
well-crap-now-what-do-we-do-8523566.png (84.82 KiB) Viewed 2351 times
Last edited by Colorado4Wheeler on Fri Mar 02, 2018 6:02 pm, edited 1 time in total.

Posted on
Fri Mar 02, 2018 6:00 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo server restart

skoeppen wrote:
Jay - I enabled the Better Email plugin and got these errors:

Starting plugin "Better Email 1.2.13" (pid 758)
Better Email Debug Debugging enabled
Started plugin "Better Email 1.2.13"
Better Email Starting Better Email
Better Email Debug Plugin version detected: 1.2.13
Better Email Debug Current version is: 1.2.13


Where did you get that version? The current version is 7.1.4, and that's what the Plugin Store is showing.

https://api.github.com/repos/FlyingDive ... ball/7.1.4

Oh, I see. You have a really old version that was prior to the GitHub repository name change. Get the latest from the link above or the Plugin Store link.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Mar 02, 2018 6:59 pm
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Re: Indigo server restart

Joe,

I downloaded and tried to install version 7.1.4 but it tells me it's incompatible with my server version. I'm still using Indigo 6.1.11. Is that the issue?

Steve

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Posted on
Fri Mar 02, 2018 7:09 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo server restart

skoeppen wrote:
Joe,

I downloaded and tried to install version 7.1.4 but it tells me it's incompatible with my server version. I'm still using Indigo 6.1.11. Is that the issue?

Steve


Yes. 7.X requires Indigo 7.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Mar 03, 2018 8:00 am
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Re: Indigo server restart

Is there a good version that will work with Indigo 6?

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Posted on
Sat Mar 03, 2018 8:19 am
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo server restart

skoeppen wrote:
Is there a good version that will work with Indigo 6?


No. The problem is caused by a recent change at GitHub, and only the most recent version has a fix. You can try changing the update interval in the plugin config to 0, which would disable update checking. If you can't get the plugin to run long enough to do that, edit the com.flyingdiver.indigoplugin.betteremail.indiPref file in Preferences/Plugins (in your Indigo 6 folder) so it looks like this:

Code: Select all
   <updateFrequency type="string">0</updateFrequency>

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Mar 07, 2018 5:25 pm
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Re: Indigo server restart

I updated from version 1.2.13 to 1.2.14 and changed the update interval to 0 but am still getting errors.

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Posted on
Wed Mar 07, 2018 5:29 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo server restart

Sorry, can't help. I'm not doing any updates to older versions.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Mar 07, 2018 5:36 pm
skoeppen offline
Posts: 47
Joined: Oct 23, 2012
Location: Taneytown, Maryland

Re: Indigo server restart

Thanks for the help. I guess I'll just stick with the Indigo server mail library until I can upgrade to Indigo 7.

Steve Koeppen
X10 user from the early 80's
Converted to Insteon 2011 - 2014
Started adding z-wave 2014
Happy :D Indigo owner since v1 in 2005

Page 1 of 1

Who is online

Users browsing this forum: cuhouse and 3 guests