Day/night in another location

I have an odd requirement … I want my fishtank to follow the southern hemisphere sunrise/sunset (maybe with an offset longitude) so that the lights are on more in the winter and less in the summer.

When I did this in X10 I put the same lattitude but negated and a slight offset in longitude.

The day/night and heliotrope plugins seem to pull the location from the globally configured location.

Is anyone aware of a plugin with more flexibility?

[quote=“rrauenza, post:1, topic:183388”]I have an odd requirement … I want my fishtank to follow the southern hemisphere sunrise/sunset (maybe with an offset longitude) so that the lights are on more in the winter and less in the summer.

When I did this in X10 I put the same lattitude but negated and a slight offset in longitude.

The day/night and heliotrope plugins seem to pull the location from the globally configured location.

Is anyone aware of a plugin with more flexibility?[/quote]

That sounds very interesting rrauenza. I don’t have the answer to your question though but I don’t think it will be difficult with some LUUP code to do exactly what you want. Are you going to lower and rise the water level as well to reflect seasonal changes (rain period), maybe You can find out a way for that. Good luck anyway.

Mostly I want it to negatively follow the seasons. In the summer the tank gets naturally hotter and we have more natural light coming in through the windows. In the winter, as the seasons change, I’d like to have the lights on longer, and have it be an additional source of light in the house.

I tried creating a 2nd Day or Night device and was gonna offset it by 12 hours and use sunrise/sunset for the opposite, but found that the plugin was not happy with two devices. Not sure why.

(I could use the built-in sunrise/sunset schedule except I can only offset by 6 hours!)

There should be no problem with two day/night plugin instances.

Turned out I was running version 1.x! The latest has no problem with multiple instances.

So… I created a 2nd one called “Inverse Sunrise/Sunset for Fish” and offset it by 12:00:00 for both sunrise and sunset. That way I’m using the night cycle’s length of time, but offsetting it by half a day.

Hooray!