Openhab 3, on a Raspberry 4 with opanhabian
rrd4j is installed without any changes
Hi folks, I’m a greenhorn in setting up rules and hope you can guide me…
I managed to get live date from my Powermeter over modbus tcp binding and know want to turn off/on equipment behind a shelly p1 when my solarplant produceses enough power.
Lets say the shelly should turn on if there is a Total Real Power Value from +2000w over the last minutes (and run for at least one hour - this has yet to be added to the code…) and turn off, if there isn’t any Power Value. I spent the whole day finding solutions, starting with blockly and moving the code to an other rule, but just ended up with…
The rule triggers, but fails to execute action 2
Apparently there are some mistakes in the code somewhere here I guess: ), “rrd4j”’).getState()
I hope you can help me
Of course there are solaredge pros’ who have already coded such things - but I wasn’t able to find rules which I coult adopt.
Any help is appreciated!