Is there a way to configure an input to trigger a function?
I want to optimize the code so i can send only 1 message every hour or so (just to make sure the node is alive) and every time an input changes state (like a door sensor) i send the status update.
I want to optimize the code so i can send only 1 message every hour or so (just to make sure the node is alive) and every time an input changes state (like a door sensor) i send the status update.
