# Node-red-contrib-sun-position, blind control

**URL:** <https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376>\
**Category:** General\
**Created:** [15 February 2022 10:09 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376 "2022-02-15T10:09:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaddelLinux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/daddellinux/32/56606_2.png) [@DaddelLinux](https://discourse.nodered.org/u/DaddelLinux)\
**Post date:** [15 February 2022 10:09 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376/1 "2022-02-15T10:09:04Z")

</div>

Hi there,  
I'm trying to automate my shutter control with 'node-red-contrib-sun-position'. The following problem has arisen: before the roller shutters open completely, the slats should first open (20%). This only makes sense if the sun has already risen. So I defined a rule:  
Elevation of sun \> -1.0  
(Elevation of sun' \> -1.0 [20.174 \> -1.0]  
↥ until 15:00 [15:00:00 (2022-02-15T14:00:00.000Z)]  
blind position: ↕ absolute 20).  
However, this rule is not taken into account.  
Debug Message: position is set to default position because no other rule matches  
If I enter positive values ​​for the elevation, the rule is taken into account. Is it wanted like that. And if so, why is that?

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 February 2022 04:45 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376/2 "2022-02-16T04:45:15Z")

</div>

There is a "[blind controller](https://flows.nodered.org/node/node-red-contrib-blindcontroller)" node that seems to take care of all the things you are looking for.

---

<div class="post-metadata">

**Author:** ![DaddelLinux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/daddellinux/32/56606_2.png) [@DaddelLinux](https://discourse.nodered.org/u/DaddelLinux)\
**Post date:** [16 February 2022 08:22 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376/3 "2022-02-16T08:22:41Z")

</div>

Yes sure, a ["blind control"](https://flows.nodered.org/node/node-red-contrib-sun-position). Sorry, my mistake.  
I think it's best if I make a bug report in github. ["bug report"](https://github.com/rdmtc/node-red-contrib-sun-position/issues/413)

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 February 2022 12:08 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376/4 "2022-02-16T12:08:45Z")

</div>

I was referring to a different node, not sun-position, but blind controller, please follow the link i posted.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 April 2022 12:09 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-blind-control/58376/5 "2022-04-17T12:09:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
