find this section in the smartapp, and uncomment the log debug, this should list all you devices on the account
def devicesList() {
logErrors([]) {
def resp = apiGET("subdevices/list")
//log.debug "device list '$resp.data'"
if (resp.status == 200) {
state.data = ' '
state.data = resp.data
//log.debug "device states '${state.data}'"
return resp.data.data
}
else {
log.error "Non-200 from device list call. ${resp.status}" // ${resp.data}"
state.data = null
return []
}
}
}
like this
debug device list '[data:[[aggregated_daily_at:2019-02-10T18:17:28.000Z, aggregated_hourly_at:2019-02-11T13:54:23.000Z, container_number:null, controlling_thermostat_id:null, created_at:2018-03-15T18:17:28.000Z, device_groups:[[id:8754, name:All, user_id:8332]], device_id:983, device_type:etrv, disconnected_at:null, energenie_thermostat_id:null, extra_data:null, firmware_version:null, frequency:null, hardware_version:null, id:122977, **label:**Front room SMALL eTRV, last_diagnostic_flags:[created_at:2019-02-09T02:09:48.000Z, diagnostic_flags:512, id:261968, subdevice_id:122977, updated_at:2019-02-09T02:09:48.000Z], last_temperature:17, nest_thermostat_id:null, notifications_enabled:true, optimise_warm_up_schedule:false, parent_device_last_seen_at:2019-02-11T14:45:38.000Z, power_state:0, power_state_1:null, power_state_2:null, power_state_3:null, power_state_4:null, rate_limit_tokens_updated_at:null, rate_limit_tokens_used:null, reactive_power:null, real_power:null, remote_id:1, side:null, socket1_label:null, socket2_label:null, socket3_label:null, socket4_label:null, startup_mode:0, target_temperature:30, timer1_enabled:null, timer1_friday:null, timer1_monday:null, timer1_off_time:null, timer1_on_time:null, timer1_saturday:null, timer1_sunday:null, timer1_thursday:null, timer1_tuesday:null, timer1_wednesday:null, timer2_enabled:null, timer2_friday:null, timer2_monday:null, timer2_off_time:null, timer2_on_time:null, timer2_saturday:null, timer2_sunday:null, timer2_thursday:null, timer2_tuesday:null, timer2_wednesday:null, timer3_enabled:null, timer3_friday:null, timer3_monday:null, timer3_off_time:null, timer3_on_time:null, timer3_saturday:null, timer3_sunday:null, timer3_thursday:null, timer3_tuesday:null, timer3_wednesday:null, updated_at:2019-02-11T13:55:42.000Z, voltage:2.82812, voltage_reported_at:2019-02-11T11:55:06.000Z], [aggregated_daily_at:2019-02-10T18:26:30.000Z, aggregated_hourly_at:2019-02-11T14:21:04.000Z, container_number:null, controlling_thermostat_id:null, created_at:2018-03-15T18:26:30.000Z, device_group…[TRUNCATED]