I would like to use the OneDrive node to automatically synchronize something locally from the computer to a OneDrive folder. For the options, I set access via drive but I'm not sure about the configuration and I get the message that it can't find a file even though in the debug there is a file in the msg.payload.
I don't know about that node, but have you specified the full path to the folder? Also is node-red installed with Docker or Home Assistant or similar?
Don't use a specialist node for that, you should have the OneDrive folder mounted in your OS filing system. As such, you can simply use Node-RED's file handling nodes.
This will be more robust since you can let the OS handle any synchronisation.
Thanks. The problem is i want to do that on a RevPi. And i am not sure if that is possible on that device
Should be possible since there is a Linux filing system driver for OneDrive. I don't know that device specifically though.
This was from May last year: https://techcommunity.microsoft.com/discussions/microsoft-365/onedrive-on-linux/1318644
- Via the OneDrive Client for Linux - GitHub - abraunegg/onedrive: OneDrive Client for Linux - this 'syncs' your data, bi-directional operation, open source and free. Supports Personal, Business & SharePoint account types and Shared Folders. A Docker container is also available for all major architectures (i686, x86_64, ARMHF, AARCH64). If you need a GUI for onedrive client management use: GitHub - bpozdena/OneDriveGUI: A simple GUI for OneDrive Linux client with multi-account support.
- Via the 'onedriver' client - GitHub - jstaf/onedriver: A native Linux filesystem for Microsoft OneDrive - Native file system that only provides the OneDrive 'on-demand' functionality, open source and free. Supports Personal, Business account types. Currently does not support Shared Folders or SharePoint.
- Via 'rclone' - https://rclone.org/ - one way sync client, open source and free. Has limitations with SharePoint.
- Via non-free clients such as 'insync', 'ExpanDrive'