Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Feature Requests
 PowerHome Messageboard : PowerHome Feature Requests
Subject Topic: Devices Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: October 18 2003 at 17:22 | IP Logged Quote TonyNo

Is there a way to create virtual devices (i.e. be able to treat the system volume as a dimmable device and have it show up, say, in the X-10 status window)?

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 20 2003 at 09:49 | IP Logged Quote dhoward

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.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: October 20 2003 at 20:32 | IP Logged Quote TonyNo

Cool! I should have thought of that!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum