Sequematic

I just started my adventure with sequematic and immediately encountered a problem with synchronizing devices with my ewelink account

I would like to pick up SNZB-02D (called “działka salon”) from the “smart devices status” list to have temperature reading , but then message appears:

“You don`t have any services linked to Your account”

On the other hand when I expand the “smart devices” list, I only find them from one location (I have two) and now I figured it out it depends on which location is actually set as default in eWelink app !?!

When I change location in eWelink app to the second one, devices appear in “smart devices” list in sequematic :thinking: but the devices from the first location disappear :thinking:

Do You know what could be the problem and how to fix this?

What I would like to achieve?

After pressing the button on the decoder remote control (enigma2, linux) the temperature value from the SNZB-02D sensor is displayed on the TV screen :upside_down_face:

  • Ah, good old Sequematic :slight_smile:
  • Regarding the Trigger and “smart devices” for eWeLink, it’s never worked as far as I remember (I’ve been using it since 2021). There is no such trigger in the documentation either, I think. https://sequematic.com/help/triggers
Trigger

  • Regarding the Action and “smart devices/status of devices” for eWeLink… it only works with Tuya Smart Life. https://sequematic.com/help/step-external-service-cond
Action

  • I suspect that Sequematic doesn’t have the “Home, Group, Room” functionality implemented and only reads the first main section where the devices are. This would explain why you see one and not all, and why you see the other when you change it.… but that’s just my speculation.
  • As a temporary workaround, you could theoretically try a separate eWeLink account with which you’d share the second location, which would be unique to the second account. It might work then.

PS

It’s best to send Derek a polite message asking if he’d be willing to look into it in his free time. https://sequematic.com/contact

Describe your thought process for this logic in detail, and I’ll try to come up with something.

How will this decoder manipulate data? How do you plan to implement this functionality on its side? How and where do you plan to enable it to retrieve information?

In other words, how do you plan to script this on the decoder side (Linux)? How did you plan to pass data to it using sequematic?

My satelite decoder (Octagon SF8008, linux, ATV7.6) has programmable buttons.

I can assign an executable script to any button (e.g. “yellow”) and trigger an action when it’s pressed. In my case, I initially thought of macrodroid…

I wrote a script with the “wget” command (as webhook trigger in macrodroid) as a file named “temperature.sh” and upload it to the decoder folder “usr/script/”

wget -qO- “https://trigger.macrodroid.com/u/twoje-id/temp_check” > /dev/null

When I push “yellow” button the script “temperature.sh” will start and send a request (above webhook) to macrodroid as a triger…

Macrodroid action would be to retrieve a temperature value from eWelink snzb-02d and assign it to a variable (e.g. “temp”). Then, using the “http get” command, the variable is sent via the decoder’s “webif” interface to the T V

http://IP_DEKODERA/api/message?text={v=temp}&type=1&timeout=5

The problem is: how to get actual temperature from sonoff sensor and assign to variable…???

I thought it could be possible with sequematic “smart device status” and even decided to register account but as You already know unsuccessfully :disappointed_face:

I even tried to retrieved data from ewelink widgets on the phone home screen but no success so far :face_with_diagonal_mouth: looks like macrodroid is blocking clipboard or I don`t know how to use this properly :thinking:

If you have any suggestions, please share them freely, I will appreciate it :folded_hands:

1 Like

The situation isn’t great. Generally, there’s no easy way to retrieve a variable from a Sonoff sensor via the eWeLink cloud.

You can’t send a variable using a webhook because eWeLink doesn’t support it, even though I asked them to add it.
You can’t read a sensor variable because eWeLink doesn’t share it externally.

  • Doing it with scenes is not very precise and requires a lot of scenes for each temperature value… Absurd!

  • I asked eWeLink to add the functionality of passing variables from the app using “Intent” so that it could be used as a trigger in MacroDroid. They completely ignored it.

  • Push notifications… eWeLink doesn’t offer a dedicated option for sending temperature statuses this way. You’d have to create a ton of scenes with different temperature names and reactions based on the intermediate temperature values ​​eWeLink offers.

  • IFTTT… eWeLink doesn’t have an applet for reading temperatures. Creating your own advanced applet that could use the API requires Pro+. In that case, you could experiment with the “getDeviceCurrentTemperature” API. The ewelink team could add this in a minute if they wanted, but as you can see… Yes, there is “Temperature goes above or below” for the trigger, but again this is an option when the temperature is above/below the defined value, not the current reading. So we can achieve the same thing with scenes.

  • Custom scripting and communication with the ewelink API.

https://ewelink-api.vercel.app/docs/available-methods/getdevicecurrenttemperature

https://coolkit-technologies.github.io/eWeLink-API/#/en/PlatformOverview

https://github.com/skydiver/ewelink-api

The problem has always been with the way variables are read… this was also discussed on the forum in the context of the opening sensor. And now the temperature.

Generally, those using the ewelink ecosystem are screwed compared to, say, Home Assistant.

At the moment, what I can think of isn’t perfect, and is actually extremely weak, but I don’t think there’s anything more I can think of…

  • Monitoring an area in the app using Macrodroid screen reader. But you’re saying it doesn’t work, right?

  • Using CAST web and displaying it on the TV simply as a separate channel/source.

  • If you have a “server/PC” within the LAN where you can run a graphical desktop so Firefox can run, you can use the “PageProbe” add-on. It allows you to monitor the website live and send a webhook when a specific change occurs.

As you can see, full automation by Sonoff/eWeLink in 2026! Professional approach!
There’s no very simple way to remotely transmit the current value from the sensor to an external source for further propagation.

Or am I missing something… :confused:

@MichaelLearnsToCode @Alexie

Any official comment? Any advice? How can we extract real-time temperature and humidity from the sensor outside the eWeLink ecosystem?