August 2020 updates

The year is flying by, and as the month of August comes to an end there have been a lot of updates to SEQUEmatic including a new trigger, a new variable webhook, improved sequence logging and enhancements to the landing page and Q&A site. Read on to learn more.

Trigger sequence periodically
Previously you could schedule a sequence to run every hour or every minute, or at a set time of day. Now you can set it to run every x hours or x minutes, for example every 2 hours or every 10 minutes. This gives more flexibility around when time based sequences run. You can learn more here in the docs and if you ask the bot he will be able to help as well.

New variable webhook
A new webhook allows you to check the value of a variable remotely. You can read more about variable webhooks here. This new webhook will return the current value of the specified variable in plain text, allowing you to reference variables in external services as well. I’d be very interested to hear how you’re using this feature!

Email notifications
SEQUEmatic doesn’t send a lot of email notifications, but now you can manage your email preferences from the settings page. Settings are at the individual notification level so you can select which emails you do and don’t receive.

New sequence dashboard
When you log in to the site, you’ll notice a new dashboard. This makes it easier to find important areas of the site like your settings, variables and linked services without having to navigate through multiple pages to get there. You can also see all your sequences at a glance, and turn them on and off with the click of a button.

Also on the dashboard there are some interesting stats summarised at the bottom of the page, and a new statistics page to give you a detailed breakdown of the sequences which ran each month. You may have noticed this report has started to be emailed monthly, and now you can navigate through your stats back to when you first started using SEQUEmatic.

Step history updates
Previously the sequence logs could be a bit difficult to interpret, and if you wanted to check on conditions which ran there was no detail to show how a condition passed. The sequence logs have had an overhaul and now provide a lot more information, including the value of variables and weather conditions at the time the sequence ran so you can better understand why steps ran and debug more complicated sequences. If you have any feedback or would like to see additional information in the logs, let me know.

New and improved Q&A site
The Q&A site has also had an overhaul. Previously this was separate to SEQUEmatic, making it confusing if you had registered an account there as well. Now, you can post questions and answers from your existing account, and there is even better spam protection than before. Not only that, but if the SEQUEmatic bot thinks something in the forum may help with a question you’ve asked he’ll give you a link to that question!

You can go directly to the Q&A site here and also from the general help page.

July 2020 updates

As yet another month comes to a close, there have been quite a few updates at SEQUEmatic.

Following on from the success of the Tuya Smart Life integration, you can now link directly with eWeLink to control your eWeLink and Sonoff devices from your SEQUEmatic sequences. Direct integrations to SEQUEmatic are proving popular, so if there are any other services you’d like to see added please post in the comments below, the Q&A Forum or contact me directly.

Next, you may have noticed the live chat icon in the bottom right corner has recently changed. If you click that button you can now chat directly with the SEQUEmatic bot! Even though he’s busy running your sequences, he can always find time for a chat to help you work your way around SEQUEmatic so go ahead and ask him your questions.

The bot works best if you ask questions like you would to a person, and has some context of what you’re currently doing. For example when you’re editing a step you can ask him questions about that particular step and he’ll explain how to set it up. If he’s not able to help, he will offer to transfer your chat to me so we can chat in realtime.

The SEQUEmatic bot can answer your questions in the context of what you’re currently doing – for example ask a question about the step you’re currently editing

Expanding on the features available in sequences, weather triggers and conditions are now directly built into SEQUEmatic. Previously you had to go via IFTTT which could be quite complicated, but now you can check the temperature, wind, rain and many other conditions directly from within a sequence. The weather can either trigger your sequence or you can use it within a sequence to check conditions before proceeding.

There are a lot of options available in this new step type, so be sure to check the docs for the full details.

Finally, an update has been made to the way sequences are logged. Navigate to the sequence log and click the magnifying glass next to the sequence to you want to view in detail. Previously the log showed you the steps which ran, but now it also provides information on the value of variables and other elements of the sequence as they were when the sequence ran. This can be very helpful in debugging your sequences. Note that this only applies to sequences which ran from now onwards – any sequences which ran prior to today will still display in the old log format.

Well, that’s it for this month but more is on the way! As always, post your questions and feedback in the Q&A forum, ask the bot your questions or contact me directly if you need help.

Issue with Tuya Smart Life integration – RESOLVED

EDIT: This issue is now resolved. You may need to unlink and link your Tuya account via the linked services page in order to restore you Tuya devices in your SEQUEmatic account.

If you continue to experience issues please let me know.


An issue has recently arisen with the link to some Tuya Smart Life accounts breaking. This means that Tuya devices may not trigger as expected and some sequences may not appear correctly when viewing the steps.

In some cases, unlinking and linking your account can resolve the issue, but not always.

I’m currently working with the Tuya support team to find a resolution and will post an update here once it’s resolved.

If this happens to your account, please don’t delete or modify your SEQUEmatic sequences. The steps may not appear correctly now with device names and statuses missing (see the screenshot below), but should be restored once the Tuya integration issue is resolved so it would be best to leave the sequence as it is for the moment.

Thanks for your patience while I work through this.

How to connect IFTTT to Tuya Smart Life

How to connect IFTTT to Tuya Smart Life

With the recent shutdown of the Tuya Smart Life service on IFTTT, many people are left wondering how to integrate their Tuya Smart Life devices with other smart devices around the home.

SEQUEmatic now supports direct integration with Tuya Smart Life. Combined with the IFTTT webhook service, SEQUEmatic can bridge that gap! Read on to learn how.

Link your Tuya account

First, you need to link your SEQUEmatic account to Tuya. Navigate to your settings page and click the Linked Services button.

Next, click Link account next to the description of the Tuya Smart Life service.

You will be redirected to the secure Tuya Smart Life login page, where you should login with your Tuya credentials.

Tuya will explain what it means to link your account, then you will need to click Confirm authorization to complete linking.

Once linking is complete, you will be redirected back to the Linked services page. You’ll notice the link which previous read Link account now reads Unlink account, confirming your account was successfully linked.

If you ever wish to disconnect your Tuya account from SEQUEmatic, you should return to this page and click the Unlink account link.

Create your sequence

If all you want to do is hook a service from IFTTT into your Tuya Smart Life device, then the SEQUEmatic sequence is very simple. However, if you’re new to SEQUEmatic I’d encourage you to explore the other step types and see what else you can achieve. Sequences can be very powerful and you might be able to create an even better home automation than you had before!

Anyway, the sequence you need will look like this. You can also view this here in the shared sequence library.

Let’s go through this step by step. First you should select the IFTTT webhook trigger. Enter anything for the event name, as long as it’s meaningful to you. Leave all the parameter fields blank. Here’s what I used in the sample sequence:

Then, you just need one other step which is the Tuya Smart Life step. I’ve chosen a single device, but you could also use a device group or scene. Select the action you want to perform or the property to modify as well as the new value, and that’s it! Here’s the step I created in the sample sequence.

While you’re here, if you want multiple Tuya Smart Life devices to be triggered, you can add any number of Tuya Smart Life steps to the sequence.

The IFTTT applet

Next head to IFTTT and create a new applet. The trigger, or if this component, should be the other smart device which should cause your Tuya Smart Life device to be triggered. In this example I’m using an eWeLink plug. Set up the trigger as you need, and then click next to create your action.

The action, or then that component, will use the webhooks service. There’s only one action available in this service, the make a web request action.

The only field you need to set in this action is the URL field. Head back to the SEQUEmatic sequence, and copy the URL provide in the trigger. Once copied, paste it into IFTTT.

Copy the URL highlighted here
Then paste it into this part of the IFTTT webhook service

Click through to save the applet, and your finished product should look something like this.

Now, when the other device (in this example the eWeLink plug called water feature) fires, it will make a webhook call to SEQUEmatic and trigger the sequence. The SEQUEmatic sequence will then control your Tuya Smart Life device!

If you have any questions getting set up, head over to the Q&A forums, post in the comments below or contact me here.

Tuya Smart Life integration

Tuya Smart Life integration

As many people are aware, the integration between Tuya Smart Life and IFTTT has now ceased. This has left a lot of people unable to run the handy automations they previously had set up between the Tuya Smart Life devices and other smart devices supported by IFTTT.

Following user feedback, I’m please to announce that SEQUEmatic now supports direct integration with Tuya Smart Life!

EDIT: It is now possible to control any property of any Tuya smart device direct from SEQUEmatic. Not all Tuya Smart Life devices are created equally, so if you run into any problems either post in the Q&A Forums or send me an email.

So how do you set up your sequences with Tuya Smart Life? Read on for the step-by-step process.

Connecting your SEQUEmatic account to Tuya

First, you need to link your SEQUEmatic account to Tuya. Navigate to your settings page and click the Linked Services button.

Next, click Link account next to the description of the Tuya Smart Life service.

You will be redirected to the secure Tuya Smart Life login page, where you should login with your Tuya credentials.

Tuya will explain what it means to link your account, then you will need to click Confirm authorization to complete linking.

Once linking is complete, you will be redirected back to the Linked services page. You’ll notice the link which previous read Link account now reads Unlink account, confirming your account was successfully linked.

If you ever wish to disconnect your Tuya account from SEQUEmatic, you should return to this page and click the Unlink account link.

Using Tuya Smart Life in sequences

Once your account is linked, using Tuya Smart Life in sequences is simple.

Either create a new sequence, or edit an existing sequence and click the Add step button. From the Step type dropdown select Tuya Smart Life. The form will update, displaying available devices by default.

Select the device name, the action to perform or property to modify, and the new value to set.

In addition to devices, you can also control device groups. Simply change the Type to Device Group and a list of available groups will display. Finally, you can also trigger Scenes which have been set up within your Tuya Smart Life home. Using scenes you can create some very complex and powerful automations to trigger from your sequences.

You can learn more about the Tuya Smart Life integration here in the docs. And if you need help getting set up, head to the Q&A Forum, post your questions in the comments below or contact me here.

If you do start using the Tuya Smart Life integration, I’d love to hear how you’re putting it to use in the comments below!

Incorporating the weather in your sequences

UPDATE: Weather has now been built directly into SEQUEmatic, so there is no need to make use of an external service any more. You can use it as a condition or a trigger. It is recommended you use the built in weather functionality rather than following this guide.

A couple of weeks ago we added a new option in the variable value condition which allows you to check if a variable contains a particular value. This can be useful if you have variables which hold a string of text and there’s something in particular you’re looking for in that text, without it needing to be an exact match.

One example a user came up with for this was to use the Weather Underground service at IFTTT to pull the current weather into their sequences. The set up is quite simple, and can allow you to add some handy conditions to your sequences.

Accessing parameters from a webhook call

Let’s get started by setting up the sequence in SEQUEmatic. There’s a handy feature which allows you to access values from webhook parameters directly in your sequence. All you have to do is enclose the parameter names in curly brackets like this – {weather_conditions}.

Firstly, add the IFTTT webhook trigger to your sequence. For any parameters you want to access in your sequence, you should specify their names in the step. In the example below we will be passing the current weather condition in the first parameter and the current temperature in the second parameter.

With this configuration, you can access the value of those two parameters when updating a variable or checking a condition by referencing them as {weather_condition} or {temperature}. Note that these values are only available for the current sequence, so to use them in other sequences you should store them in one of your SEQUEmatic variables.

You can do this easily using the change variable step as follows. Add a step to change a variable. Set a name for your variable, such as temp, and then set the change to ={temperature}. If we break this down, the = sign tells SEQUEmatic to set the value of the variable and {temperature} will take the value passed in the second parameter from IFTTT.

You can add another step to capture the weather conditions as well. Overall your sequence should look something like this.

With the weather conditions now stored safely in your variables, you can reference them in any other sequence using the variable names! Here’s an example of what you might see in your variable page after the sequence has run:

Setting up the IFTTT applet

The final step to get this working is to put the correct URL in the IFTTT applet. Firstly, take the URL provided in the first step of your sequence. In our example this is:

http://sequematic.com/trigger-ifttt-webhook/ABCDEFGHIJK/12345/forecast

And now you need to add IFTTT ingredients for the two parameters. Parameters should be added on the end of the URL, separated by a forward slash / . So, to pass the current conditions and current temperature, your URL would look like this:

http://sequematic.com/trigger-ifttt-webhook/ABCDEFGHIJK/12345/forecast/{{CurrentCondition}}/ {{CurrentTempCelsius}}

You can view the full IFTTT applet below. Just click the thumbnail to view the full image.

Using the contains condition

Now you have this set up, how can you build the weather into your sequences?

An example of a comparison might be that if it’s cloudy then you want to open your blinds. There are many different weather conditions which can come from the Weather Underground service, so it may not always be cloudy, but instead something like partly cloudy. Using the contains feature we mentioned at the start of this post you can cover all the different cloudy variations. Here’s what your sequence might look like:

Every day at sunrise this sequence will check if it’s cloudy and then either open or close the blinds

If you have any questions setting up the sequence and IFTTT applet, or some ideas on how to use it differently, please post in the comments below!

Welcome

Welcome to the SEQUEmatic blog. I’ll be using this blog to share news and updates to SEQUEmatic and also walkthrough some examples of how you get use SEQUEmatic to get the most out of your home automation.

The blog is still under construction, but will be up and running shortly with more content so please check back soon!

If there’s something you’d like to learn about, just leave a question in the comments below or contact me and I’ll do my best to address your question in a future post.

The SEQUEmatic bot is still new and learning. If you don't get the answer you need, just ask to speak with Derek and your chat will be transferred.