When i run the following code via the webapi: Homey.logic.getVariables();
I get a json back with all data i want to use in Homey.
How can i dump this data in a text card so i can write it into a log?
I installed Homey script and run that command but i get errors and i cannot get it into a text card to use in my flows.
return JSON.stringify(await Homey.logic.getVariables());
The Text-Tag from this card can be written how you would like.
Here’s also a nice script.
The script idea works, maybe someone can implement it in a logging (or other) app so it can be used by everyone very easily using just flow cards…