2024-09-09 17:46:13.170 CEST I (511230380) ovms-duk-util: [lib/tasmotasp.js:73:processResult] TasmotaSP getPowerState: power=off
I'm currently working on a script that utilizes PubSub, but I'm running into an issue where the background function doesn't seem to display any output in the shell. I'm following the example from the website:
var myTicker = function(msg, data) { print("Event: " + msg + "\n"); }; PubSub.subscribe("ticker.10", myTicker);For some reason, I can't get the
myTickerfunction to output anything when triggered. It seems like the print statements aren't being executed as expected.Has anyone encountered this before, or does anyone have suggestions on what might be causing this issue?
Thanks in advance!
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26