تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

charger

بواسطة borahm

Transportation
1.8kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

CLI for checking EV charger availability using Google Places data. Supports saved favorites, nearby coordinate searches, and direct place lookups by ID or name. A companion notification script outputs only when a charger transitions from unavailable to available, making it suitable for cron-based alerting.

The notification helper fires exactly once per NO-to-YES state change rather than on every poll, so cron-based alerts stay actionable without noise.

متى تستخدمها

  • Checking if a home charging station is free before leaving work
  • Finding open chargers within a set radius of a current location
  • Getting a Telegram ping the moment a busy public charger opens up
  • Monitoring a workplace charging spot during peak hours
  • Scanning nearby chargers when visiting an unfamiliar city

مثال على سير العمل

الإدخال

User asks: alert me when the charger near my apartment becomes available

الوكيل
  1. 1

    Add the charger as a saved favorite: charger favorites add home --place-id <placeId>

  2. 2

    Verify current status: charger check home

  3. 3

    Run charger-notify.sh, which checks availability and prints output only when state changes from NO to YES

  4. 4

    Schedule charger-notify.sh in cron at */10 * * * * to poll every 10 minutes

  5. 5

    Wire cron output to Clawdbot Gateway so a Telegram message arrives only when the charger opens

الإخراج

EV charger available: Wien Energie Charging Station — Amtshausgasse 9, 1050 Wien, Austria — 1/2 available (OOS 0) (updated 2026-01-21T21:05:00Z)

المتطلبات

  • GOOGLE_PLACES_API_KEY from Google Cloud Console with the Places API (New) enabled

التثبيت

clawhub install borahm/charger

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط