I am trying to move over some of my automations from home assistant to node red. in HA, I had an automation that wrote a filename to storage when motion was detected on my blink cameras.
/media/blink/backalley_blink_video_{{ now().strftime('%Y%m%d_%H%M%S') }}.mp4
and this filename worked fine. All saved videos had a timestamp in them. When I moved over the code in node red for a json expression, it saves fine but does not timestamp it.
{ "name":"back_alley_street", "filename":"/media/blink/backalley_blink_video_{{ now().strftime('%Y%m%d_%H%M%S') }}.mp4" }
It just shows as backalley_blink_video_{{ now().strftime('%Y%m%d_%H%M%S') }}.mp4 in my storage.
What is the proper way to get each new file to save with the write timestamp, also I am mountain time.