← 返回
数据分析 Key 中文

check charger availbility

Check EV charger availability (favorites, nearby search) via Google Places.
通过 Google Places 查看电动汽车充电器可用性(收藏夹/附近搜索)
borahm
数据分析 clawhub v1.0.1 1 版本 99875.8 Key: 需要
★ 1
Stars
📥 2,393
下载
💾 59
安装
1
版本
#latest

概述

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

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
  • 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/.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)

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 14:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Recipe to List

borahm
将食谱转化为 Todoist 购物清单。通过 Gemini Flash 视觉识别食谱图片或抓取网页内容提取食材,依据同义词与重叠规则与现有购物项目比对去重,自动跳过盐和胡椒等基础调料,并在单位一致时合并数量。同时将烹制过的食谱保存至工作区食
★ 0 📥 2,878
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,723
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,164