Programming Clouds for AI

bayoupr

New member
What lines would I have to add to my AI program to have cloud effects and assign what days for this. I have a cloud profile made but can't figure out how to add this to my AI white and blue programs.
 
I created a Profile named Clouds, Type of profile I selected Weather. In this profile you can select cloud intensity, the amount of time for the clouds, lighting and so forth. I then went to the BluLed_4_5 outlet and the WhtLed_4_6 and entered the following in each after my programming times;
If Time 13:00 to 17:00 Then Clouds
If DoW --T-T-S Then Clouds
I am telling it what time I want clouds and the next line what days of the week.
 
Although the DoW line doesn't seem right since I am still getting clouds today which should be off? Have to work on this one somemore
 
The way the Axes evaluates programming is top to bottom, as it goes done the listing for each outlet, it looks for statements that are TRUE. Any statement which is true takes precedence over any prior TRUE statment. So in your example below, the DoW statement overrides the Time statement. The statements are not additive, which seems to be the way you are thinking they work.

In order to do what you want, you will need to use a virtual outlet to handle the cloudy periods.

I have to dash to catch a flight. If no one else chimes in with some examples, I'll try to do so when I have a chance.

In the meantime, look at the new user guide to learn all about about using virtual outlets.
 
I also would like to know if these are able to control the three channels on my SOL Blues? In the outlet menu I see only two channels listed, blu and wht no royal. Ijust purchased this unit along with the VDM Module.
 
I also would like to know if these are able to control the three channels on my SOL Blues? In the outlet menu I see only two channels listed, blu and wht no royal. I just purchased this unit along with the VDM Module.

You will need to go into the physical Apex device itself and buried in the menu is a spot to set the AI to blue rather than white. It is confusing to find as it is not really documented in the apex vdm instructions

You will also want to make sure the firmware is updated to the latest stable release.
 
The way the Axes evaluates programming is top to bottom, as it goes done the listing for each outlet, it looks for statements that are TRUE. Any statement which is true takes precedence over any prior TRUE statment. So in your example below, the DoW statement overrides the Time statement. The statements are not additive, which seems to be the way you are thinking they work.

In order to do what you want, you will need to use a virtual outlet to handle the cloudy periods.

I have to dash to catch a flight. If no one else chimes in with some examples, I'll try to do so when I have a chance.

In the meantime, look at the new user guide to learn all about about using virtual outlets.


That helps! So it's logic is similar to an access list on a Cisco router or firewall. Thanks!

I would still love to see some examples! Sorry for hijacking your thread Bayou.
 
Curt helped me out with this. All is good now. Thanks

Bayou, did you get your weather working? My lights are shutting off after the weather mode is over and then they ramp back up. I had added the "Set OFF" command after my "fallback OFF" statement. I just removed the set off to see if that helps.

My Blue outlet:
Fallback OFF
If Sun 180/180 Then AI_B_UP
If Outlet V_Lunar = ON Then MoonLt
If Outlet Storm = ON Then Weather

My Virtual outlet for Storm:
Set OFF
If Time 13:00 to 13:30 Then Weather
If Time 18:00 to 18:30 Then Weather
 
I just moved my lunar statement up above my Sun statement, so now the Sun statement will take precedence over the the Lunar.

I am still confused by the "set" commands.
 
That helps! So it's logic is similar to an access list on a Cisco router or firewall.
Now you're speaking my language! I suppose you could say that there are similarities. The parsing of an ACL stops at the first match (or TRUE condition), whereas the Apex parses the entire listing of statements and acts upon the last TRUE. Plus, ACLs always have an implicit deny at the end; Apex has no equivalent or even similar process.
 
These are my three AI outlets;

Fallback OFF
Set OFF
If Time 10:00 to 13:00 Then BlRampUp
If Time 17:00 to 19:00 Then BluOn
If Time 19:00 to 22:00 Then BlRampDn
If Outlet Cloudy = ON Then Clouds


Fallback OFF
Set OFF
If Time 10:30 to 13:00 Then WtRampUp
If Time 17:00 to 19:00 Then WhtOn
If Time 19:00 to 21:30 Then WtRampDn
If Outlet Cloudy = ON Then Clouds



Fallback OFF
Set OFF
If Time 09:30 to 12:30 Then RyRampUp
If Time 12:30 to 19:00 Then RyOn
If Time 19:00 to 21:30 Then RyRampDn
If Outlet Cloudy = ON Then Clouds



This is my Weather channel named Cloudy. Clouds is the profile I created.
Set OFF
If Time 13:00 to 17:00 Then Clouds
If DoW SM-WT-- Then OFF
 
This is my Weather channel named Cloudy. Clouds is the profile I created.
Set OFF
If Time 13:00 to 17:00 Then Clouds
If DoW SM-WT-- Then OFF

This virtual outlet should probably be:

Set OFF
If Time 13:00 to 17:00 Then ON
If DoW SM-WT-- Then OFF
 
Awesome! Yes, there are no implicit denies but similar :)

So any clue why my lights shut off completely and then ramped back up after my weather statement ran through completion?

My lighting settings:

AI_Blue
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Outlet V_Lunar = ON Then MoonLt
If Sun 180/180 Then AI_B_UP
If Outlet Storm = ON Then Weather

AI_White
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 240/120 Then AI_W_UP
If Outlet Storm = ON Then Weather

AI_Royal
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Sun 180/180 Then AI_RB_UP
If Outlet Storm = ON Then Weather

Storm
Program Type: Advanced
Display Icon: Light B
Program:
Set OFF
If Time 13:00 to 13:30 Then Weather
If Time 18:00 to 18:30 Then Weather

V_Lunar
Program Type: Advanced
Display Icon: Moon
Program:
If Moon 180/180 Then ON

Weather
Type: Weather
MinIntensity: 20
MaxIntensity: 40
Cloud Light Intensity: 30
Cloudy Percent: 85
Probability of Lightning (%): 0
Lighting Intensity (%): 90
 
No, I created a profile named Clouds and set the intensity of the light during this period and the % of this to happen. Yes I have a virtual outlet but instead of If time such& such =On I replaced On with Clouds.
 
Last edited:
What you have may work, but it is not good clean programming in a virtual outlet. It should be ON not the profile.
 
I'll try it and see what the difference is. This is all new to me from the other controller I had. So if I set ON this will refer to my Clouds Profile?
 
Last edited:
Back
Top