Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: (Mostly OT) Using a remote with perl?

by BUU (Prior)
on Apr 07, 2004 at 21:28 UTC ( [id://343438]=note: print w/replies, xml ) Need Help??


in reply to Re: (Mostly OT) Using a remote with perl?
in thread (Mostly OT) Using a remote with perl?

This looked interesting, but when I looked at Misterhouse it only had a few events listed from x10 remotes:
  XM1MK
  X - every command will start with this
  M1 - the house code and unit
  MK - the house code and the command

  K here might be any of the following:
    J    - ON
    K    - OFF
    L    - brighten
    M    - dim 
    dd%  - Sets module to this brightness level
    +-dd - Bright/dims by this amount
It doesn't seem like just these events would be enough to program a decent interface.
  • Comment on Re: Re: (Mostly OT) Using a remote with perl?

Replies are listed 'Best First'.
Re: Re: Re: (Mostly OT) Using a remote with perl?
by blahblahblah (Priest) on Apr 08, 2004 at 05:09 UTC
    I have an x10 RF remote (part of the boom2000 kit) hooked up to my windows machine. It has a setup screen which lets you assign functions to all of the buttons on the remote. I guess Mr. House just chose not to use them?

    There's some perl code for listening to x10 remotes in Talking Winamp RF remote control. I've never gotten around to trying it though.

Re: Re: Re: (Mostly OT) Using a remote with perl?
by andreychek (Parson) on Apr 08, 2004 at 14:31 UTC

    I think you can still do what you want. In setting up X10, you would set your remote for a particular "House Code", by default it's set to "A". Within each House Code, you have 16 Unit Code's that you can use.

    And then, within each Unit Code, you have the ability to turn it on, off, brighten, and dim.

    What I would probably do is make it so that pressing "Unit Code #1 On" in the remote has xmms start playing. "Unit Code #2 On" would go forward a song, "Unit Code #3 On" would go back a song, etc.

    Good luck

    -Eric


    --
    Lucy: "What happens if you practice the piano for 20 years and then end up not being rich and famous?"
    Schroeder: "The joy is in the playing."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://343438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-18 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found