Posted: October 20 2003 at 09:49 | IP Logged
|
|
|
Tony,
Should be able to do it, although not automatically.
I would create a new macro that accepts a parameter and use that to set to always set the system volume. You would call this new macro with ph_macroparm. In this macro, I would update a virtual X-10 device with whatever setting is requested. You would only have a resolution of 0 to 100 however. As long as you always call this macro, that would handle changing the volume from within PowerHome.
Next I would create a trigger that is fired when the virtual device is changed. This trigger would call the Set System Volume function directly (you wouldnt want to set the Virtual X-10 twice). Now the volume can be changed from within the X-10 status window.
The last thing I would possibly do is create a timed event that is fired every 10 seconds, etc. that checks the current System Volume and updates the Virtual X-10 appropriately in case the volume is changed outside of PowerHome.
Messy...but should work for you.
Dave.
|