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: Update Support for RemoteLinc #207

Merged
merged 18 commits into from
Jun 1, 2013

Commits on May 10, 2013

  1. Insteon_Remotelinc: Added Ability to Set Awake Time and To Request Ba…

    …ttery Status
    
    The following likely only works for i2cs devices, I think all Remotelinc 2 devices are i2cs?  It at least works on rev 1.4.
    
    - set_awake_time sets = sets the time in seconds that the remote will remain awake after sending a command.  The default is 4, it can be set up to 254 seconds, with 255 being always awake.
    
    - get_extended_info = is primarily added to get the battery level.  Battery level is returned as a byte, but the number does not immediately make sense.  I will have to let the batter run down some to better understand what it means.
    
    At the moment, I have the code set to call get_extended_info whenever the all_link_report is received.  This report represents the last message sent by the device before the awake time begins to run.  In the future, an additional function can be added to only call get_extended_info if it hasn't been called in x hours.
    
    N.B. in order for set_awake_time to work properly, the engine version of the device must be known.
    
    hollie#172
    krkeegan committed May 10, 2013
    Configuration menu
    Copy the full SHA
    43298d1 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2013

  1. Configuration menu
    Copy the full SHA
    970c334 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b89d698 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2fb74c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    42ec1da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05e702f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3d70f5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    78db98b View commit details
    Browse the repository at this point in the history
  8. Insteon_Remotelinc: Change Battery Level to Volts; Cleanup Coding Errors

    I think that the battery level is reported is volts * 50.  Online it lists the battery voltage as 3.7 and I am getting numbers like 177 right now.  Finally, one stray comment from Insteon suggested that they believe 0xA3 or 163 to be the low voltage warning level.
    krkeegan committed May 11, 2013
    Configuration menu
    Copy the full SHA
    2f14a4b View commit details
    Browse the repository at this point in the history
  9. Insteon_RemoteLinc: Add RemoteLinc_Battery Object

    This is a generic object that is "tied" to the battery events in the parent RemoteLinc.  It can be used to display the battery voltage on the RemoteLinc on the MH web page or to directly tie events to rather than using the low_battery_event code.
    krkeegan committed May 11, 2013
    Configuration menu
    Copy the full SHA
    d77f037 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    58dffe5 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2013

  1. Insteon_RemoteLinc: Remove Low Battery and Event Routines

    No need to reinvent the wheel, low batter events can be tracked using the child objects and tied events
    krkeegan committed May 16, 2013
    Configuration menu
    Copy the full SHA
    2e2079f View commit details
    Browse the repository at this point in the history

Commits on May 24, 2013

  1. Configuration menu
    Copy the full SHA
    ed84054 View commit details
    Browse the repository at this point in the history
  2. Insteon_RemoteLinc: Only Send Battery Request Once

    If the device doesn't hear the first request, it won't be awake to hear subsequent ones.  Sending subsequent messages only slows things down.
    krkeegan committed May 24, 2013
    Configuration menu
    Copy the full SHA
    2f18a35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3da8df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a3e8b4 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2013

  1. Configuration menu
    Copy the full SHA
    43f3030 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9f3fb8 View commit details
    Browse the repository at this point in the history