emporia-energy
Direct Emporia Vue energy queries via Emporia cloud (PyEmVue) or local ESPHome API, including guidance on choosing/configuring cloud vs local modes and running list/summary/circuit commands.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- emporia-energy
- metadata
- { "moltbot": { "os": [ "darwin", "linux", "win32" ], "emoji": "⚡", "requires": { "env": [ "EMPORIA_MODE" ], "bins": [ "python3" ] } } }
- description
- Direct Emporia Vue energy queries via Emporia cloud (PyEmVue) or local ESPHome API, including guidance on choosing/configuring cloud vs local modes and running list/summary/circuit commands.
02 资源文件 8
- 参考文档_meta.json284 B
- 资产文件assets/example.env295 B
- 参考文档references/README.md1.0 KB
- 参考文档requirements-cloud.txt16 B
- 参考文档requirements-esphome.txt22 B
- 脚本scripts/common.py2.1 KB
- 脚本scripts/emporia_cloud.py5.0 KB
- 脚本scripts/emporia_esphome.py3.7 KB
03 SKILL.md 正文
Emporia Energy Skill
Use the scripts in {baseDir}/scripts to query Emporia Vue data directly.
Modes are selected with EMPORIA_MODE:
cloud: Emporia cloud API via PyEmVue (like the Home Assistant integration)esphome: Local ESPHome API (for flashed devices)
Choose a mode (cloud vs local)
- Use cloud if your Emporia device is still on stock firmware or you want the simplest setup. Requires Emporia account credentials and internet access.
- Use esphome only if the device is flashed with ESPHome and on your LAN. Requires the device IP/hostname and native API access on port 6053.
If you are unsure whether the device is ESPHome-flashed, choose cloud mode.
Environment
Cloud mode
EMPORIA_EMAILEMPORIA_PASSWORD
Optional:
EMPORIA_SCALE(MINUTE,SECOND,MINUTES_15,DAY,MONTH) - defaults toMINUTE
ESPHome mode
ESPHOME_HOSTESPHOME_PORT(optional, default6053)ESPHOME_API_KEY(Noise PSK, base64) orESPHOME_PASSWORD(legacy)
Configuration steps
Cloud:
- Set
EMPORIA_MODE=cloud. - Set
EMPORIA_EMAILandEMPORIA_PASSWORD. - (Optional) Set
EMPORIA_SCALEto control power vs energy units. - Run
listfirst to confirm channels, thensummaryorcircuit <name>.
ESPHome:
- Ensure the device is flashed with ESPHome and on your LAN.
- Set
EMPORIA_MODE=esphome. - Set
ESPHOME_HOSTto the device IP/hostname (not Home Assistant). - If the ESPHome node uses encryption, set
ESPHOME_API_KEY(base64 Noise PSK). - Run
listfirst to confirm channels, thensummaryorcircuit <name>.
Commands
The scripts accept:
summary(default)listcircuit <name>
Usage
Cloud:
export EMPORIA_MODE=cloud
export EMPORIA_EMAIL="you@example.com"
export EMPORIA_PASSWORD="..."
python {baseDir}/scripts/emporia_cloud.py summary
ESPHome:
export EMPORIA_MODE=esphome
export ESPHOME_HOST="192.168.1.50"
export ESPHOME_API_KEY="base64-noise-psk"
python {baseDir}/scripts/emporia_esphome.py summary
Dependencies (pip by default)
Cloud:
python3 -m venv .venv
source .venv/bin/activate
pip install -r {baseDir}/requirements-cloud.txt
ESPHome:
python3 -m venv .venv
source .venv/bin/activate
pip install -r {baseDir}/requirements-esphome.txt
Optional: you can use uv instead of pip if preferred.
Output
Scripts emit JSON with:
- timestamp
- unit
- total (best-effort)
- top circuits
- channels used
Safety
- Never print secrets (passwords, tokens, keys).
- Do not make hardware or panel wiring recommendations.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.