Skip to content
Back to skills

Charger

ASecurity

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

  • 33 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
toolsgobashnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill charger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Charger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Charger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-charger/badge)](https://www.skillsdirectory.com/skills/dvcrn-charger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: charger
description: "Check EV charger availability (favorites, nearby search) via Google Places."
---

# 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 you get Telegram pings), tell me:
- target (`home`)
- interval (every 5/10/20 min)
- quiet hours (optional)

Files in this skill

  • SKILL.md2.2 KB
  • scripts/charger-notify.sh1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.