TopRank Skills

Home / Claw Skills / Bot / charger
Official OpenClaw rules 38%

charger

Check EV charger availability (favorites, nearby search) via Google Places.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 charger 技能。 若已安装,则直接安装 charger 技能。

Overview

Skill Key
borahm/charger
Author
borahm
Source Repo
openclaw/skills
Version
-
Source Path
skills/borahm/charger
Latest Commit SHA
7d157afb8354a64943e91d82161f23b7c72628f0

Extracted Content

SKILL.md excerpt

# 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 home`
  - `charger 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:

1) `charger` (this skill) produces a clear `Any free: YES|NO` result.
2) 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: YES` **and** the last run was not `YES`, it prints a single notification line.
- Otherwise it prints **nothing**.

So: **no output = no notification**.

State:
- Stores last state in `~/.cache/charger-notify/<target>.state` so it only notifies on the change `NO/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 yo...

Related Claw Skills