Jump to content
C4 Forums | Control4

If programming


Remie

Recommended Posts

I tried to make a simple program that message me when motion, if I have chosen a bolean variable as true. But it sends the notification no mather what the variable is set to. Here is what the program look like. Ive made a variable named "out-of-house"

---------

When office -> senses motion

if variables -> out-of-house is true

Send push notification 

----------

Anyone with some tips for me?

Link to comment
Share on other sites


28 minutes ago, Remie said:

I tried to make a simple program that message me when motion, if I have chosen a bolean variable as true. But it sends the notification no mather what the variable is set to. Here is what the program look like. Ive made a variable named "out-of-house"

---------

When office -> senses motion

if variables -> out-of-house is true

Send push notification 

----------

Anyone with some tips for me?

You aren't showing if your programming has an indentation.  Arrange it like this:

When office -> senses motion

 

if variables -> out-of-house is true

             Send push notification 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.