Help with setting up a timer (of some sort)

Is this something you want to tackle yourself, or do you need us to do it for you? In general, we try to help people achieve their goals on their own, not do their work for them, just so you know.

I’d split the project up in two things, the first being the timing on the device, the second being the connection to whatever smart platform you need.
If you take a look at some of the tutorials about calling functions and combine that with the various options I mentioned in my previous post, that ought to go a long way towards getting the device part done.
Once you have that working, we can start looking into connecting it.

This is a good tutorial to get familiar with functions and variables: Tutorial: Spark Variable and Function on One Web Page
Mind the fact that it’s a bit older, and some things need to be updated to the most recent status, for which the documentation is a great place to look.
Additionally, it’s now possible to call functions/variables from the Particle Console and/or the phone app, so you don’t necessarily have to worry about the website part.

Take a look, play around with some code and let us know where you get stuck, if you do.

Additionally, it never hurts to do a quick web search on the topic you’re struggling with, so no one has to reinvent the wheel: https://community.smartthings.com/t/control-particle-photon-with-smartthings-app/97582/

3 Likes