Lumenhaus Energy

v0.1.0
io.github.zhuyu1022/lumenhaus-energy-mcp Checked 1 day ago Published 1 month ago

Read-only MCP server for Lumenhaus Energy sites, devices, charging sessions, and energy history.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_sites

Use this tool when the user explicitly asks which sites are accessible or needs to choose among them; it returns the complete list of owned and shared sites. Return the site list without a site dashboard. Use get_site_dashboard separately only when the user also asks for a specific site's identity, location, current overview, energy summary, status, or component health. Do not add a dashboard just because the user asked for all sites. Do not use a site dashboard for raw JSON or site energy history.

get_site_overview

Raw site overview response containing homepage, weather, and component health data. For ordinary user-facing questions explicitly about a default or selected site's identity, location, current overview, status, or health, use get_site_dashboard. Device-focused requests, including device details or device history scoped to a site, should use the corresponding device tool and must not include a site dashboard unless the user also asks for site-level information. Use this tool only when the user explicitly requests the raw overview response or these individual payloads. This tool does not change…

ParameterTypeDescription
site_idinteger
start_timestring

list_site_devices

List the energy devices bound to the selected or default site. Return this device list on its own; do not call get_site_dashboard just because the request names a site or asks which devices it contains. If the user separately asks for site-level identity, location, current overview, energy summary, status, or health, also call get_site_dashboard. For a specific device's details or status, use get_device_dashboard without a site dashboard unless site-level information was separately requested.

ParameterTypeDescription
site_idinteger

get_device_details

Read full raw JSON details for a SunSaver, SunMini, SunCharger, SunHeater, or Shelly Plug. Use this tool only when the user explicitly asks for raw data, JSON, or the backend response; for ordinary device details, always prefer get_device_dashboard so the client can render the read-only UI. No configuration or control route is called.

ParameterTypeDescription
device_id *integer
device_type *string
detail_typestring
site_idinteger
start_timestring

get_site_energy_history

Read the app's site-level combined, energy, or power chart for a supplied start time. This is a dedicated historical data query and returns its chart payload as text; ordinary questions about site information or current status should use get_site_dashboard to return the site UI panel.

ParameterTypeDescription
chart *string
start_time *string
site_idinteger

get_sunsaver_energy_history

Read raw SunSaver battery-energy chart data for an app-supported day, week, month, or year period. For ordinary chart viewing, prefer get_device_dashboard so the client can render the UI.

ParameterTypeDescription
end_time *string
period *string
start_time *string
site_idinteger

get_sunsaver_soc_history

Read a SunSaver device's raw state-of-charge curve for a supplied time interval. For ordinary chart viewing, prefer get_device_dashboard so the client can render the UI.

ParameterTypeDescription
device_id *integer
end_time *string
start_time *string

get_sunmini_energy_history

Read raw SunMini battery energy history using the app's day, week, month, or year query model. For ordinary chart viewing, prefer get_device_dashboard so the client can render the UI.

ParameterTypeDescription
end_time *string
period *string
start_time *string
site_idinteger

get_suncharger_energy_history

Read a SunCharger’s completed-charge energy statistics for the app-supported weekly, monthly, or yearly period.

ParameterTypeDescription
device_id *integer
end_time *integer
period *string
start_time *integer

get_suncharger_power_history

Read raw SunCharger rapid-charge or smart-plan power data. The app backend defines the window; this tool never starts or stops charging.

list_charger_sessions

List completed standard or smart charge sessions for one SunCharger. Results are paginated and read-only.

ParameterTypeDescription
device_id *integer
session_type *string
pageinteger
page_sizeinteger

get_charger_session_details

Read a completed standard or smart charge session's full backend record. It never calls start, stop, or validation endpoints.

get_heatpump_energy_history

Read a SunHeater energy chart for a supplied app-supported period.

ParameterTypeDescription
device_id *integer
end_time *string
period *string
start_time *string

get_heatpump_hot_water_temperature_history

Read the raw hot-water temperature chart returned by the SunHeater backend. Its interval is defined by that backend endpoint.

ParameterTypeDescription
device_id *integer

get_shelly_plug_energy_history

Read a Shelly Plug energy chart for an app-supported day, week, month, or year period.

ParameterTypeDescription
device_id *integer
end_time *string
period *string
start_time *string

get_device_dashboard 设备详情仪表盘

Preferred default for device-focused requests to view one device's details, status, or energy charts. Render a read-only SunSaver, SunMini, SunCharger, SunHeater, or Shelly Plug detail dashboard with the Android app's supported chart periods. A site_id supplies device context and does not imply a site dashboard; do not call get_site_dashboard for a device-only request. If the user explicitly asks for both site-level information and device details, return both the site and device panels. Always call this before raw detail/history tools unless the user explicitly asks for raw JSON. Falls back to…

ParameterTypeDescription
device_id *integer
device_type *string
anchor_datestring
periodstring
site_idinteger

get_device_dashboard_data 刷新设备仪表盘数据

Refresh a device dashboard's read-only status and selected chart period. This tool is reserved for the embedded dashboard.

ParameterTypeDescription
device_id *integer
device_type *string
anchor_datestring
periodstring
site_idinteger

get_site_dashboard 站点仪表盘

Use this only for explicit site-level consultations: the user asks about a site's identity, location, current overview, energy summary, status, component health, or explicitly requests its dashboard. If a named site must be resolved, call list_sites first and pass its siteId. Do not call this just because a request mentions a site, asks for the account's site list, lists a site's devices, or asks for a device's details/status/history. For those requests, return the corresponding list or device panel. If the user explicitly asks for both site-level information and device details, return both pa…

ParameterTypeDescription
site_idinteger

get_site_dashboard_data 刷新站点仪表盘

Refresh the selected site's read-only energy flow, component health, and supported device card snapshot. This tool is reserved for the embedded dashboard.

ParameterTypeDescription
site_idinteger