Jump to content

Newbie: Set ISY variable from HA sensor


DaveStLou

Recommended Posts

Posted

I'm a long time ISY user but just recently set up HA. I see there has been a lot of changes in the variable integration but since I'm just setting up HA, I am getting lost.

I want to set a ISY variable to a value based on HA sensor.outTemp. I've created an automation but can't figure out the syntax for updating the value. This newbie would appreciate any help or direction you can give. Thanks!

image.thumb.png.8ad45149a886808320cdc907b3a5d2cf.png

Posted (edited)

On mobile.

You need to use the number set call service.  

Before you try it:

1. make sure that you have enabled "adding variable entities"  in the configure panel of the integration.  

Screenshot_20230213-175125_Home_Assistant.thumb.png.55db4e1a8a05aa37b82896e2d3aca73b.png

2. In the integration panel select the entities and enable them. They are disabled by default. You can select which ones to enable. 

Screenshot_20230213-175359_Home_Assistant.thumb.png.4ccdea950451d983e8d666113676883e.png

3. Use the Number Set call service and select the entity. 

Screenshot_20230213-185114_Home_Assistant.thumb.png.5fb96672b0be84cc25f5f88dbcb3940e.png

Edited by Mecheng70
Updated with images for clarity
  • Like 1
Posted
15 hours ago, DaveStLou said:

I want to set a ISY variable to a value based on HA sensor.outTemp.

Assuming you're trying to set the variable to the value of the sensor: use a template for the value:

"{{ states('sensor.outTemp') }}"

  • Like 1
Posted
11 hours ago, Mecheng70 said:

On mobile.

You need to use the number set call service.  

Before you try it:

1. make sure that you have enabled "adding variable entities"  in the configure panel of the integration.  

Screenshot_20230213-175125_Home_Assistant.thumb.png.55db4e1a8a05aa37b82896e2d3aca73b.png

I think I'm on the current version but the only option I see under configuration is Restore Light Brightness.

Posted
4 minutes ago, DaveStLou said:

I think I'm on the current version but the only option I see under configuration is Restore Light Brightness.

What HA version are you running? 

Posted
5 minutes ago, DaveStLou said:

Home Assistant 2023.2.4
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest

@shbatm may have to jump on here.  I thought it was rolled out in 2023.2.X. 

Curious, Do you have the HACS install of Universal Devices?  Or just the Addon? 

Posted

@DaveStLou Here is where I''m doing essentially exactly what you're attempting....

It's easier to do the value with yaml that the gui...

image.thumb.png.eca727c59c36d4c01d52a36ebd3529c2.png

 

image.thumb.png.fc68a505b15d1e8d09d167e93b817206.png

Make sure the receiving ISY variable is configured for the correct number of decimal places.

  • Like 1
Posted (edited)
1 hour ago, DaveStLou said:

Home Assistant 2023.2.4
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest

You're in the right spot, you already have the variables exposed. The additional configuration options @mecheng70 is referring to are just for the alpha test version, you don't need to worry about that.

@MrBill above gave a good example.

Edited by shbatm
Guest
This topic is now closed to further replies.

×
×
  • Create New...