Back
OneDrive New file matching regex in folder. Chacon / DiO Turn plug On / Off.

Turn off Chacon / DiO plug when new OneDrive file matches pattern

Connect

How this automation works

Automatically control your Chacon / DiO plug based on files you upload to OneDrive. This Applet runs whenever a new file whose name matches your chosen regular expression is added to your specified OneDrive folder, turning your selected plug off. Perfect for automating devices or routines triggered by file uploads in OneDrive.

If
OneDrive icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify
Filename FilenameNoExt ModifiedBy ModifiedTime FileUrl
Then
Chacon / DiO icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set the Chacon / DiO plug to the desired state.
device_id_plug state

Services used in this Applet

Create your own OneDrive and Chacon / DiO workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

32 triggers, queries, and actions

New file in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time a new file is created in the folder you specify.

New file matching regex in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify

New file matching search in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new file whose filename or file contents contains the words you specify is added to the folder you specify

New file or folder shared with me

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new file or folder is shared with you

New photo in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new photo is created in the folder you specify.

New tagged photo in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a new photo with the tag you specify is created in the folder you specify.

Plug switched On / Off

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time a Chacon / DiO plug is switched to the desired state.

Shutter is opened / closed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a Chacon / DiO shutter is opened or closed.

Shutter position is above or below a target

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time the position of a Chacon / DiO shutter is above or below a target.

Thermostat switched mode

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a Chacon / DiO thermostat mode change to the desired one.

Thermostat switched status

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a Chacon / DiO thermostat change to the desired status.

Thermostat temperature is above or below a target

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time the temperature of a Chacon / DiO thermostat is above or below a target.

History of file matching regex uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent files whose filename matches the regular expression you specify is added to the folder you specify

History of file matching search uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files whose filename or file contents contains the words you specify is added to the folder you specify

History of files or folders shared with me

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files or folders shared with you

History of files uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files created in the folder you specify.

History of photo uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos created in the folder you specify.

History of photos with a tag uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent photos with the tag you specify is created in the folder you specify.

Plug switch state

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the switch state of a Chacon / DiO plug.

Shutter position

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the position of a Chacon / DiO shutter (in percent).

Thermostat mode

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the mode of a Chacon / DiO thermostat.

Thermostat status

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the status of a Chacon / DiO thermostat.

Thermostat temperature

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the temperature of a Chacon / DiO thermostat (in Celsius).

Add file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file at a given URL and add it to OneDrive at the path you specify. NOTE: 30 MB file size limit.

Append to a text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will append to a text file as defined by the file name and folder path you specify

Create text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new text file at the path you specify

Enable / Disable thermostat

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set enable or disable the Chacon / DiO thermostat.

Set shutter position

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set the Chacon / DiO shutter position.

Set thermostat mode

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set the Chacon / DiO thermostat to the desired mode.

Set thermostat temperature

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set the Chacon / DiO thermostat to temperature.

Toggle plug

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will toggle the Chacon / DiO plug switch state.

Turn plug On / Off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set the Chacon / DiO plug to the desired state.

Add file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will download a file at a given URL and add it to OneDrive at the path you specify. NOTE: 30 MB file size limit.

Append to a text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will append to a text file as defined by the file name and folder path you specify

Create text file

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will create a new text file at the path you specify

Enable / Disable thermostat

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will set enable or disable the Chacon / DiO thermostat.

History of file matching regex uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent files whose filename matches the regular expression you specify is added to the folder you specify

History of file matching search uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files whose filename or file contents contains the words you specify is added to the folder you specify

History of files or folders shared with me

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files or folders shared with you

History of files uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files created in the folder you specify.

History of photo uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos created in the folder you specify.

History of photos with a tag uploaded in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list recent photos with the tag you specify is created in the folder you specify.

New file in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time a new file is created in the folder you specify.

New file matching regex in folder

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time a new file whose filename matches the regular expression you specify is added to the folder you specify

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on OneDrive and Chacon / DiO

About OneDrive

OneDrive is the place to store your files so you can access them from virtually any device. Use OneDrive and you'll never be without the documents, notes, photos, and videos that matter to you.

Explore OneDrive

About Chacon / DiO

Chacon / DiO gives you clever control of all your plugs, shutters and thermostats, wherever you are. Get things done faster, hands-free and enjoy clever controlling.

Explore Chacon / DiO

More integrations with Chacon / DiO

IFTTT helps all your apps and devices work better together

Get started for free