Zuhair Posted September 3, 2017 Share Posted September 3, 2017 @alanchow I created 2 wake agents. I created a macro which is being triggered by Schedule It driver, when the driver execute the macro, the macro contains 5 commands: Execute wakeup agent 1 on room1 Execute wakeup agent 1 on room2 Execute wakeup agent 2 on room3 Execute wakeup agent 2 on room4 Execute wakeup agent 2 on room5 The macro is successfully being executed by the driver, but only the last 2 rooms is running, I tried shuffling the lines up/down but only execute the last 2 rooms. I'm pretty sure that this the case of this is not Schedule It driver. Can anyone please help? This is wakeup agent 1 This is wakeup agent 2 This is the macro Link to comment Share on other sites More sharing options...
msgreenf Posted September 3, 2017 Share Posted September 3, 2017 @alanchow I created 2 wake agents. I created a macro which is being triggered by Schedule It driver, when the driver execute the macro, the macro contains 5 commands: Execute wakeup agent 1 on room1 Execute wakeup agent 1 on room2 Execute wakeup agent 2 on room3 Execute wakeup agent 2 on room4 Execute wakeup agent 2 on room5 The macro is successfully being executed by the driver, but only the last 2 rooms is running, I tried shuffling the lines up/down but only execute the last 2 rooms. I'm pretty sure that this the case of this is not Schedule It driver. Can anyone please help? This is wakeup agent 1 This is wakeup agent 2 This is the macro Do you have digital media in all rooms? Sent from my Nexus 6P using Tapatalk Link to comment Share on other sites More sharing options...
knowitall Posted September 3, 2017 Share Posted September 3, 2017 That not going to work. Each wake up is a separate instance and the EA5 likely only has its 2 analog outs connected. what you have above us telling the system to play 5 separate instances and it can only play two use a media scene Link to comment Share on other sites More sharing options...
South Africa C4 user Posted September 3, 2017 Share Posted September 3, 2017 A strange way to use the wake up agent. As has already been said, use a media scene. Alternatively, start playing in one zone and add zones to the session. Link to comment Share on other sites More sharing options...
Zuhair Posted September 3, 2017 Author Share Posted September 3, 2017 Thank you @knowitall / @South Africa C4 user for the reply, I forgot to mention that I'm Composer HE beginner and I'm facing difficulties with the lack of the advance documentation. The reason I'm using wake up agent in this strange way I tried using media scene and added the 6 rooms (zones) each with it's volume preference but it played the media in all 6 zones at 100% volume. Shall I create one media scene for every room (zone)? Or one media scene per room (zone)? Should the script look like this? Activate media scene 1 Execute wake in room 1 Activate media scene 2 Execute wake in room 2 Activate media scene 3 Execute wake in room 3 Activate media scene 4 Execute wake in room 4 Activate media scene 5 Execute wake in room 5 Activate media scene 6 Execute wake in room 6 Or Activate media scene that include all rooms (zones) Execute wake in room 1 Execute wake in room 2 Execute wake in room 3 Execute wake in room 4 Execute wake in room 5 Execute wake in room 6 deactivate media scene What are other suggestions if I skip the wakeup agent? Link to comment Share on other sites More sharing options...
VINCELdUB Posted September 4, 2017 Share Posted September 4, 2017 Use a media scene or you can set the desired default volume in each room by going to the miscellaneous tab under room properties. There you can set the default volume for audio and video separately. Programmatically, this can be done for each room by going to programming and on right side select the first room. Press right on the keyboard twice to reveal a sub menu. Select CURRENT_VOLUME Then set the volume to desired level and drag green arrow over to centre. Happy Automating!! Link to comment Share on other sites More sharing options...
Zuhair Posted September 4, 2017 Author Share Posted September 4, 2017 Many thanks @VINCELdUB whats is the best way to play the music in 5 zones when the macro is triggered? Link to comment Share on other sites More sharing options...
knowitall Posted September 4, 2017 Share Posted September 4, 2017 Media scene agent. Forget about the wake ups. Delete them. Create media scene with all rooms/volumes you want. ill post screen shots later Link to comment Share on other sites More sharing options...
Zuhair Posted September 4, 2017 Author Share Posted September 4, 2017 Thank you @knowitall After creating the media scenes, what is the action to play the music? (I'm using composer HE) Link to comment Share on other sites More sharing options...
knowitall Posted September 4, 2017 Share Posted September 4, 2017 Activate media scene select xxxxx media in any room start 10 min timer when timer expires, deactivate media scene Link to comment Share on other sites More sharing options...
Zuhair Posted September 4, 2017 Author Share Posted September 4, 2017 I'm unable to find/access music media from actions, is there something to be done by the dealer? Link to comment Share on other sites More sharing options...
dcovach Posted September 4, 2017 Share Posted September 4, 2017 @Zuhair https://www.control4.com/for/owners Page 42 shows a photo of how to select media in a room. Hopefully your dealer set up an audio pathway for any digital media in this list to each room. Link to comment Share on other sites More sharing options...
VINCELdUB Posted September 4, 2017 Share Posted September 4, 2017 Don't select my music. Select the room, then select music. Happy Automating!! Link to comment Share on other sites More sharing options...
knowitall Posted September 4, 2017 Share Posted September 4, 2017 Just found out my NAS is offline, so i get to mess with that now But as pictured above goto the room you want to start in and select the track, then activate the media scene based off that room, created a 10 minute timer to dactivate the scene when complete. If you really want to get complex, you can use the snapshot driver to revert everything back to what it was doing prior to the event. (removed extra picture, which turned out to be the wrong picture, so i put the right one back in) Link to comment Share on other sites More sharing options...
Zuhair Posted September 5, 2017 Author Share Posted September 5, 2017 Hi @knowitall I tried the above code, the music keeps looping Link to comment Share on other sites More sharing options...
South Africa C4 user Posted September 5, 2017 Share Posted September 5, 2017 Your code looks fine... I would change the delays to 500ms not 50ms. Too short a delay may result in commands not happening although I don't see why that would cause music to loop. I assume the timer is 10 minutes and there is no event firing off on starting the timer and that you only run the macro once? Link to comment Share on other sites More sharing options...
Zuhair Posted September 5, 2017 Author Share Posted September 5, 2017 @South Africa C4 user @knowitall I changed the delays to 500ms. Yes, the timer is 10min and there is no event firing off on starting the timer. Yes running the macro once. Still looping Link to comment Share on other sites More sharing options...
knowitall Posted September 5, 2017 Share Posted September 5, 2017 How are you executing "prayer"? Link to comment Share on other sites More sharing options...
Zuhair Posted September 5, 2017 Author Share Posted September 5, 2017 The macro is being called by Schedule It driver. The loop is happening when the macro is executed through the driver or through the execute button. Link to comment Share on other sites More sharing options...
South Africa C4 user Posted September 5, 2017 Share Posted September 5, 2017 Try executing the macro from Composer HE (button near the top right) and see if the looping still happens. If that works fine then the problem lies in how your are using the ScheduleIt driver. Link to comment Share on other sites More sharing options...
Zuhair Posted September 5, 2017 Author Share Posted September 5, 2017 It's also looping when executing it through the button. I deleted the macro and rewrite it exactly the same. For an unknown reason, at least to me, it worked! Link to comment Share on other sites More sharing options...
knowitall Posted September 5, 2017 Share Posted September 5, 2017 you can add this line of code at the start as well just in case. There is really no way to tell if it's on or off as far as i know. good luck! Link to comment Share on other sites More sharing options...
dcovach Posted September 6, 2017 Share Posted September 6, 2017 2 hours ago, Zuhair said: It's also looping when executing it through the button. I deleted the macro and rewrite it exactly the same. For an unknown reason, at least to me, it worked! You have come a long way. Good job Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.