Jump to content

Control your Nest Thermostat with the ISY *Multi-Thermostat*


abuttino

Recommended Posts

Posted

Version 5.8 is working very well.

 

In your first post you have a sleeping variable, what parameters do you use to determine if your sleeping or not?

Posted

Is it possible to add the current stage to the current stage as a variable?

 

The Eventghost variable is Nest.hvac_cool_x2_state.True ['', 'True']

 

I'm trying to turn the AC off if stage 2 has been running for x minutes.

 

Thanks.

Posted

I can't really develop anything until I get an answer to the email.

 

The Python shell is in the Help menu of event ghost then find eg then plugins then nest then search around for devices. When you find it, take a screen shot

 

Sent from my Nexus 7 using Tapatalk

  • 2 weeks later...
Posted

Is it possible to use Integer variables instead of state variables with this plugin? I keep running into problems with my programs where the program will start over halfway through because I am changing a variable used in the if statement. Maybe there is something I should do differently in my program and still use the state variables. Any suggestions would be appreciated.

Posted

I'll take a look at the ISY Event plugin code. I don't remember if anything came from the ISY when a Integer variable changes. I have to finish a project that I've been slacking on for 6 months, then I'll look at it.

Posted
Is it possible to use Integer variables instead of state variables with this plugin? I keep running into problems with my programs where the program will start over halfway through because I am changing a variable used in the if statement. Maybe there is something I should do differently in my program and still use the state variables. Any suggestions would be appreciated.

 

You can easily work around that as follows:

 

If 
  $s.StateVariable = $s.StateVariable

Then
  $i.IntegerVariable = $s.StateVariable

Else

 

Then use the integer version in whatever program that you don't want triggered by a change in the state variable's value.

 

Without seeing your program, it's hard to offer further advise.

 

-Xathros

Posted

I made the plugin look at Integer Variables..

 

Now, I need to think about how to rewrite the macros so they don't mess up other systems that choose not to use this.

Posted

Ok, here is a version that accepts ONLY Integer or ONLY State.

 

Just short of a major rewrite of all my scripts to support each variable being state OR integer, this is the best I could do for now. I think Xatheros' suggestion makes more sense.

 

If you think of a better way to do this, let me know.

 

At the moment, I really want to see what is going on with the latest version of the Nest Plugin, it seems to have some problems with updating.

 

If you are using the one from 5-17, you should roll back.

 

www.tinozplace.com/Nestv70.zip

Posted

Can you help me out? I think i've followed the instructions verbatim - copied the M2crypto folder so that there is now an EventGhost\M2Crypto folder as well as a plugins\Nest Thermostat\M2Crypto folder. When I do File->Open on Nest ISYwAwayFS I get the following error

 

Error while loading plugin-file C:\Program Files (x86)\EventGhost\plugins\Nest Thermostat.

Traceback (most recent call last) (1640):

File "C:\Program Files (x86)\EventGhost\plugins\Nest Thermostat\__init__.py", line 169, in

from M2Crypto import SSL, httpslib, m2urllib, m2urllib2

File "C:\Program Files (x86)\EventGhost\plugins\Nest Thermostat\M2Crypto\__init__.py", line 22, in

import __m2crypto

ImportError: DLL load failed: The specified module could not be found.

Unhandled exception in WorkerThread :

Callers stack:

...

 

EDIT: I am using Nestv70.zip

 

Thanks

Posted

Oh wow, a little overkill :)

 

I'm going to have to update that package. It has an older version of the nest plugin that doesn't update reliably.. Once you get it set, let me know if there is anything you need. I'll have the plugin up with new scripts in a bit

 

Sent from my DROID RAZR HD using Tapatalk

Posted
http://www.Tinozplace.com/nestv71.zip

 

Nothing has been changed but the plugin code

 

Sent from my DROID RAZR HD using Tapatalk

 

 

Any chances you've seen this and know how to fix?

 

Exception in thread Thread-3:

Traceback (most recent call last):

File "threading.pyc", line 532, in __bootstrap_inner

File "threading.pyc", line 484, in run

File "C:\Program Files (x86)\EventGhost\plugins\Nest Thermostat\__init__.py", line 367, in Polling

if datetime.now() > self.LastFullLog + timedelta(seconds=int(self.SecBeforeFullLogUpdate)):

ValueError: invalid literal for int() with base 10: ''

Posted
In the configuration for the plugin, put 3600 between full log updates

 

Sent from my DROID RAZR HD using Tapatalk

 

Still no luck - getting no errors now, but the variables are not getting updated. Tried closing and restarting EG a couple of times.

 

I have all variables defined as State variables such as 'OutdoorHumidity' and inside of EG i set the 'Input Outdoor Humidity ISY Variable here' to 'OutdoorHumidity'.

 

ISYEvent.Authenticated on: '192.168.1.8:80'

ISYEvent.GetNodesConfig '192.168.1.8:80'

Main.OnInit

Main.OnInitAfterBoot

ISYEvent.Subscribed '192.168.1.8:80'

Input ISY Vars Here

Using State Variables? ****IMPORTANT****

Input Weather Conditions ISY Variable Here

Input Minutes in Today ISY Variable Here

Input ISY Needs Nest Data Variable Here

Input Ambient Temp ISY Variable Here

Input Indoor Humidity ISY Variable Here

Input Outdoor Temp ISY Variable Here

Input Outdoor Humidity ISY Variable Here

Input Range High ISY Variable Here

Input Range Low ISY Variable Here

Input Heat Index ISY Variable Here

Input AutoAway ISY Variable Here

Input Set Temp ISY Variable Here

Input Away ISY Variable Here

Input A/C Cooling ISY Variable Here

Input Stage 2 Cooling ISY Variable Here

Input Stage 2 Heating ISY Variable Here

WeatherUnderground API & WU ISY Vars

WeatherUnderground API Key

WeatherUnderground Zip Code (Yours)

Input Rain Chance ISY Variable Here

Set Variables for Nest and ISY

Python Script

Not Connected to Nest

ISY Import Complete

Variable Import Complete

Python Script

Nest: Login to Nest sucessful

Nest.LoginSuccess

Set Variables for Nest and ISY

Python Script

Nest Import Complete

ISY Import Complete

Variable Import Complete

Python Script

Posted
You have to use the variable NUMBER, not the variable name.

 

In the ISY chart, it says the var number on the far left side.

 

Is there documentation for these things that I am missing? I don't really mind - I know this is something that you probably worked hard on and I don't mind putting in a little effort either. I just want to make sure that I am not being a tool and missing something where all of this is described so I don't feel like I am bothering you over stupid things :)

Posted

The first post describes everything pretty well.

 

On the ISY variable chart, there is the number of the var, the name of the var, the value of the var, and the last time set.

 

You need to get the number for each one you want to set..

 

If you are using State variables, make sure "Using State Variables?" is True, if Integer, "False"

Posted
The first post describes everything pretty well.

 

On the ISY variable chart, there is the number of the var, the name of the var, the value of the var, and the last time set.

 

You need to get the number for each one you want to set..

 

If you are using State variables, make sure "Using State Variables?" is True, if Integer, "False"

 

No worries.

 

It seems to be working. I had to set ISY Needs Nest Data to get it going though. Will see if it auto updates.

 

Do I need to configure a timer schedule for this to run or does it run automatically?

Guest
This topic is now closed to further replies.

×
×
  • Create New...