New to this ...... help

Hi,

I’m new to this and most things work and are fine but this flow won’t work.

I see the “warmteaanvraag” state (an actor) that i switch on and off with a switch.

The “verwarmen” doesn’t switch a load yet so i test with the “warmteaanvraag” and change the “vermogen” setpoints.

Sometimes it works but sometimes not … what am i doing wrong?

Thanks in advance for your help!

Issue is here

When you switch warmtevraag is on and Power is smaller than 1000 it will switch on rhe Heater.

But is will always switch it off ( red marking) so depending on how fast the flow runs it will sometimes switch it on and then off right away

Hi thanks for your reply.

How can i solve this?

When i add timer timer it switches on and off a few times.

It needs to switch off to not have actors on without doing anything

Can you explain the goal of your flow in more detail?

Sure,

The heater i want to switch on when the normal control of the heater switches on and the power on my p1 has a certain value.

The normal control of the heater gives a signal to the warmtevraag.

If the warmtevraag is on and the power has its on value the heater switches on.

If the warmteaanvraag is off or the power is higer then its off value it has to switch off.

I tried something else but still no luck.

When I switch off it stays on, it seems the wait function is messing with me

Start with adding some logging cards, that way at leat you can see what part of the flows are running.

What is the usage of your beachcomber? When you awitch it off it will result in a powerdrop, that could result in switching it on again…

better to take that into account::slight_smile:

if the beachcomber has power reading then substracht it from the measured power.

If it doesn not have power reading but you know the power usage, use the status and then substract the power.

(But that is a second step… first get this thing working before complicating.

The switch off is pretty straightforward in you flow so if it does not work your beaxhcomber might not respond well?? Thats what younwill fimd oit by logging

If I translate the above litteraly into a flow then I get the following.

Flow 1 - Switch on Verwarmen
WHEN: Warmteaanvraag is switched on
AND: Vermogen < 1000
THEN: Switch on Verwarmen

This flow runs only once (when the Warmtevraag gets swtched on). If you want this flow to run each time when your power usage changes, then you would use the WHEN power changes card and then check on both conditions: AND Wartmtevraag is on AND power is < 1000, as you do in your current flow.

Flow 2 - Switch off Verwarmen
WHEN: Warmteaanvraag is switched off OR Vermogen > 4500
THEN: Switch off Verwarmen

So it seems you are using different triggers in your actual flow than what you indicate in your description.

Thanks for your reply!

I changed some things, i’m going to add the cards to understand what is happening.

When I know (or not) :sweat_smile: I will reply

Hi,

Now I understand how things work and when flows are initiated.

Thanks for your help and the cards are great!