Closed Mheel80 closed 1 year ago
Check how often you send data in to the node. I believe this output cones only once for each time it receives data.
I inject it every second. That because if i change any values i want it to apply instantly.
@Mheel80 Trigger on events from HA instead. No need to re-send the input if nothing changed.
@marhoy I have changed so It doesnt inject every second and It works if I have a schedule but when It says no schedule It keeps sending no schedule every second in the logg.
Please verify that the node does not also get input every second. I cannot imagine anything in there sending the message every second unless it gets input.
@ottopaulsen Yes that is the problem and if i change them to state nodes the flow will not work until all have changed value. I will try to figure out a solution.
@Mheel80 If you explain what you want to achieve, maybe we can suggest a useful flow?
@marhoy Sure. I have set up the following so it can be changed from the dashboard in HA.
If i use state node and I modify the flow and do a modifyed deployment it will not send the values to the next node in node red untill it changes value. This results to that the lowest price node cant plan a schedule because it doesnt have the correct values. I will have the same problem if i restart HA or my server restarts.
Here I have restarted HA and used state nodes.
This is how it looks when i have changed all values after restart.
@Mheel80 What is it that you are trying to do? You have a spa bath, and you want to control what property of it in what way?
@marhoy I change the temperture setpoints depending on the price. All that works.
@marhoy I trying the following and it looks like it is working.
Is this still an issue? If not, please close.
Hello. The lowest price node fills the debug log in a few seconds making it inpossible to use the debug logg.![received_1004267500970814](https://user-images.githubusercontent.com/61874697/193445331-4794f1dd-779c-4f89-91c8-f25c12e7b757.jpeg)