Skip to content
Docs menu

Back to all methods

getDeviceSolarData

read

the only raising method in this group: throws `GarminConnectionError` if the response is falsy or missing the `deviceSolarInput` key; returns `resp.deviceSolarInput`, NOT the envelope. `enddate` defaults to `startdate`, and `singleDayView` is sent `"true"` exactly when `enddate` was omitted

getDeviceSolarData(deviceId, startdate, enddate?)
ParameterTypeOptionalDescription
deviceIdnumber | stringnoNumeric id
startdatestringnoCalendar date, YYYY-MM-DD (UTC)
enddatestringyesCalendar date, YYYY-MM-DD (UTC)

In Claude this is the get_device_solar_data tool.

Guide: devices