help with apex programming

homer1475

Figuring out the hobby one coral at a time.
View Badges
Joined
Apr 24, 2018
Messages
11,810
Reaction score
18,838
Location
Way upstate NY
Rating - 0%
0   0   0
WOW just watched a vid on how to create VO's with the new apex and it's way easier then on the classic.

In fusion on the upper left hand side, click the outlet icon. Then on that screen on the upper right hand side click the cloud icon. You should have an option to create a virtual outlet.
 

homer1475

Figuring out the hobby one coral at a time.
View Badges
Joined
Apr 24, 2018
Messages
11,810
Reaction score
18,838
Location
Way upstate NY
Rating - 0%
0   0   0
if I write set off. then my sensor turns off right away. I've already tried
You have to have the SET OFF statement or the outlet will never turn off after the coding statement is false. With the SET OFF command the outlet will turn back to AUTO once the coding statement is false, but will remain on until the coding statement is false.
 

homer1475

Figuring out the hobby one coral at a time.
View Badges
Joined
Apr 24, 2018
Messages
11,810
Reaction score
18,838
Location
Way upstate NY
Rating - 0%
0   0   0
While I'm not great at screenshopts I will post my coding for my VO temp alarm and the coding in the actual Alarm.

So in my VO name Temp_Alarm:
Set off
If temp > 83.5 then on
If temp < 75.5 then on

Now in my Alarm code:
If Output Temp_Alarm = on then on

But of course I have several lines of code in my email alarm, but even if every one goes off at the same time, only the last line of code will send me an email. I will not get one for every true statement.

EDIT:
Just remember that capitol's count in naming. So ig you name your sensor "Obratk" then "obratk" will not be recognized
 
OP
OP
romzan45

romzan45

New Member
View Badges
Joined
Dec 24, 2019
Messages
10
Reaction score
0
Location
Russia
Rating - 0%
0   0   0
I did so. But the reaction is zero

Screenshot_20191225-091512_Apex Fusion.jpg Screenshot_20191225-091457_Apex Fusion.jpg Screenshot_20191225-091545_Apex Fusion.jpg Screenshot_20191225-091552_Apex Fusion.jpg
 

homer1475

Figuring out the hobby one coral at a time.
View Badges
Joined
Apr 24, 2018
Messages
11,810
Reaction score
18,838
Location
Way upstate NY
Rating - 0%
0   0   0
Well thats the proper coding. No idea why your not getting the alert.

Only other thing I could think of, is making sure the VO and the email alert are set to AUTO.

Now I keep seeing in every screenshot that you have a notification from the apex. If you don't clear that it could be why your not getting the alert. Just spitballing but it's the only other thing I could think of as the coding is proper.
 

Bubbles, bubbles, and more bubbles: Do you keep bubble-like corals in your reef?

  • I currently have bubble-like corals in my reef.

    Votes: 59 39.6%
  • I don’t currently have bubble-like corals in my reef, but I have in the past.

    Votes: 17 11.4%
  • I don’t currently have bubble-like corals in my reef, but I plan to in the future.

    Votes: 42 28.2%
  • I don’t currently have bubble-like corals in my reef and have no plans to in the future.

    Votes: 29 19.5%
  • Other.

    Votes: 2 1.3%
Back
Top