     @_api.command _.extend(baseCommand, params) # Returns a promise
 
   _handleCommandReceived: (cmd) ->
-    @log 'verbose', "Received Insteon command for device #{cmd.device_insteon_id}"
+    @log 'verbose', "Received Insteon command: #{JSON.stringify(cmd)}"
     node = @_nodesByHexId[cmd.device_insteon_id]
     proxyFor = @get('proxyDevices')[node.id]
     if proxyFor?

      @hasDiscovered = true
      @setValid true
      if @get('initialStatusCheck') then @requestAllDevicesStatus()

  requestAllDevicesStatus: ->
    ids = _.without(_.keys(@_nodesById), _.keys(@get('proxyDevices'))...)
    interval = @get('batchCommandInterval')
    @log 'debug', "Requesting status of #{ids.length} devices " +

  name: "Insteon Cloud"
  defaults:
    initialStatusCheck:   true # Check status on all devices upon connection?
    statusCheckInterval:  900  # Time between automatic status refreshes
                               # in seconds. Set null to disable.
    batchCommandInterval: 2000 # How long to wait between repeated commands (ms)
    proxyDevices:         {}   # Set "deviceId1": "deviceId2" to redirect all
                               # status messages from the key device to the
