Hello experts,
with my photovoltaik system with battery I switch on my house heating system (a big compressor for warm water).
I receive the informations from photovoltaik system ober MQTT and USB ports.
System is in automatic mode "aut"
System in in battery mode "bat"
PV Power is more than 1400W.
If all of this values are true, then the compressor starts. If one of them is not "true" the compressor should stop. --> Output to my SPS is the "false"
To activate the output it works. But If one of them is wrong, the output will not be reset to false.
Can someone help me where is my failure?
[{"id":"14b461fc.adefce","type":"s7 out","z":"a9675d3d.3d61d","endpoint":"15906f9c.6a511","variable":"Wärmepumpe Stufe 1 aktivieren","name":"","x":1270,"y":840,"wires":[]},{"id":"140afd9f.8bae62","type":"emoncms in","z":"a9675d3d.3d61d","name":"PV Power in Watt","emonServer":"7b2db187.03238","feedid":"168","x":130,"y":1240,"wires":[["d60b561c.0bcb18","de4aa668.303298","b095674c.60cb88"]]},{"id":"d60b561c.0bcb18","type":"debug","z":"a9675d3d.3d61d","name":"PV Watt","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":180,"y":1300,"wires":[]},{"id":"3c46bbfd.529bd4","type":"BooleanLogic","z":"a9675d3d.3d61d","name":"","operation":"AND","inputCount":"3","topic":"result","x":1020,"y":800,"wires":[["14b461fc.adefce","184758d7.8c9fa7","6601403a.acf7e"]]},{"id":"de4aa668.303298","type":"switch","z":"a9675d3d.3d61d","name":"> 1400 W PV Leistung","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"1400","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":520,"y":1240,"wires":[["7fe038bf.8994f8"]]},{"id":"7fe038bf.8994f8","type":"trigger","z":"a9675d3d.3d61d","name":"","op1":"true","op2":"false","op1type":"str","op2type":"str","duration":"80","extend":true,"overrideDelay":false,"units":"s","reset":"0","bytopic":"all","topic":"topic","outputs":1,"x":750,"y":1240,"wires":[["3c46bbfd.529bd4","1e0a4b0.89fb8b5"]]},{"id":"51269fc3.ecd62","type":"inject","z":"a9675d3d.3d61d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":true,"onceDelay":"","topic":"","payload":"true","payloadType":"str","x":90,"y":1200,"wires":[["140afd9f.8bae62"]]},{"id":"23571063.e483d","type":"link out","z":"a9675d3d.3d61d","name":"","links":["43f1bc93.648904","24c144f.d829bbc"],"x":1235,"y":940,"wires":[]},{"id":"b095674c.60cb88","type":"link out","z":"a9675d3d.3d61d","name":"","links":["c95f480b.510a88","3bb12da9.20bac2"],"x":375,"y":1200,"wires":[]},{"id":"50df660b.e8b8d8","type":"link in","z":"a9675d3d.3d61d","name":"","links":["f37ff588.e65e98"],"x":175,"y":960,"wires":[["a8dbceb9.b6974","9ce10329.aa071"]]},{"id":"a8dbceb9.b6974","type":"debug","z":"a9675d3d.3d61d","name":"Battery Mode MK1 UG/EG","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":180,"y":1020,"wires":[]},{"id":"9ce10329.aa071","type":"change","z":"a9675d3d.3d61d","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"bat","fromt":"str","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":960,"wires":[["d7c7b684.9fba08","3c46bbfd.529bd4"]]},{"id":"d7c7b684.9fba08","type":"debug","z":"a9675d3d.3d61d","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":430,"y":1020,"wires":[]},{"id":"662a4556.751e9c","type":"link in","z":"a9675d3d.3d61d","name":"","links":["4e8ad788.f264e8"],"x":175,"y":780,"wires":[["cf315b2f.5a5158","feeb6cd6.fe7c8"]]},{"id":"cf315b2f.5a5158","type":"change","z":"a9675d3d.3d61d","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"aut","fromt":"str","to":"true","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":780,"wires":[["5aaab1b9.9f69b","3c46bbfd.529bd4"]]},{"id":"5aaab1b9.9f69b","type":"debug","z":"a9675d3d.3d61d","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":430,"y":840,"wires":[]},{"id":"feeb6cd6.fe7c8","type":"debug","z":"a9675d3d.3d61d","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":190,"y":840,"wires":[]},{"id":"6601403a.acf7e","type":"rbe","z":"a9675d3d.3d61d","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":1150,"y":940,"wires":[["23571063.e483d"]]},{"id":"1e0a4b0.89fb8b5","type":"debug","z":"a9675d3d.3d61d","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":750,"y":1300,"wires":[]},{"id":"15906f9c.6a511","type":"s7 endpoint","transport":"iso-on-tcp","address":"192.168.2.7","port":"102","rack":"0","slot":"2","localtsaphi":"02","localtsaplo":"00","remotetsaphi":"01","remotetsaplo":"00","connmode":"tsap","busaddr":"2","cycletime":"500","timeout":"1500","name":"Logo 7","vartable":[{"addr":"DB1,X101.1","name":"Briefkasten"},{"addr":"DB1,X300.4","name":"TEST"},{"addr":"DB1,X100.0","name":"Kontrolle 22:00 OG"},{"addr":"DB1,X100.1","name":"Kontrolle 22:00 EG"},{"addr":"DB1,X101.4","name":"Rasp zu Logo"},{"addr":"DB1,X101.5","name":"Rasp zu Logo Impuls"},{"addr":"DB1,X101.2","name":"Wärmepumpe Stufe 1 aktivieren"},{"addr":"DB1,X101.3","name":"Wärmepumpe + EL Stufe 2 aktivieren"}]},{"id":"7b2db187.03238","type":"emoncms-server","server":"http://localhost/emoncms","name":""}]
Best regards Herbert