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

Insteon: Add Support for IOLincs #206

Merged
merged 34 commits into from
Jun 1, 2013
Merged

Conversation

krkeegan
Copy link
Collaborator

@krkeegan krkeegan commented Jun 1, 2013

Adds actual support for IOLincs with the following features:

  • Link to the sensor so that MH can receive automatic state changes
  • Support request_status for both relay and sensor
  • Setting of momentary time for the relay
  • Enable/Disable relay linked to sensor
  • Enable/Disable trigger reversal
  • Setting of the relay mode (latching, A-C)

pelle8 and others added 30 commits April 10, 2013 14:29
The sensor is a seperate "group" item on the device, it is capable of having its own links and will send alllink broadcasts when it changes state.  Therefore, the sensor should be defined as a seperate object.

The code as committed works, to get the status of either object simply call request_status() on the relevant object.

ToDo:
- Add voice commands for the sensor
- Add the ability to set the few bits that exist
Made operating flags similar to message types in that they can be individually set for each class.
Allow each class to set its own flags.
…lags

There is really no need for intermediate setting and writing.
1. Push operating_flags hash into object hash so it can be altered in different classes
2. Make set_operating_flags i2 compatible.  It is the exact same command just turned into an extended message full of 000s.  I have noticed this is used by the i2 iolinc and the i2 thermostat I have.  I would bet all other i2 devices, such as switchlincs, follow the same procedure.
msg(extra) has to be turned into a number first.
Kinda dumb, but setting One Relay Mode will not turn off another, so just turn off unused each time set.
…insteon_iolinc

Conflicts:
	lib/Insteon/BaseInsteon.pm
krkeegan added a commit that referenced this pull request Jun 1, 2013
Insteon: Add Support for IOLincs
@krkeegan krkeegan merged commit 232071e into hollie:master Jun 1, 2013
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants