Allow me to humbly suggest you checkout Gobot https://gobot.io which is 
intended for this category of application.

Disclosure: I am a maintainer of Gobot :)

Sincerely,
Ron

On Thursday, April 6, 2017 at 2:22:15 AM UTC+2, James McHugh wrote:
>
> I'm writing some software to monitor and control my observatory. It will 
> have many many inputs (clouds, rain, temp, time, roof position, telescope 
> status, focuser status, camera status, filter status etc etc ) and will 
> control the whole setup including opening closing the roof based on weather 
> / alt of the Sun, taking images, focusing based on temp changes, auto 
> guiding, selecting the best target, shutting the system down if there is 
> rain or clouds,  etc etc etc 
> It could get quite complex.
>
> I have all the individual pieces working, now I'm looking for a nice 
> design pattern to tie it all together.
>
> Any suggestions or ideas to get me started? I'm worried if I start off 
> with just a bunch of if statements and for loops it will quickly become a 
> huge mess.
>
> Regards
>
> James
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to