Write data to csv file with node red | store data to txt file with node red

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • Write data to csv file with node red ; store data to txt file with node red; read csv file in node red; node red store data; Read and Write Data To a File In Node-Red; Writing Sensor Data to CSV Files; Insert Data to CSV file With Node-red
    #nodered #raspberrypi #storecsvdata
    my node-red flows:
    [
    {
    "id": "31dab821d0854f91",
    "type": "tab",
    "label": "Flow 4",
    "disabled": false,
    "info": "",
    "env": []
    },
    {
    "id": "a62cb3f2fa90db51",
    "type": "file",
    "z": "31dab821d0854f91",
    "name": "",
    "filename": "/home/myson/Desktop/data.csv",
    "filenameType": "str",
    "appendNewline": true,
    "createDir": false,
    "overwriteFile": "true",
    "encoding": "none",
    "x": 530,
    "y": 160,
    "wires": [
    []
    ]
    },
    {
    "id": "93e9170e18bd0555",
    "type": "inject",
    "z": "31dab821d0854f91",
    "name": "",
    "props": [
    {
    "p": "payload"
    },
    {
    "p": "topic",
    "vt": "str"
    }
    ],
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "topic": "",
    "payload": "23",
    "payloadType": "num",
    "x": 90,
    "y": 140,
    "wires": [
    [
    "5a8fe602e67a4fd7"
    ]
    ]
    },
    {
    "id": "5a8fe602e67a4fd7",
    "type": "function",
    "z": "31dab821d0854f91",
    "name": "function 1",
    "func": "var t = new Date().toLocaleString();
    msg.data = msg.payload
    msg.payload = { \"time\": t, \"Data\": msg.data };
    return msg;",
    "outputs": 1,
    "noerr": 0,
    "initialize": "",
    "finalize": "",
    "libs": [],
    "x": 280,
    "y": 160,
    "wires": [
    [
    "a62cb3f2fa90db51"
    ]
    ]
    }
    ]

Комментарии • 5

  • @rue2003
    @rue2003 10 месяцев назад

    thank you so much my friend! Exactly what i was looking for!

  • @jiacichen8571
    @jiacichen8571 Год назад

    The video is very useful, thanks

  • @ivaylomanolov1455
    @ivaylomanolov1455 Год назад

    Good job! Thanks!

  • @Gipsy-kalim
    @Gipsy-kalim 11 месяцев назад

    grazie mille

  • @manuelmatus2959
    @manuelmatus2959 Год назад

    I am trying to save data in a windows machine. Do you have to use the path of Home Assistant?