Ok, @Steve-Mcl has shown me how to get it working in another thread.
I don't want to flood with multiple threads.
Thanks though @TotallyInformation and @edje11.
Now I have a size problem with how is is shown on the dashboard.
See this thread (only for clarity)