Timezone setting for Node Red on Home Assistant OS

Hi,
I'm new to Node Red but found it's very helpful to setup my home automation flow.
I have setup time range to turn on my light during night time only but somehow the return timing look incorrect.
My other steps are showing with correct trigger local timing so I'm sure my server timezone is correct.
Is there anyway to setup Node Red with correct local timezone? My timezone is GMT+8 by the way.
image

I believe that HA uses a Docker image for node red. It sounds as if the timezone for the Docker node red container is not correct. How to do that is, I think, an HA question. Few, if any, here use HA, preferring to use node-red for everything. so you might be better asking on an HA forum.

You need to inject the correct TZ environment variable

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.