Nodes/Comfyui-Kerykeion/Transit Data Calculator
ComfyUI Node

Transit Data Calculator

The 'sky right now' node for daily horoscopes

By Meisoftcoltd·Created 5 months ago·Updated 4 months ago· 0
Transit Data Calculator
    • transit_data_json
    target_year2024
    target_month1
    target_day1
    target_hour12
    target_minute0
    reference_cityMadrid

    Astrologically speaking, "transits" are where the sky is today - the current positions of the planets - and they're what every daily horoscope is built from. Transit Data Calculator is the Comfyui-Kerykeion node that answers "what's the sky doing right now (or on any date you pick)?" and hands you a Spanish JSON summary: all ten planets in their current signs, plus a simplified moon phase.

    It's the steady daily-driver of the pack. Where Natal Chart Calculator is about a person and Synastry Calculator is about a relationship, this one is about a moment.

    How it works

    The familiar three-step pipeline - geocode reference_city via Nominatim, resolve its timezone with timezonefinder, then build a kerykeion AstrologicalSubject with online=False so the actual planetary positions are computed locally via Swiss Ephemeris. The output JSON gives you:

    • posiciones_actuales - where each of the ten planets (sol, luna, mercurio, venus, marte, jupiter, saturno, urano, neptuno, pluton) sits in the zodiac, with sign names translated to Spanish.
    • fase_lunar - the moon phase, collapsed to four simplified buckets: Nueva, Creciente, Llena, Menguante.

    Note that simplification: kerykeion tracks eight fine-grained phases (Waxing Gibbous, Balsamic…), but this node deliberately folds them into the four you'd put on a calendar. If you need the nuance, this isn't the node - it's built for LLM-readable summaries, not astronomy nerds.

    The inputs that matter

    • target_year, target_month, target_day - the date whose sky you want. The years are clamped to 1900–2100.
    • target_hour, target_minute - the time of day. For transits the date is the main event, but the moon's exact phase and sign can shift within a day, so it's there if you care.
    • reference_city - the place. Transits are sky-wide, but the timezone resolution (and the moon-phase boundary) is location-sensitive, so you still give it a city. Needs internet - it's a live geocoder lookup.

    The single output

    • transit_data_json - a STRING. The natural wiring is the pack's signature move: pair it with Astro Current Date so year/month/day flow in automatically, then feed the JSON to an LLM node with a prompt like "You are a fortune teller. With these transits of the day, write a prediction." Result: a daily-horoscope pipeline that updates itself without you touching a widget.

    Installing it

    Standard pack install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Meisoftcoltd/Comfyui-Kerykeion
    cd Comfyui-Kerykeion
    pip install -r requirements.txt
    

    or "ComfyUI-Kerykeion" through ComfyUI Manager, then restart. Same dependency set as the other calculators - all pip, no model files, chart math computed locally.

    Common issues

    • {"error": "Ciudad no encontrada..."} - the geocoder failed or the network is down. Transits are computed locally, but the location lookup isn't, so this node needs internet even though it's "offline mode" for the ephemeris.
    • Geocoding throttling. Every run is a Nominatim call; if you're looping it, expect rate-limit friction.
    • Only four moon phases. If you were expecting "Waxing Gibbous," you'll find "Creciente." It's a design choice for LLM consumption, not a bug.

    For "what does the sky look like today, in words an AI can write horoscopes from," this is the node - and chained to Astro Current Date it stays honest about what "today" means on every single run.

    CategoryComfyUI-Pitonisa

    Inputs (6)

    NameTypeDefaultDescription
    target_yearINT20241900–2100
    target_monthINT11–12
    target_dayINT11–31
    target_hourINT120–23
    target_minuteINT00–59
    reference_citySTRINGMadrid

    Outputs (1)

    NameTypeDescription
    transit_data_jsonSTRING