Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xPL x10 basic support (input from Roger on mailing list) #130

Merged
merged 2 commits into from
Apr 14, 2013

Conversation

hollie
Copy link
Owner

@hollie hollie commented Mar 18, 2013

I send in this pull request after Roger requested to commit his proposed change to support x10basic xPL messages.

The only change I made compared to the input from Roger is that I added the code so a separate file. In my opinion, adding everything to xPL_Items.pm does not help in keeping the code structured and maintainable.

I did some basic testing on this code, however, I don't have actual hardware to test this on. I think the code is missing a bit that allows you to click an item in the web interface to toggle its status. Now you really need to call $item->send_on() to cause the xPL message to be generated.

This pull request is based on an email that was sent on the list. The original developer is Roger Simon.

I only did basic testing on this code (as in: I added an item in my mht file and saw it showed up in the web interface and it didn't crash misterhouse).

I think this code is missing default on/off states for X10Basic items?
Confirmed that with the proposed syntax in the mht file the following message is generated when $device->send_on() is called:

[xpl-cmnd/x10.basic: mhouse-mh.misterhouse -> hollie-x10gate.downstairs - on uplight]
hollie added a commit that referenced this pull request Apr 14, 2013
Add xPL x10 basic support (input from Roger on mailing list)
@hollie hollie merged commit 1c5e62c into master Apr 14, 2013
@hollie hollie deleted the add_xpl_x10_support branch April 14, 2013 17:48
@hollie hollie mentioned this pull request Jun 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant