Jump to content

Program Logic Help


Recommended Posts

Posted

Setup: Home Assistant Run on eisy and Nest Thermostats

I've read several related posts, but trying to piece it all together.  If this is covered in a post I haven't found yet, please forgive me.

Currently, I have Home Assistant working and have the Nest Thermostats setup and controllable from HA.

Application: My Nests currently are programmed natively through the Nest app to adjust temperatures at certain times.  On weeks that my kids are with me, I want to override those settings.  I figure the easiest way to do that is to wait a couple minutes after the settings change, and then use HA to change them back to what I want.

To do this, I have the UD Mobile app on each kid's phone and enabled Geofences to change a state variable for each kid based on whether they are here or not.  My plan was to set up an automation in HA that said something like:

When time = 11:00 pm

And 

Kid1Location = 1 or Kid2Location = 1 (Maybe I need to create a separate variable for if either kid is home?)

Then set the temperature

Here are some questions

  • In HA, I can figure out how to change an ISY variable, but not use it as a condition.  Am I missing something?
  • Should I just be using geofencing in the HA app instead of UD Mobile?
Posted

When you set up your condition in HA, try selecting "numeric state" instead of "state".  You should be able to trigger on that.

If your thermostat is in HA, I would likely use the HA app to trigger location.  I have found it very reliable.

I think you will find the  "climate" call service in HA to easy enough to set up to change the thermostat to what I want.

Posted

Can you explain more to me about the numeric state variable?

I have the variables set up as state variables in the eisy (1=home, 0=away). 
 

They show up on my HA dashboard. When I try to setup an automation in HA, I see “IoX Variables” as a trigger, but it won’t let me select which variable or add a condition. 

Posted
1 hour ago, tpolito said:

Can you explain more to me about the numeric state variable?

I have the variables set up as state variables in the eisy (1=home, 0=away). 
 

They show up on my HA dashboard. When I try to setup an automation in HA, I see “IoX Variables” as a trigger, but it won’t let me select which variable or add a condition. 

That may not be a feature available in the visual editor.  You might have to do it manually in the YAML editor.  Not something I am familiar with.  If you can create something similar with another entity and then change the entity to your state variable by editing in YAML, that might be your best bet (unless someone here knows more about HA).

Posted (edited)

Within a new automation, using the Entity as a trigger, do you see your state variable as number.xxxx, where xxxx is the state variable name from ISY? You should see both "xxxx" representing Value, and "xxxx Initial Value", representing Init. If you don't see it in the list of Entities under Triggers, you may need to enable the state variable. In some cases I've had to go into the ISY integration and manually enable ISY state variable entities.

Edited by landolfi
Posted

I think I was able to get it working.  Other than I do not know how to set upper and lower temperatures for the Nest in heat/cool mode, but I have posted in the HA message boards for help with that.

Guest
This topic is now closed to further replies.

×
×
  • Create New...