For my project i would need a function with an „if/or“ rule.
i have 2 hysteresis nodes from my two warm- supply.
so if one or both of them sends „on“, „1“, „true“.. i need to put the pump on.
only when both are off, 0 or false the pump should be of.
right now if the pump is on & the the lower hysteresis reaches the lower point the pump shuts off & my solar-panel is overheating..
i hope that somebody could help me,
thanks in advance!
-ruppi
[{"id":"83aed8db904ad634","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"45c4d08af0e5f693","type":"BooleanLogicUltimate","z":"83aed8db904ad634","name":"","payloadPropName":"payload","filtertrue":"both","persist":true,"sInitializeWith":"WaitForPayload","triggertopic":"trigger","outputtriggeredby":"all","inputCount":2,"topic":"result","restrictinputevaluation":false,"delayEvaluation":0,"x":415,"y":215,"wires":[[],["038f7b9567c2f923"],[]]},{"id":"d15a5d27d62ea02a","type":"inject","z":"83aed8db904ad634","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Hysteresis1","payload":"true","payloadType":"bool","x":230,"y":135,"wires":[["45c4d08af0e5f693"]]},{"id":"e4d33954d05569a7","type":"inject","z":"83aed8db904ad634","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Hysteresis1","payload":"false","payloadType":"bool","x":230,"y":180,"wires":[["45c4d08af0e5f693"]]},{"id":"32084b8614fdc479","type":"inject","z":"83aed8db904ad634","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Hysteresis2","payload":"true","payloadType":"bool","x":220,"y":280,"wires":[["45c4d08af0e5f693"]]},{"id":"eb4af54ebdf4f705","type":"inject","z":"83aed8db904ad634","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Hysteresis2","payload":"false","payloadType":"bool","x":220,"y":325,"wires":[["45c4d08af0e5f693"]]},{"id":"038f7b9567c2f923","type":"debug","z":"83aed8db904ad634","name":"debug 4","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":215,"wires":[]},{"id":"3f05eab285965fd3","type":"comment","z":"83aed8db904ad634","name":"Turn on pump?","info":"","x":790,"y":175,"wires":[]}]