weird script behavior

Chuck xtension4osx at mac.com
Wed Feb 5 15:17:59 EST 2020


I found it. Frustrating and so obvious and embarrassing. I had "if status of" instead of" if value of". All my vents are on/off except this one which is variable. It is the only wall vent I can find and they no longer make it. I would love to have a few more but alas there isn’t a market for Z-wave wall vents.

Wrong:
if (status of "Vent - TV room") is less than 100 then
				brighten "Vent - TV room" to 100

Right:
if (value of "Vent - TV room") is less than 100 then
				brighten "Vent - TV room" to 100
			end if

What is really weird is that it would run if the furnace was off but not if the furnace was on. That is what stumped me. Even when I broke up the script into many small scripts it would run just fine (although it never opened/closed vents).

I am old and my mind is going and the telomeres are unraveling.

Chuck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200205/e3bf0d3f/attachment.html>


More information about the XTensionList mailing list