02-12-2020, 01:06 PM
I have not worked with IFTTT myself, but I am quite sure that it can offer URLs through which processes can be triggered (often called web-hooks some other applications). If so, you can use our new network interface to create a phyphox configuration that does just that. Unfortunately, this is not yet part of our editor and it only has the basic documentation without any examples: https://phyphox.org/wiki/index.php/Network_Connections
If you don't mind writing some XML and understand the documentation, you can try to create an experiment configuration that simply sends the current light level to IFTTT and set up the threshold over there. Here is an example for a much more complicated experiment that periodically sends the frequency of a pendulum to one of our servers (it is currently not active, so if you try this, it will not be able to submit):
https://phyphox.org/livespring/livespring.phyphox
You might be able to reduce this down to your needs. After all, you will not need any of the data analysis, but just a single buffer for the light sensor and the network connection.
If you don't mind writing some XML and understand the documentation, you can try to create an experiment configuration that simply sends the current light level to IFTTT and set up the threshold over there. Here is an example for a much more complicated experiment that periodically sends the frequency of a pendulum to one of our servers (it is currently not active, so if you try this, it will not be able to submit):
https://phyphox.org/livespring/livespring.phyphox
You might be able to reduce this down to your needs. After all, you will not need any of the data analysis, but just a single buffer for the light sensor and the network connection.