# Lamellas - run down and then tilt

**URL:** <https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738>\
**Category:** Questions & Help\
**Created:** [September 9, 2024, 7:27am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738 "2024-09-09T07:27:54Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 9, 2024, 9:55pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/41 "2024-09-09T21:55:34Z")

</div>

The second flow will run several times as the position is changing all the time till 80%. Appearantly the first time this flow runs, the AND is already true. Then position is not the actual position but the position the lamellas are sent to. @Adrian_Rockall will find out.

There is also a card “WHEN state has changed”, which might do the job but which states are available? Stopped, started, moving, ……?  
Is there a state which indicated the lamellas are at the requested position?

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 9, 2024, 10:13pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/42 "2024-09-09T22:13:47Z")

</div>

no there is just up down and inactive

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 10, 2024, 12:11pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/43 "2024-09-10T12:11:42Z")

</div>

do you need any other info @Adrian_Rockall ?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 10, 2024, 3:09pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/44 "2024-09-10T15:09:32Z")

</div>

Not sure as the log came in after I went to bed, so will take a look when I get home.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 10, 2024, 5:18pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/45 "2024-09-10T17:18:58Z")

</div>

> [@Rocky\_Lonigro](#):
>
> little side note: how is there no then card to just stop the whole thing (like in the app control of the lamellas the middle button betweend the arrows)?

You should have the buttons for Up / Idle / Down

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/561512e4828845649c63307c773a7921a4c83820.png)  
The middle button should stop the movement, but often the delay through the API is longer than the movement time.

For the Flow trigger occurring straight away, I can only assume that setting the position via the Flow action is triggering the card. As that is a built in capability I can’t see the internal workings and I don’t have any IO blinds to test with. So, could you open the app settings and select the Information Log tab, then enable the lo:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0fedae88580a4887fd8c23f7073276616e1d5aca.png)  
Next run the Flow that moves the screen and wait fore it to finish moving. Then, go back to the Information Log tab and tap on Send Log. Let me know the log ID and I will see if there are any events I can use to create another flow card that trigger when movement is complete.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 10, 2024, 7:49pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/46 "2024-09-10T19:49:00Z")

</div>

ID: 956319724  
so for the below flow i did click square first it started all the way down. went all up  
then i clicked circle - it went down 5 cm and stopped.  
then i clicked circle again and it went down all the way

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/8933a0b714de4469fcdaa26cbc967d943ce88b46.png)

and yes I have the buttons, but I cannot find a command for a flow to “use” the stop button?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 10, 2024, 9:24pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/47 "2024-09-10T21:24:39Z")

</div>

The card to use the stop button is the set state:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/71ffe23c03c2cb1d97cf04d1c1a5497ae751839b.png)

There is a bit too much going on in that log file for me to get a clear picture of a complete cycle as commands are clashing into each other. Could you clear the log and then just get the screen to do one action, say move down or move up, but only do one between clearing the log and sending the log. What I want to see is the last message that comes through at the end of the move.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 10, 2024, 10:26pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/48 "2024-09-10T22:26:07Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c755f1213f79d15ad9a42503a960de2bddef9325.png)  
Ok i send them to top with square  
then start log and press O → stop after 5 cm and this log: 956319724  
clear log and press O again → stopped again, had to press a few times until it run all the way down with no tilting in the end… → 956319724  
not sure this command completed thing does any better

further i did this: disabled the flow completely and sent the thing all up. then enabled log and send them full down with phone command  
log: 956319724

hope with these you can figure it out?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 11, 2024, 8:24am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/49 "2024-09-11T08:24:47Z")

</div>

Thanks for your patients and sending the data. Unfortunately, the first two logs still contain a lot of clashing data, presumably because the Flows are still interacting. The third log didn’t show the final messages as I guess you sent it before the last polling event had occurred.

However, I have remembered that there should be a “A command completed” trigger card for the device which passes in to tags, ‘state’ and ‘name’. The state tag is true if the command was successful and the name tag contains the name of the command. Maybe you could try that trigger Card and compare the name tag to see if it is your move command that has completed.

Note: If you have a Tahoma or Connexoon, then you can enable developer mode in your Somfy account and that will give you local access to the box. The polling interval is then 3 seconds.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 10:05am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/50 "2024-09-11T10:05:09Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/7167b9ed8b2fcce99b825bd3db050beadcf89bb8.png)  
Hm I actually waited quite a while on the third log when it stopped before sending…?

I just activated dev mode.

I already have that card in there right? so now you mean to add using some of those state green tag:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fec7953cd125a1c41fb218bce7a2802d2d013532.png)  
? or what do you mean exactly? also its saying down, when they are full open atm…

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 10:15am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/51 "2024-09-11T10:15:25Z")

</div>

I run it one more time from full top to full bottom new log: 956319724

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [September 11, 2024, 10:36am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/52 "2024-09-11T10:36:51Z")

</div>

That does not look like status of “WHEN command completed”.  
Connect the card “WHEN command completed” with the logic card first, only thén you will see the tags from the WHEN card (of course 😉).

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 11:50am UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/53 "2024-09-11T11:50:29Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/304b301a2e8e0acc8828df01e48ea3bcc53d870d.png)  
thats the only thing i see…?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 11, 2024, 12:18pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/54 "2024-09-11T12:18:44Z")

</div>

Command name is text, so the logic card you have chosen can see it.  
The other tag is a boolean, so requires a logic card that supports true / false.  
You won’t see a value there because it is only available when the Flow is triggered.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 12:21pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/55 "2024-09-11T12:21:46Z")

</div>

so what am I supposed to try now?  
did the other log i sent you help in any way?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 11, 2024, 12:39pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/56 "2024-09-11T12:39:33Z")

</div>

So add the Command completed trigger and check the command tag is equal to the required value, e.g. “Move Position 100”. I can’t be sure that’s the exact text as I don’t have the same device as you, so maybe log the tag to the time line to see what it is.  
Once the correct command is identified, then tilt the screen.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 3:21pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/57 "2024-09-11T15:21:51Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/258001e9b32c01b1f0e68df4f5c2e0c72637775a.png)  
you mean this one: successfull = true?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 11, 2024, 4:01pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/58 "2024-09-11T16:01:33Z")

</div>

No, the Command Name. You will need to make sure it is the move up / down command that completed and not the tilt.

---

<div class="post-metadata">

**Author:** ![Rocky\_Lonigro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocky_lonigro/32/80350_2.png) [@Rocky\_Lonigro](https://community.homey.app/u/Rocky_Lonigro)\
**Post date:** [September 11, 2024, 4:16pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/59 "2024-09-11T16:16:34Z")

</div>

and I can somehow see that command name when running tests?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [September 11, 2024, 4:20pm UTC](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738/60 "2024-09-11T16:20:58Z")

</div>

For testing, link to the Then card ‘Timeline’ ‘Create a notification with’ and put the Command Name local tag in the box.  
Then when the card triggers it will write the text to the time line.

[Previous page](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738.md?page=2)

[Next page](https://community.homey.app/t/lamellas-run-down-and-then-tilt/115738.md?page=4)
