Jump to content

jrover

Members
  • Posts

    20
  • Joined

  • Last visited

jrover's Achievements

Newbie

Newbie (1/6)

0

Reputation

  1. Running disabled programs works like a charm. Most of my notification programs are disabled programs that are run by other functions. Another nice use of a disabled program is when you want a timer to run without state variables affecting its operation (empty if statement, timer in then) Another technique is to enable/disable programs programmatically. I think of it as "arming" the programs, then when the program runs you can "disarm" it at the end of itself or could disable it based on some timer or other state. I use this as part of my garage door / entry programming. When the garage door goes up, it enables a program that detects when you open/close the mud room door (garage/main house door) and when you do, turns on a kitchen light on open and shuts off the garage light on close. But I only want this program to run when you enter the house from the garage not when you're leaving the house via the garage. The delay between opening the garage door, then opening the mud room door, prevents me running via a disabled program directly.
  2. jrover

    Control Stereo?

    I used the YNC commands to make a remote using one of the 8-button Insteon RF remotes. The Yamaha remote with my receiver (RX-A1020) doesn't have a way to control volume when in party mode so it was annoying to have to switch between zones to equalize the volumes. Setting up a party remote makes it easy to equalize the volume and move them together all via RF in any room of the house. Pretty slick. (General Header information, then XML commands that follow are unique per network message) POST /YamahaRemoteControl/ctrl HTTP/1.1 Host: 192.168.100.120:80 User-Agent: Mozilla/4.0 Connection: Close Content-Type: application/x-www-form-urlencoded Content-Length: 105 (Unique Messages to: Turn on Party Mode, Select the Airplay Input, Equalize volume of Main and Zone2 zones, Volume up/down of both zones) On AirPlay -3501dB -3501dB -AND- Up -OR- Down (something stripped the actual cmds, trying the XML again:) <YAMAHA_AV cmd="PUT"><System><Party_Mode><Mode>On</Mode></Party_Mode></System></YAMAHA_AV> <YAMAHA_AV cmd="PUT"><Main_Zone><Input><Input_Sel>AirPlay</Input_Sel></Input></Main_Zone></YAMAHA_AV> <YAMAHA_AV cmd="PUT"><Main_Zone><Volume><Lvl><Val>-350</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Main_Zone></YAMAHA_AV> <YAMAHA_AV cmd="PUT"><Zone_2><Volume><Lvl><Val>-350</Val><Exp>1</Exp><Unit>dB</Unit></Lvl></Volume></Zone_2></YAMAHA_AV> <YAMAHA_AV cmd="PUT"><System><Party_Mode><Volume><Lvl>Up</Lvl></Volume></Party_Mode></System></YAMAHA_AV> <YAMAHA_AV cmd="PUT"><System><Party_Mode><Volume><Lvl>Down</Lvl></Volume></Party_Mode></System></YAMAHA_AV>
  3. Excellent - so there is a work around here. I hadn't thought to use "status >=1% AND status < 10%", etc. to specify ranges and save a variable to the current value in that way. I should be able to minimize the #/programs required based on these boundaries - so it's a welcome recommendation. Thank you!
  4. Is there a way to store the current state of a switchlinc dimmer to a variable? Also, is there a way to set a switchlinc dimmer to a variable? I use my switchlinc dimmers for notifications, so ideally I would like to capture the current state (off, on, or %on), notify via a flash off/on or on/off depending on the original state, then return the switchlinc dimmer to its original state (off, on, or %on).
×
×
  • Create New...