charger
Check EV charger availability (favorites, nearby search) via Google Places.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- charger
- metadata
- { "clawdbot": { "config": { "stateDirs": [ "config", ".cache" ], "requiredEnv": [ "GOOGLE_PLACES_API_KEY" ] } } }
- description
- Check EV charger availability (favorites, nearby search) via Google Places.
02 资源文件 2
- 参考文档_meta.json284 B
- 脚本scripts/charger-notify.sh1.8 KB
03 SKILL.md 正文
charger
Higher-level EV charger checker built on Google Places (New) EV charge data.
This skill includes a bin/charger CLI (Node.js) for checking charger availability.
Setup
-
Requirements:
- Node.js 18+ (Clawdbot already has Node)
GOOGLE_PLACES_API_KEY(recommended in~/.clawdbot/.env)
-
Put the CLI on your PATH (example):
ln -sf "$(pwd)"/bin/charger /home/claw/clawd/bin/charger
-
Add a favorite:
charger favorites add home --place-id <placeId>
Commands
-
Check a favorite / place id / query:
charger check homecharger check "Wien Energie Charging Station Liniengasse 2 1060 Wien"
-
Find nearby:
charger nearby --lat 48.188472 --lng 16.348854 --radius 2000 --max 10
Notifications
The recommended pattern is:
charger(this skill) produces a clearAny free: YES|NOresult.- A scheduled job (Gateway cron) runs a small helper that only prints output when it should notify.
Helper script (what actually decides to notify)
This bundle includes scripts/charger-notify.sh.
What it does:
- Runs
charger check <target> - If
Any free: YESand the last run was notYES, it prints a single notification line. - Otherwise it prints nothing.
So: no output = no notification.
State:
- Stores last state in
~/.cache/charger-notify/<target>.stateso it only notifies on the changeNO/UNKNOWN → YES.
Usage:
bash scripts/charger-notify.sh home
Example notification output:
EV charger available: Tanke Wien Energie Charging Station — Amtshausgasse 9, 1050 Wien, Austria — 1/2 available (OOS 0) (updated 2026-01-21T21:05:00Z)
Typical cron schedule (how you actually get Telegram pings)
Cron is the scheduler. It runs the helper script on a timer and sends you whatever the script prints. Because the helper prints only when it becomes available, you only get messages when it matters.
Check every 10 minutes:
*/10 * * * *
If you want me to wire this into Clawdbot Gateway cron (so you get Telegram pings), tell me:
- target (
home) - interval (every 5/10/20 min)
- quiet hours (optional)
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.