返回顶部
e

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,950
下载量
1
收藏
概述
安装方式
版本历史

emporia-energy

# 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_EMAIL` - `EMPORIA_PASSWORD` Optional: - `EMPORIA_SCALE` (`MINUTE`, `SECOND`, `MINUTES_15`, `DAY`, `MONTH`) - defaults to `MINUTE` ### ESPHome mode - `ESPHOME_HOST` - `ESPHOME_PORT` (optional, default `6053`) - `ESPHOME_API_KEY` (Noise PSK, base64) or `ESPHOME_PASSWORD` (legacy) ## Configuration steps Cloud: 1. Set `EMPORIA_MODE=cloud`. 2. Set `EMPORIA_EMAIL` and `EMPORIA_PASSWORD`. 3. (Optional) Set `EMPORIA_SCALE` to control power vs energy units. 4. Run `list` first to confirm channels, then `summary` or `circuit <name>`. ESPHome: 1. Ensure the device is flashed with ESPHome and on your LAN. 2. Set `EMPORIA_MODE=esphome`. 3. Set `ESPHOME_HOST` to the device IP/hostname (not Home Assistant). 4. If the ESPHome node uses encryption, set `ESPHOME_API_KEY` (base64 Noise PSK). 5. Run `list` first to confirm channels, then `summary` or `circuit <name>`. ## Commands The scripts accept: - `summary` (default) - `list` - `circuit <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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 emporia-energy-1776379217 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 emporia-energy-1776379217 技能

通过命令行安装

skillhub install emporia-energy-1776379217

下载 Zip 包

⬇ 下载 emporia-energy v1.0.0

文件大小: 7.13 KB | 发布时间: 2026-4-17 15:44

v1.0.0 最新 2026-4-17 15:44
Initial release: Emporia cloud (PyEmVue) and ESPHome local scripts, requirements, example env/config, and packaging support.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部