Hello @pierre-gilles
No worries, I don’t take it badly, I’m just a banker. I didn’t study computer science and it’s not my job.
I confirm that the code is 100% operational, otherwise I wouldn’t have mentioned it.
However, sorry for the big mistake on my part, the code was not the right one, the one you saw was intended for node-red. I have put the correct one now if you want to take a look.
Anyway, I started learning new things on Github and it’s not a problem if it’s not for this time.
When and if I become better or an expert, I will make new PRs in the future maybe ![]()
A well-identified and well-organized TUTORIAL section would be nice on the forum.
I have a second program running but a few more modifications to make to perfect it. This time it’s a water counter.
A TUTORIAL - Water Theme could be an idea.