Jump to content
C4 Forums | Control4

Sun Position Driver - Beta Testers Needed


DanITman

Recommended Posts

I wrote a sun positioning driver that I need help testing.

Driver allows you to trigger events in Control4 based on the suns location.  This is great for shades and allows you to mimic control like Lutron's Natural Light Optimization. Driver calculates the sun position based on your project location and timezone.  This driver does not require an outside API and all calculations are done on the driver itself.

Below are the variables that you can use for conditionals.  Driver fires an event on every calculation of the sun position.

image.png.5b978c888c4de045b2fa3ec1e0e67230.png

Sun Interval: How often the sun position should be calculated. 

Azimuth: Direction of the sun as compass coordinates.

Altitude: Angle of the sun in degrees.  (Positive - Sun is above horizon | Negative - Sun is below horizon)

Season: Current Season based on Location

Trending: If the Sun is going UP or DOWN

Last Event: Day, Night, Civil Twilight, Nautical Twilight, Astronomical Twilight, Solar Noon, Solar Midnight

If interested in testing, please DM me your email and I'll send you a beta trial. 

Thanks

Link to comment
Share on other sites


  • 2 weeks later...

I've been giving this a test and it works amazingly. No more setting the shades to raise and lower based on timers in the morning and hoping it gets it right and having 2 sets of timers for summer and winter (sun rises slower in summer) etc. Now everything is based on azimuth of the sun (position east to west) and shades go up and down based on that. Love it!

Link to comment
Share on other sites

Ditto.  I use the beta driver to control three groups of shades so far (many, many left to do).  Pretty flawless once you dial it in.  Because I am lazy, I do wish that the driver itself incorporated more "logic" around controlling shades and not just sun position.  That said, the core "where is the sun right now?" function is awesome, and the programming is pretty straight forward.  After some tips from the developer, I got an iPhone app that makes it easy to "survey" your windows (in terms of where, in terms of azimuth and altitude, the sun enters and exits the positions when it will be annoyingly shining directly through window) and then do the programing around these events.   Makes shade automation "set and forget" instead of my prior delta-from-sunrise/sunset approach that required seasonal tweaking.

I also pull weather forecast and solar radiation / brightness from the Tempest weather station driver and use as conditionals so shades don't close when it's cloudy or cold.  Works like a charm.

Link to comment
Share on other sites

On 11/15/2023 at 1:38 PM, cnicholson said:

Ditto.  I use the beta driver to control three groups of shades so far (many, many left to do).  Pretty flawless once you dial it in.  Because I am lazy, I do wish that the driver itself incorporated more "logic" around controlling shades and not just sun position.  That said, the core "where is the sun right now?" function is awesome, and the programming is pretty straight forward.  After some tips from the developer, I got an iPhone app that makes it easy to "survey" your windows (in terms of where, in terms of azimuth and altitude, the sun enters and exits the positions when it will be annoyingly shining directly through window) and then do the programing around these events.   Makes shade automation "set and forget" instead of my prior delta-from-sunrise/sunset approach that required seasonal tweaking.

I also pull weather forecast and solar radiation / brightness from the Tempest weather station driver and use as conditionals so shades don't close when it's cloudy or cold.  Works like a charm.

Which iPhone app did you use to survey your windows?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.