Reading and displaying relay state using nodemcu

Hi everyone,

I would like to display the relay status (i.e., if the relay is ON or OFF) on the thinger dashboard, it can be either as an LED indicator light or as text saying ON or OFF.

In order to achieve that, what to change in the program? Any help would be highly appreciated.

See how to get the output: CODING GUIDE - Documentation

See how to view output on the dashboard: DASHBOARDS - Documentation

Even in the forum there are some topics that covers this.

Check this → Led indicator widget on boolean variables?

Hope it helps.