Using GPT to Analyze IAMMETER Cloud Energy Data
π Introduction
This tutorial demonstrates how to connect your IAMMETER Cloud account to ChatGPT (or the IAMMETER Assistant), retrieve your smart energy meter data via IAMMETERβs open API, and automatically generate an AI-powered energy optimization report.
It works for all IAMMETER products, including:
- π WEM3080 β Single-phase home energy monitor
- βοΈ WEM3080T / WEM3080TD β Three-phase energy meters
- βοΈ Solar PV monitoring systems
π§© Step 1 β Preparation
1οΈβ£ Log in to IAMMETER Cloud
π https://www.iammeter.com/login
2οΈβ£ Get Your API Token
After logging in, click your profile icon (top-right corner)
Choose βSettings->Tokenβ
Copy your token β it looks like this (example only):
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3οΈβ£ Connect to GPT
In ChatGPT (or IAMMETER Assistant), type:
My IAMMETER API Token is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GPT will connect to your IAMMETER Cloud account and list all available sites and meters.
βοΈ Step 2 β Retrieve Site and Meter Information
GPT will return an overview like this:
| Site Name | Type | Real-Time Power | Monthly Energy | PV Enabled |
|---|---|---|---|---|
| Home Energy Monitor | Single phase | 2400 W | 272 kWh | No |
| Solar PV System | PV | β870 W | 211 kWh | β Yes |
π Step 3 β Select a Site to Analyze
Tell GPT:
I want to analyze the Home Energy Monitor site
GPT will ask for your meter serial number (SN). You can find it in IAMMETER Cloud β Device List, for example:
70B3D5XXXXXX
π Step 4 β Run the Power Analysis
GPT will call the official IAMMETER Cloud API endpoint: π System API Documentation
Example:
GetPowerAnalysis(sn="70B3D5XXXXXX", startTime="2025-11-21", endTime="2025-11-28")
Example result:
| Metric | Value |
|---|---|
| Average Power | 497.2 W |
| Maximum Power | 5598 W |
| Minimum Power | 64 W |
| Average Daytime Power | 480.8 W |
π± Step 5 β Example AI Energy Optimization Report
Below is an example GPT-generated energy efficiency report based on IAMMETER Cloud data.
β‘ Household Energy Insights
- Average load β 500 W
- Higher night-time load β likely from water heater or air conditioner
- Peak load up to 5.6 kW β short high-consumption events detected
π‘ Optimization Suggestions
| Category | Recommendation | Potential Savings |
|---|---|---|
| Standby Power | Turn off idle plugs with smart sockets | ~8β10% |
| Water Heater Control | Schedule operation at off-peak or solar hours | ~10β15% |
| Peak Load Management | Avoid running multiple heavy devices at once | ~5β8% |
Total saving potential: β 20β25% (β 1,700 kWh/year, β $120β150 USD)
π§ Step 6 β Optional Smart Control Integration
You can combine IAMMETER data + AI insights for automated control using open platforms:
| Platform | Description |
|---|---|
| π Home Assistant | Real-time control via MQTT integration |
| π§© Node-RED | Build smart logic flows (e.g., cut power above 3 kW) |
| βοΈ ThingsBoard | Create dashboards and forecast trends |
| π WPC3700 Wi-Fi Power Controller | Use PV surplus energy for heating control |
π Step 7 β Summary
| Step | Action | GPT Capability |
|---|---|---|
| 1 | Obtain API Token | Authenticate user |
| 2 | Connect to IAMMETER Cloud | List sites and meters |
| 3 | Provide Meter SN | Identify device |
| 4 | Run Power Analysis | Retrieve power data |
| 5 | Generate Report | AI-based energy insights |
| 6 | (Optional) Integrate Control | Enable automation |
π Example Data Source
- IAMMETER Cloud account (demo user)
- Site: Home Energy Monitor
- Meter SN: 70B3D5XXXXXX
- Date Range: 2025-11-21 β 2025-11-28
β Benefits of IAMMETER + GPT Integration
- Zero-code AI energy analytics
- Instant optimization reports for homeowners
- Seamless connection between IoT metering and AI decision-making