Skip to content

location with TZ Europe/Amsterdam one calculation one hour off #1

@westerduin3451

Description

@westerduin3451

Hi Mat,

thanks for your work, it helps me a lot with my home automation.

At the moment I am struggling with your project "Tracking daylight in NodeRED".

My setup is Home Assistant (Hassio) with the node-red add-on.
When I entre my coordinates and enable timezone the daylight tracker calculation of day and night is one hour off?

SunSet/SunRise info:
{"sunrise":"2022-01-06T08:45:03.000Z"
,"noon":"2022-01-06T12:45:45.000Z"
,"sunset":"2022-01-06T16:46:27.000Z",
"day_lenght":{"in_sec":28884,"in_hhmmss":"08h 01min"}
,"civil_twiligh_start":"2022-01-06T08:07:00.000Z"
,"civil_twiligh_stop":"2022-01-06T17:24:30.000Z"
,"nautical_twilight_start":"2022-01-06T07:23:44.000Z"
,"nautical_twilight_stop":"2022-01-06T18:07:46.000Z"
,"astronomical_twilight_start":"2022-01-06T06:42:44.000Z"
,"astronomical_twilight_stop":"2022-01-06T18:48:47.000Z"
,"timezone":60}

This information seems right/ok.
But the daylight tracker is one hour off / late?.

Did I do something wrong?
Do you have any suggestions, on how I can fix this?

Thanks in advance.
Regards Johan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions