#trying to write sensor data to a csv file

1 messages · Page 1 of 1 (latest)

tough bluff
#

Largely like it says on the tin. I have a free fridge pantry in range of my HA, and I want to log when the door is opened and closed, just the timestamps so that if something happens I have an idea of what times to go back and review the camera footage for. The idea would be (using HA Container) to have the data write to pantry_logs/pantry_door_log.csv (from the /config mount point) , but I can't figure out how to write to a file. I do have NodeRed set up in case it helps, but I'm honestly not very familiar with it

fading sundial