CSV Export with File Integration to a different device in the same network

I’ve been using Home Assistant, ESPs, YAML, etc., for just three months, so I don’t have much experience yet. I’m a working student in a production environment, setting up a system for my project, which includes a Raspberry Pi with Home Assistant OS, ESPs, and various sensors to monitor environmental changes.

I’ve successfully set up the File Integration, notification function, and Samba to save the data in a CSV file and access it from different devices on the same network (following this guide: Export entity data to csv file. Create a new file export automation after 2024.06 changes).

Now, I’d like to automatically save the same CSV file to a different device or a network drive (Home Assistant is already in the same network). Is there a way to achieve this? Any help or suggestions are welcome.

I only pull the csv files from HA. Maybe someone else can help you with the push. Or ask any AI to help you with yaml/GUi.
Your AI prompt could be then. Try to specify your functional requirement and the environment as specific as possible. Usually it takes several iterations to get something. I’m not a HA specialist and learn from AI (ChatGPT, Copilot, etc, etc) every day!

Possible prompt for AI:

“Home Assistant. I have csv files in the config/export/ folder. I want to export them to another (Windows / Linux??) computer which has (NSF or Samba shares??). How to do that in HA. Preference is GUI instructions or if not possible with yaml. If addons are needed specify which and why”

1 Like