node-red-contrib-power-saver icon indicating copy to clipboard operation
node-red-contrib-power-saver copied to clipboard

Fills the debug log in seconds.

Open Mheel80 opened this issue 3 years ago • 11 comments

Hello. The lowest price node fills the debug log in a few seconds making it inpossible to use the debug logg. received_1004267500970814

Mheel80 avatar Oct 02 '22 08:10 Mheel80

Check how often you send data in to the node. I believe this output cones only once for each time it receives data.

ottopaulsen avatar Oct 02 '22 09:10 ottopaulsen

I inject it every second. That because if i change any values i want it to apply instantly.

Mheel80 avatar Oct 02 '22 09:10 Mheel80

@Mheel80 Trigger on events from HA instead. No need to re-send the input if nothing changed.

marhoy avatar Oct 04 '22 12:10 marhoy

@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.

Mheel80 avatar Oct 05 '22 06:10 Mheel80

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 avatar Oct 05 '22 06:10 ottopaulsen

@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 avatar Oct 05 '22 06:10 Mheel80

@Mheel80 If you explain what you want to achieve, maybe we can suggest a useful flow?

marhoy avatar Oct 05 '22 07:10 marhoy

@marhoy Sure. I have set up the following so it can be changed from the dashboard in HA. image 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. image This is how it looks when i have changed all values after restart. image

Mheel80 avatar Oct 05 '22 08:10 Mheel80

@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 avatar Oct 05 '22 09:10 marhoy

@marhoy I change the temperture setpoints depending on the price. All that works.

Mheel80 avatar Oct 05 '22 10:10 Mheel80

@marhoy I trying the following and it looks like it is working. image

Mheel80 avatar Oct 05 '22 10:10 Mheel80

Is this still an issue? If not, please close.

ottopaulsen avatar Nov 22 '22 17:11 ottopaulsen