The File Write Action Component is to write data to a file.
Component Properties
Name | Required | Description |
---|---|---|
Filename | False | Filename to be written. |
Append | True | Append new data instead of replacing the file. |
The file has to be inside these folders:
On Windows: C:\ProgramData\HubKit\action\actmgr\data\
On Mac OS: /Library/Application Support/HubKit/action/scripts/actmgr/data/
On Linux: /var/opt/hubkit/action/scripts/actmgr\data\
any path information will be relative from these folders.
You can, for example, use the File Write component to create a CSV file that contains sensor data alongside with timestamps. In this case, your configuration looks something like this:
Need more help with this?
Join our slack community for help