After I scrapped the PowerMeter project because it simply didn't work with the given devices/modules with ESP32, I took a closer look at the above-mentioned module.
First problem:
As stated at https://espeasy.readthedocs.io/en/lates ... /P021.html, one should use...
Code: Select all
config,task,<taskname>,SetLevel,<value|calculation>
The controller device is task 4 for me and is simply called "Regler". So if I type ...
Code: Select all
config,4,Regler,SetLevel,20
That simply doesn't work for me, probably because I didn't understand something correctly...
However, the query with ...
Code: Select all
[<task name>#GetLevel]
I wouldn't have noticed that if I hadn't tried to add a day/night control afterwards.
Maybe it would also be better with regard to the flash write cycles to drill out the module a bit so that you can store two or three values, which you can switch as needed...