cdepaola Posted February 3, 2014 Share Posted February 3, 2014 So here is the scenario: Walk into a room, double tap a keypad to turn the room on bringing down the screen, turning on the PJ and selecting the computer as the source. I also want to send a Wake on LAN command but don't want it to fire every time a source is changed. I originally placed the programming under: When power State Changes If power state = false Send WOL However the room turning on happens first then this fires, or doesn't fire as the room is already on. So I then moved it to my macro that fires when the video source changes again with a power state conditional of false. This has the same issue. Basically I only want to send a WOL command when the room goes from off to on, not every time we change sources. Where is the best place to catch this or is there a better way to accomplish this? Sometimes I find myself wanting more programming option like now. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
ILoveC4 Posted February 3, 2014 Share Posted February 3, 2014 Use a variable. If the variable is true, fire WOL. Have the variant switch 5 seconds after the room turns on. Does that make sense? Sent from my Droid MAXX via Tapatalk. Link to comment Share on other sites More sharing options...
THEORY Posted February 3, 2014 Share Posted February 3, 2014 What does it matter if you send WOL all the time, if it's already awake you won't wake it up even more. Link to comment Share on other sites More sharing options...
cdepaola Posted February 3, 2014 Author Share Posted February 3, 2014 Haha... When your laying in bed on a Sunday morning and someone keeps yelling at you to wake up do you like it? Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
ILoveC4 Posted February 3, 2014 Share Posted February 3, 2014 What does it matter if you send WOL all the time, if it's already awake you won't wake it up even more.That's true too. I figured it was causing you problems of some sort sending it all the time. Sent from my Droid MAXX via Tapatalk. Link to comment Share on other sites More sharing options...
cdepaola Posted February 3, 2014 Author Share Posted February 3, 2014 Use a variable. If the variable is true, fire WOL. Have the variant switch 5 seconds after the room turns on. Does that make sense?Sent from my Droid MAXX via Tapatalk.Yeah makes sense... Set a variable when the room turns off and don't change it's state to on until after the WOL command is sent. Seems like catching a room turning on and off should be built in. Not just "when power state changes" but "when power state changes to true/false"But this works as well.Thanks! Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
CFUG Posted February 4, 2014 Share Posted February 4, 2014 I love the fact my central computer stays up 24/365. Always there, always up-to-date. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.