Hi,
I am new to HA and Node-Red. I have created a simple automation for photovoltaics. It involves switching on the pool pump and switching panels (I have more power from the panels than the maximum MPPT input... we don't get much sunshine here).
I also want to be able to set the limits that control the automation. I have created a "number" node in NR.
I don't know the following:
- how to connect the limit setting, for example for SOC battery (%) to the "trigger-state" node, where it is a condition for further action.
- how to set the range for the "number" node, displayed in HA as a slider (e.g., 500 to 1800 W)
I suspect that this can only be done with functions, which I don't understand at all.
I would be grateful for any advice, preferably written code that will make this possible.
I am attaching a few scans.
Thank you very much.
Arny.


