node-red-contrib-sun-position
node-red-contrib-sun-position copied to clipboard
Need some help setting for the shading
I would like to run the shading only when, a temperature of more than 24°C is exceeded ( Likewise, I still have a Lux sensor that tells me if it is cloudy).
How do I set this?
Can I use the sun direction + temperature + lux sensor and set only one height?
Thanks
You could add these conditions to the rules or as an oversteer with a fixed blind level if a temperature of more than 24°C is exceeded.
I achieve this by sending a message to the blind-controller node to switch between summer (msg.mode = 2), winter (msg.mode = 1), and no sun control (msg.mode = 0). The value of msg.mode is set by a function depending upon the temperature in the room and outside - I have added hysteresis to prevent it bouncing between modes when it's near the target value. For this to work properly you need to set the blind-controller node to Summer mode by default and then switch it off using the message when not required. If you don't do this the messages wont do anything.