freakent / node-red-contrib-sunevents

A node for node-red that generates events based on the position of the Sun at the appropriate time of day.
Apache License 2.0
15 stars 14 forks source link

Output is "calculating sunevents for lat X and lng -Y" Until Next Sun Event #41

Closed BillyFKidney closed 2 years ago

BillyFKidney commented 2 years ago

Whenever I inject into the Sun Events node the output is: calculating sunevents for lat X and lng -Y image (coordinates removed for privacy)

I don't receive the full payload with the current sun event until the next sun event occurs (in this case, goldenHour)

image

How can I get the output of Sun Events once the calculations are complete?

freakent commented 2 years ago

Please take a look at the closed issues. This has been asked before. This SunEvents node takes the calculations made by the library SunCalc and turns them into timed events. If you want just a list of the calculations call SunCalc directly. I have provided an example function node. It's just 3 or 4 lines long.

freakent commented 2 years ago

See #28

freakent commented 2 years ago

I just noticed, it was you who raised #28 already.

BillyFKidney commented 2 years ago

Apologies, I had everything crash and I’m rebuilding again.

I’m still a rookie with all of this. 🥺