Hi,
I’m new to Node Red and Home Assistant 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.
I have tried some suggestions from here to set timezone in the settings.js but still no work.
Is there anyway to setup Node Red with correct local timezone? My timezone is GMT+8 by the way.
Delete the node, deploy, and try adding it again.
already tried that but no work, it’s still showing result in UTC timezone (I assume)
i’m now trying to schedule a task by injection node, but trigger time is not following my timezone too
any other suggestions?
Try going to google maps click a point near your home and try that lat and log. Maybe it’s not processing the location correctly.
You can try setting the time zone in settings.js
inside the nodered
folder inside your config
folder. Just remove the 2 forward slashes, set your TZ and restart. Although this is usually not required.
There is always the sun component from HA. You can use that in a current state node. Sun2 will give you more options if the regular sun component is lacking.
thanks, let me try Sun2