Hello
I want to integrate my controllers in HG.
I use them for aquarium or plant lightning and monitoring.
But I'm not sure i'm on the right way
The light control:
-It's an infinite loop, for the plants i can have a refresh time of 1min or more on timer, but for reef aquarium i use pca9685 and the ramping with 4096 is definitively better than the 256 of standard arduino pwm. 1h ramping = less than a second refresh, and if i want realistic weather 60hz refresh is better.
First question: the scripts can run forever? It's better to create a plug-in ? create a daemon for pi and interface it with HG?
-I want to provide the light sunrise sunset based on coordinate. I Already have the code, but I think it's better to use existing application (solar altitude), but how to put two solar altitude with different coordinates (Great Barrier Reef for example). And adjust the time ( +/- some hours).
-To control all the leds I have leds in channels, channels in groups, groups in the led manager. A channel use a pca9685 pin. How can I represent this following the HG philosophy?