Przejdź do treści
Biblioteka skilli
Inne · Budowanie i kod

rinho-config

/rinho-config

Konfiguruje trackery GPS Rinho, pisze reguły, timery, limity prędkości i wysyła urządzenie na platformę Wialon lub Traccar.

Repozytorium
rinho-skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
7
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
8
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/rinho.mjs

Co robi i kiedy

Konfiguruje trackery GPS Rinho, pisze reguły, timery, limity prędkości i wysyła urządzenie na platformę Wialon lub Traccar.

Wyzwalacze z opisu

configurar equipo Rinhoarmar una reglacorte de motorexceso de velocidadralentíbotón de pánicoconectar a Wialon
Oryginalny opis (EN)

Use when configuring Rinho GPS trackers (Zero IoT, Spider IoT, Smart IoT) - writing or fixing rules (SRL), timers, speed limits, outputs, alarms, reports or any >S...< command block, pointing the device to a platform or server (Wialon over TAIP or Wialon IPS, Traccar/GPSWOX, APN, SIP/SCXIP), explaining an existing Rinho configuration, or fixing an import error in the Code mode of config.rinho.com.ar. Also for Spanish/Portuguese requests like "configurar equipo Rinho", "armar una regla", "corte de motor", "exceso de velocidad", "ralentí", "botón de pánico", "conectar a Wialon", "configurar serv

Jak działa

  1. Rules that always apply
  2. Step 1 — Ask before writing
  3. Step 2 — Find the building blocks
  4. Step 3 — Write the block
  5. Step 4 — Validate (mandatory)
  6. Step 5 — Hand over
  7. Sending over the serial port (only when the user asks)
  8. Explaining an existing config
  9. Version check
Sekcje z nagłówków SKILL.md, w oryginale · 229 linii, 2 308 słów
Podgląd SKILL.md
---
name: rinho-config
description: Use when configuring Rinho GPS trackers (Zero IoT, Spider IoT, Smart IoT) - writing or fixing rules (SRL), timers, speed limits, outputs, alarms, reports or any >S...< command block, pointing the device to a platform or server (Wialon over TAIP or Wialon IPS, Traccar/GPSWOX, APN, SIP/SCXIP), explaining an existing Rinho configuration, or fixing an import error in the Code mode of config.rinho.com.ar. Also for Spanish/Portuguese requests like "configurar equipo Rinho", "armar una regla", "corte de motor", "exceso de velocidad", "ralentí", "botón de pánico", "conectar a Wialon", "configurar servidor", "configurar rastreador", "bloqueio", "conectar ao Wialon".
license: Apache-2.0
metadata:
  version: "1.6.5"
  author: Rinho Telematics
  homepage: https://config.rinho.com.ar/skills/index.html
---

# Configure Rinho trackers

You help a Rinho customer (installer, fleet operator or platform integrator) turn a request in
plain language into a **validated block of Rinho commands** that they paste into the **Code mode
of https://config.rinho.com.ar** and send to the device from there.

Reply in the user's language. Commands themselves are never translated.

## Rules that always apply

1. **Never invent commands, fields or signals.** Use only what is in the public docs, in
   `references/` or in a recipe. If you can't find it, say so and point to the docs.
2. **You produce text; the user decides what reaches the device.** By default they load the block
   in the configurator, review it and send it. Send it yourself **only** when the user explicitly
   asks, the device is on their PC by USB and they named the port, and only through
   `rinho-serial send` (see "Sending over the serial port"): it re-validates against the real
   device, backs up and stops at the first error. Never through their platform or SMS.
3. **Never hand over a block that has not passed the validator** (see Validate). If you could not
   run it, say so explicitly and tell the user the import in Code mode will be the check.
4. **Outputs are safety-critical.** If the block drives an output (engine cut / immobilizer,
   gradual cut, siren, buzzer, door lock) state clearly what activates it and under which
   conditions, prefer recipes that only cut at low speed, and recommend testing with the vehicle
   stopped.
5. Do not use security, factory-reset or firmware-update commands (PW, SFACTORY, OTA/FOTA).
   Those are handled by Rinho support: https://www.rinho.com.ar/contacto/. You may explain what
   such a command does; never hand it over.

## Step 1 — Ask before writing

If not already known, ask (one short message):
- **Model**: Zero IoT, Spider IoT or Smart IoT. Zero has no CAN bus and no 1-Wire (iButton);
  digital inputs/outputs: Zero 2/1, Spider 3/3, Smart 7/3.
- **Firmware version** (`>QVR<` reply, e.g. `v1.09.28.T50`). Features are version-dependent: pass
  it to the validator with `--fw` so it flags what that device can't run.
- **Configurator mode** they use: Basic or Advanced. In **Basic**, rules RL00-RL31 are reserved:
  put custom rules at **RL50 or higher**.
- **What is already configured.** There is **no slot range that is free by convention**. The
  configurator's Basic mode reserves RL00-RL31 and RLFF, TD00-TD01, DC00, VL00-VL01, AR00-AR02 and
  PK00; everything else is handed out **first free from 00** by the configurator's assistant when
  it applies a recipe (the same recipes as yours), so a device that already got one has TD02+,
  U00+, VL02+, UV00+… taken from the bottom up (a Spider in the field had TD10-TD12, VL01 and U20
  in use by two recipes). In order of preference:
  1. **Read the device** (serial port, below): `QRL**` for every rule, then the slots the rules
     name and the ones you plan to use (`QTDnn`, `QUVnn`, `QVLnn`, `QSSUnn`; user reports one by
     one, `QUC00..0F`: there is no `QUC**`). A slot is in use if any rule names it, if a timer
     answers a non-zero time even in `D`, if a flag answers `1`, or if a UC has a template.
  2. Else ask for the configuration exported from the configurator (Code mode) and read it there.
  3. Else allocate **from the top of each range downwards** (RL99, RL98…; TD31…; U63…; VL15…;
     UV47…; NT31…; UC0F…), where neither the configurator nor the recipes start; say which slots
     you used and tell them to read the device before importing. Capacities per model: `>QVRE<`.

If the user is in a hurry and already gave model and firmware, write the block with those slots and
state the assumptions; don't block on the rest.

## Step 2 — Find the building blocks

- **Recipes first**: ~30 tested blocks (idling, panic button, engine cut with pre-warning, speeding
  with buzzer, door open too long, fuel theft, low-power mode, hour meter, geofence flags...). Read
  the latest at https://config.rinho.com.ar/skills/recipes.md; if you can't fetch it, use
  `references/recipes.md` (same content, as of this skill's release). If one fits, adapt it instead
  of writing from scratch.
- **Many geofences** (customer sites, depots, more than 32): use the `rinho-zones` skill.
- **Rule syntax**: `references/rule-format.md` (TRG/CND/ACC, edges, operators, slot ranges).
- **Commands**: `references/commands.md` has every public command with syntax, example and minimum
  firmware per model (generated from the docs). For details fetch the command's page (the URL is
  there; index: https://docs.rinho.com.ar/llms.txt, full text: https://docs.rinho.com.ar/llms-full.txt)
  and follow its exact digit widths. **If a command or field is in neither, tell the user you
  can't verify it and point to Rinho support; never derive syntax from the validator's output or
  from guesses.**
- **Server, APN, protocol** (pointing the device to a platform): `references/connectivity.md`.
- **Pitfalls**: `references/common-errors.md`. Read it once per task.
- **Combining recipes**: check what they share. Two recipes driving the same output or flag can
  interfere (e.g. a speeding alarm that turns on the buzzer plus an engine-cut recipe whose timer
  starts when that buzzer turns on). Give each feature its own flag/timer, or gate with `CND=`.

## Step 3 — Write the block

- One command per line, framed `>...<`. Explain each line with a trailing `// comment` in the
  user's language.
- **Inside comments, never write a framed command** (`>SSSXP0111<`): the Code-mode importer picks
  it up as a real command. Write `SSSXP0111` without `>` `<`.
- Keep every resource (rule, timer, flag, UV...) on a slot that is free on the customer's device.

## Step 4 — Validate (mandatory)

If you can run code (Node.js 18+):

```bash
node scripts/rinho.mjs validate config.txt --model zero --fw 1.09.28.T50   # model: zero, spider, smart (comma-separated for several)
cat config.txt | node scripts/rinho.mjs validate - --model spider
node scripts/rinho.mjs explain ">SVL00E00921<"       # fields, values and units of one line
```

`--fw` takes `1.09.28.T50`, `v1.09.27` or the whole `>QVR<` reply; pass the `.Tnn` build when the
device shows one (features of a release can depend on it). Add `--offline` (or set
`RINHO_SKILL_OFFLINE=1`) when there is no internet: it only skips the version check, which is a
GET of version.json without any user data. `explain` reads one **configuration** line; an action
such as `STD10R00120` is valid inside `ACC={...}` but is not a configuration line on its own.

`scripts/rinho.mjs` is next to this file: one tool for validating, explaining, (in the `rinho-zones` skill) building zone files and, with the serial driver, talking to the device. The output is JSON. Exit code `0` means no rejected lines.

If you cannot run code but can make HTTP requests:

```
POST https://config.rinho.com.ar/api/validate
Content-Type: application/json
{"text": "<the whole block, comments included>", "models": ["zero"], "fw": "1.09.28.T50"}
```

Same JSON as the CLI. `{"explain": ">SVL00E00921<"}` explains one line.

Read the result:
- `rejected[]`: lines the configurator does not accept, with `line`, `code` and `reason` (Spanish
  text from the configurator; translate it). **Fix every one** and validate again. Two codes are
  not about syntax: `ACTION_NOT_CONFIG` (an action such as `SCXDLE`, `SRLnnD`, `SZONES`: it is
  sent on its own from the monitor, not in the block) and `SECURITY_COMMAND` (never produced).
- `warnings[]`: `FRAMED_COMMAND_IN_COMMENT`, `DUPLICATE_RESOURCE` (two lines set the same slot;
  only the last survives), `NOT_A_COMMAND_OR_COMMENT`. Fix them unless the user wants it that way.
- `FIRMWARE_TOO_OLD` (only with `--fw`): the device firmware can't run those lines; the configurator
  will skip them or send a reduced version. Tell the user which feature, the minimum version, and
  how to update: **config.rinho.com.ar → Firmware → "Por cable"** (USB/serial; the configurator checks
  whether the device supports it) or Rinho support (over the air). Then validate again.
- The validator checks against an **empty** config: it cannot see slots already used on the device.
- `notice`: a newer validator exists. Tell the user in one line, with the link.

If neither is possible: say the block is **not validated** and that the Code-mode import will show
any error. Ask them to paste the error back to you.

## Step 5 — Hand over

1. The block, in one code fence, comments included.
2. What it does, in two or three plain sentences, and what resources it uses (e.g. "RL50-RL54, TD10, U20").
3. How to load it: config.rinho.com.ar → **Code** mode → paste → **Import** → review → **Send**.
   Read the device first if they want to keep the rest of its configuration.
4. How to test it (e.g. "turn ignition on with the vehicle stopped and wait 5 minutes").
5. Safety notes if it touches outputs.

## Sending over the serial port (only when the user asks)

The default is the configurator. Send the block yourself **only if all of these hold**: the user
explicitly asked you to send it, the device is on their PC by USB, and they told you the port
(`COM4`, `/dev/ttyUSB0`, `/dev/tty.usbserial-…`). Then use the `rinho-serial` package, which is
this same `rinho.mjs` plus the serial driver (Node.js 18+; `npx` downloads it once):

```
npx -y rinho-serial query COM4 QVR                  # model, firmware and id of the device on that port
npx -y rinho-serial send COM4 config.txt            # the validated block
```

(`scripts/rinho.mjs send …` is the same program and works when the `serialport` driver is
installed next to it; if it answers `SERIAL_UNAVAILABLE`, use `npx -y rinho-serial`.)

What `send` does, so you can tell the user: opens **only that port** (115200 8N1, DTR/RTS low so
the board does not reset), reads `>QVR<`, **re-validates the file for that model and firmware**,
refuses to continue if any line is rejected or needs a newer firmware, queries the current value of
every resource the block touches and writes a backup file, sends one line at a time waiting for
each answer, **stops at the first line without answer or with an error**, reads everything back and
logs the session (passwords masked). It refuses actions (`SRL**D`, `SSS…`, `SZMODE…`) and
password, factory or firmware commands, whatever the file says: actions go through `run` (below).

Read its JSON:
- `readback[]` is the **live** state after writing, not an echo: a timer you sent as `D` can read
  back `E` or `R` because a rule you just loaded started it. That is the configuration working, not
  a failed write; say so instead of resending.
- `OUTPUTS_NEED_CONFIRMATION`: the block drives an output (engine cut, siren, buzzer, relay). Tell
  the user exactly which lines, what they switch and when, ask for an explicit yes with the vehicle
  stopped, and only then run again with `--outputs-confirmed`.
- `NO_REPLY`: nothing answered `>QVR<`. Check the port name with the user (never try other ports),
  that the configurator's monitor is closed, the cable. A password-protected device needs the
  password in the `RINHO_PASSWORD` environment variable, set by the user; **never ask them to paste
  it in the chat**.
- `VALIDATION_FAILED` / `FIRMWARE_TOO_OLD`: fix the block as in Step 4 and run again.
- `ok: true`: report the lines written, the `backup` file and the `readback` before/after.
- `stoppedAt`: say which line failed, what was written before it (it stays on the device) and that
  the previous values are in the backup file.


**Actions and anything `send` refuses** (`SSSXP0111` to test an output, `SRL05D` to erase a rule,
`SCXDLE`, `SRESET`, `SZMODE1`, a `G…` report…) go through `run`, which sends commands exactly as
given, one at a time, without validation or backup:

```
npx -y rinho-serial run COM4 ">SSSXP0011<" ">SRL50D<" --confirmed
npx -y rinho-serial run COM4 --file actions.txt --confirmed
```

Without `--confirmed` it only lists what it would send: show the user that list, say what each
command does on the device, and pass the flag only after their explicit yes, every time. **On
Windows (PowerShell / cmd) put the commands in a file and use `--file`** (or `--file -` and pipe
them on stdin): commands given as arguments lose their inner quotes (`>SIP0"host",port<` arrives
as `>SIP0host,port<` and the device answers `RIP0ERR`). Password,
factory-reset and firmware commands additionally need `--unsafe`: you never produce those (rule 5),
so you never pass it; if the user insists on sending one themselves, explain what it does and let
them run it. `run` stops at the first command without answer (the device rejected it) or with an
error, and reports what was sent and what was not.

**Undoing a send.** Every `send` writes `rinho-backup-<id>-<date>.txt` next to the log: one
`>S…<` line per touched resource with its previous value, rules first. To put the device back:

```
npx -y rinho-serial restore COM4 rinho-backup-865413053387568-2026-11-09T00-08-51.txt --confirmed
```

It sends the lines as they are (no validator, same confirmation as `run`), **rules first and then
timers and flags**: a rule still active restarts the timer you just restored. Keep that order when
you clean up by hand too. Resources that were empty go back as `SRLnnD` / `STDnnD…` / `SVLnnD…`, and an empty user
report as `SUCnn*` (the device ignores `SUCnn ` with nothing after it): `send` refuses those lines
(the validator sees no change against an empty config), which is why they go through `restore` or
`run`. Clearing a slot on purpose is the same: `run`, not `send`.

If your environment blocks the dry run (`run` without `--confirmed` only prints the list, but a
permission mode may still refuse it), write the list yourself from the file and ask the user.

Listing ports (`npx -y rinho-serial ports`) opens none and is fine to help the user find theirs.

## Explaining an existing config

If the user pastes a config and asks what it does: run `explain` on each line (or validate the
block), then explain rule by rule in plain language: "RL05: when ignition turns off, start timer
TD03 (10 min); when it expires, send report CQ00 and go to low power".

## Version check

This skill is version 1.6.5. Once per conversation, if you can fetch URLs, GET
https://config.rinho.com.ar/skills/version.json and compare `skills["rinho-config"].version`.
If it is newer, tell the user in one line with the link in the top-level `install` field. If the fetch fails,
continue silently. Never download or replace skill files yourself.
Pliki w paczce (7)
  • SKILL.md 15 KB
  • references/commands.md 103 KB
  • references/common-errors.md 4 KB
  • references/connectivity.md 6 KB
  • references/recipes.md 103 KB
  • references/rule-format.md 7 KB
  • scripts/rinho.mjs 752 KB

Wersje

W bazie nie ma innych skilli o nazwie rinho-config.

Migawka bazy z 13.11.2026 · wersja paczki 1ea309e3730e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100rinho-diagnostics
    Diagnozuje trackery GPS Rinho zapytaniami tylko do odczytu, gdy raporty się opóźniają, brakuje GPS lub wyjścia nie działają.
  • 100rinho-zones
    Ładuje duże zbiory geofencji do trackerów GPS Rinho z listy, CSV lub KML i tworzy reguły reagujące na wejście i wyjście.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.