Jump to content
C4 Forums | Control4

mrjones1425

c4Forums Member
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mrjones1425's Achievements

  1. I am curious if there is a character limit to what can be stored in a string variable. If a condition is set in the programming tab to check if two string variables are equal, how many characters are being compared?
  2. It has been about a year but I was finally able to get this to work so I thought I should post what I did in case anyone else ends up looking at this. The problem seemed to be with the conditional statement of "If Room xxxxx is On" and how the conditionals were processed. I tried it the same statement with the "Power State" variable and it didn't seem to help. For some reason if the condition of the first room being off was met, it never seemed to get to the second condition of telling if a room was on. My fix was to build a string variable for each room that simply changed from "Off" to "On" with the Power State and then build "If" and "Else" statements from those string variables. It has been working flawlessly since I did this. It seems like a bit of a glitch to me, but I'm sure that something is going on that I just don't understand. I made a variable like this for each room. And here is the "If" and "Else" statements that I used Hopefully this will help someone who may find themselves in a similar situation.
  3. Thank you for the reply. I have wondered about the room being on in the background. I have tried to read up on what defines a room as "On" or "Off", but I couldn't really find anything. Is there a definition somewhere in the documentation of what conditions define if a room is considered on or off? Is it possible for a room to be on but not show up in the zones section of the app and navigator? I will remove the lines of code that you are suggesting and try it for a while see if that is the problem. I played with the media scenes, but they seemed very rigid. I have 14 audio zones in my house and it looked to me that I would need to create a media scene for each possible combination and then use a similar conditional statement approach to define which media scene to activate based on which scene is on. Perhaps I missed something with the media scenes. Thank you again for your reply.
  4. I have an EA-5 controller running version: Composer Home Edition 2.10.5, Build 554601-res Director version: 2.10.5.554707-res Oct 12 2018 12:11:15 I am trying to use the volume up on my "Ensuite" keypad to do the following: If the Ensuite is on, turn up the volume. If the Ensuite is off, join another room, in the priority of "Master", "Kitchen", "Theater", and "Living Room" to either the digital media or the current selected device. I then want the volume set to 50 I have gone through these forums and the script below seems like it should work. I do not get consistent results. The volume up always works if the room is on, so that is not an issue The add zone does not work until I turn the master on and then execute the script (I usually do this from Home Composer). Once I do that, I can turn both the Ensuite and Master off and the script will work as expected with all other priority rooms. Once playback is done and all zones are turned off, it won't work again. When I turn a zone back on again and try to have the ensuite join it with this script, it doesn't do anything. I had the conditional statements built to include 2 more rooms, but I couldn't get that to work at all. Is there a limit to how many conditional statements that Control4 is able to handle? Am I doing something else wrong? I appreciate your time for reading this and any advice would be welcome. Please let me know if any other information would be relevant.
×
×
  • Create New...

Important Information

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