Hi, I am new to writing background processes in oc and need some advice.
I want to write a small service that reads an energy storage and sends its data on the network.
To do this, should I use a detached thread or a timer event?
How do i stop a background process?
Thank you in advance : )