Sunrise/Sunset not handling summer/winter in northern latitudes

  • So, this was originally the reason why I used custom firmware, and I had really thought it would have been solved by now.

    But it seems Shelly is still not handling a daily timer correctly when sunset/sunrise is involved.

    Or rather, it handles it exactly as specified, which is not a very useful way, especially not when you live in higher latitudes.

    Unless if I am missing some scene possibilities. Please advise.

    Here is the setup:

    On at 06h00

    Off at sunrise

    On at sunset

    Off at 23h59 (this would be the "easy" version, I really want off at Off at 01h00)

    As a human, it is obvious/implied that with this schedule, if the sun rises or or before 06h00, it should not turn on at all.

    Instead, it turns on, and never turns off.

    And same for the sunset, if sunset past midnight (yes, these devices are in Sweden, it happens!) it should also never turn on.

    Again, instead in summer it is on all night.

    Only in Winter is this working correctly.

    Is there a way in Shelly1 to do this, that I did not consider?

    Ideally on the device itself, so it works without need of centralised server.


    In the custom firmware, I forked and build some intelligence, that considered the timers in pairs.

    But really, it means I am the only one that can handle them, I would really like to go to native firmware.


    BTW: I also solved the past/before midnight issue, by considering the sunrise/sunset to be possible in a 00h00 to +29h00 timespan rather then only 00h00 to 24h00

    But again, I would ideally like to get rid of having to maintain my custom firmware.


    PS: I did search, found other post with similar question, but there was no solution in those post.