> For the complete documentation index, see [llms.txt](https://documentation.nomos-system.com/nomos-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.nomos-system.com/nomos-system/integratore-it/variabili/creare-variabile.md).

# Creare variabile

Per creare una nuova variabile nel nomos system Controller, compili i seguenti campi:

1. **ID:** Identificatore univoco con cui la variabile viene richiamata nelle automazioni e nei testi. Può assegnare un proprio ID (lettere maiuscole, cifre, `-` e `_`) oppure lasciare il campo vuoto – in tal caso l'ID viene generato automaticamente al salvataggio. Un ID già salvato non può più essere modificato.
2. **Nome:** Un nome visualizzato descrittivo per la variabile.
3. **Categoria:** Raggruppamento facoltativo per organizzare le variabili per tema (ad es. «Prezzi»).
4. **Modificabile:** Determina se il valore della variabile può essere modificato dagli utenti (ad es. nell'app nomos).
5. **Tipo di dati:** Determina il tipo di valore contenuto nella variabile. Il campo di immissione si adatta automaticamente al tipo selezionato:
   * **Testo (String):** Un testo qualsiasi.
   * **Numero intero (Integer):** Un numero senza decimali.
   * **Numero decimale (Float):** Un numero con decimali.
   * **Valuta:** Un importo – accanto al valore viene mostrato il simbolo di valuta impostato nelle impostazioni di sistema (ad es. €).
   * **Acceso/Spento (Boolean):** Un valore booleano – acceso o spento.
   * **Data:** Una data di calendario.
   * **Ora:** Un orario.
6. **Valore:** Il valore attuale della variabile. Il campo di immissione dipende dal tipo di dati selezionato.

Clicchi **Aggiungi** per creare la variabile. Per una variabile esistente, salvi le modifiche con **Salva** o la rimuova con **Elimina**. Per annullare il processo, clicchi **Annulla**.

<figure><img src="/files/3kLIX0IJj5MCcjCyKK5u" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Nota:**

* **Importante**: Questo strumento è destinato esclusivamente agli **integratori** che hanno esperienza con i processi di automazione e programmazione. Un utilizzo improprio può causare malfunzionamenti.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.nomos-system.com/nomos-system/integratore-it/variabili/creare-variabile.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
