Homey Logic variables have no trigger that triggers if a variable is set, even it if is is set to the same value. I can live with not having an up to date position in Homey, but if I want the shade to go to for example position 0, it should go to this position, regardless of the internal Homey position of the shade. This could be solved by reading the position from the shade in the hub, but it is not always updated in the hub, for example if it is operated via a PowerView Pebble remote and forcing a shade to update itself takes time and drains the battery. The real position of the shade can get out-of-sync with the position known in Homey. Why I am using a Better Logic variable for the shade position Go to the “More” (Meer) tab and select settings:Įxpand to read why I am using a Better Logic variable for the shade position Add a Better Logic variable for the shade position For now I am adding only one position for a shade, but you should be able to add a second position yourself after finishing this tutorial, but please ask if get stuck while doing so.ģ.3. For Venetian blinds and other products with a tilt functionality, position2 is available with a posKind2 of 3 to set the tilt position of the product. For top-down shades also position2 is available with a posKind2 of 2, which is the upper bar of the product. Shades can have two positions, postion1 is always the main (lower bar) of the product and has a posKind1 of 1. I tried to use only the IP address as variable, but due to an anomaly in Homey and/or the HTTP request cards app, I was not able to compose a working URL by combinding text and variable tagsĪdd a variable for the shade id (see above on how to get it):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |