I am looking for someone who can help me with an Esp-easy project that I am stranded with.
18 Months ago I had a stroke and since then my short term memory has failed me and my 'brain processing capacity' has dropped quite a bit.
Tinkering with domotica has been my hobby for years and I am more or less trying to pick up the thread again.
Recently I started with Esp and that is fun but like the rest of my live now a very steep learning curve..
Last year I made a KWH counter for my 3 phase boiler in Domoticz: https://www.domoticz.com/forum/viewtopic.php?t=38717
Now I want to do the same for my Quooker, but I can't open it to place an actor in it, so I have to do it on the wcd side.
I once bought a Sonoff pow-r2 V2.0 and was able to flash it to Esp-easy (A few weeks later... (google has become really a search-engine not a find-engine))
In the end I managed to activate the meter via rules, this is where it actually stops;
What I would like is that when the quooker switches on, the pow-r2 switches on a switch, I use domoticz, from here I can do the calculation as I do with my boiler.
So I managed to link the button to domoticz and pressing it works instanly in Domoticz so the calculation would be correct.
But I can't get any further things done via rules, it must be a problem with syntax or something else, but I'm stuck here.
I did manage to make a dummy that takes over the 'power' value when I press the button (I see it in the log of the esp) but further calculations or operations i cannot get to work..
My idea is after powerup Domoticz gets a' off' statement; Then if the 'power' value exceeds, for example, 50 watts, Domotics gets a switch on statement 'on', if the power falls under the 50 watts a 'off' statement is issued.
Code: Select all
on POW_r2#Power>50 do
GPIO,13,1
else
GPIO,13,0
endon
Could you help me with this or do you know someone who can help me?
I like to hear it.
Sincerely,
RonkA.