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 Support for Update_Flags and Update_OnLevel/RampRate for I2 Devices #242

Merged
merged 6 commits into from
Aug 9, 2013

Conversation

krkeegan
Copy link
Collaborator

  • Moves a bunch of routines that were improperly in BaseInsteon into Lighting.
  • Adds support for update_local_properties for I2 devices
  • Adds support for update_flags for I2 devices. NOTE in order to support the syntax used by this routine for older devices, the addition is a bit odd in that it requires the user to pass a hexadecimal flag, but it does not require any change in current user code.

Closed #237

…perties

Moved to the more appropriate DimmableLight class
- Added necessary messages.
- Relocated definition of extended_get_set to BaseObject as multiple objects use this
- Added some better descriptions of the functions
…rt to update_flags

- Update flags belongs in the Keypadlinc class as it only works on these devices
- Condensed the set routine from Keypadlinc and KeypadlincRelay into Keypadlinc
- Added I2 support to update_flags
- - In order to support the old version of update_flags, the manner in which the routine works is a little odd as users have to pass a hexadecimal flag to the routine.  This could obviously be changed or supplemented in the future.
@krkeegan
Copy link
Collaborator Author

One more thing, I don't own any I2 keypadlincs, so I can only guess that the changes to update_flags will work on them. They don't throw any errors on I1 devices, but they don't do anything. If someone else could test and report on this I would appreciate it.

@ghost ghost assigned krkeegan Jul 31, 2013
Conflicts:
	lib/Insteon/BaseInsteon.pm
	lib/Insteon/Lighting.pm
krkeegan added a commit that referenced this pull request Aug 9, 2013
Add Support for Update_Flags and Update_OnLevel/RampRate for I2 Devices
@krkeegan krkeegan merged commit f6d0d68 into hollie:master Aug 9, 2013
@krkeegan krkeegan deleted the fix_issue_237 branch August 9, 2013 23:31
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.

1 participant