weird script behavior
James Sentman
james at sentman.com
Thu Feb 6 14:23:40 EST 2020
The value displays in such a thing are set by the Vera, but they are just labels. The underlying values are the same I’m just filing in a default on and off label in the unit. If you wish to control what is displayed there or change it have a look at the Advanced Label Syntax page on the wiki here:
http://machomeautomation.com/doku.php/xtension_manual/advancedlabel
So if you wanted to display the numerical value you could put just “<value>” into the on label field of the unit. If you wanted it as on off you’d put just <state> and if you had many possibilities or didn’t like the default l abels provided by the Vera you could use something more complicated like:
<state values=“auto:on:periodic:super:equalize:hurricane:frightening”> or something and for values from 0 to 6 it would pick from that list. Instructions for that are on the above wiki page.
None of that changes what the actual value of the unit is, on or off, 1 or 0 and so shouldn’t affect the logic of any scripts that use those verbs.
> On Feb 5, 2020, at 1:17 PM, Paul Koreneff <paulx10 at koreneff.net> wrote:
>
> My Thermostat state shows words such as ‘idle’ rather than a binary on/off.
>
> It comes from my Vera Plus …
>
> Have you checked how it shows in your XTension unit list?
>
Thanks,
James
James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200206/3ac154e6/attachment.html>
More information about the XTensionList
mailing list