> For the complete documentation index, see [llms.txt](https://homey-omnik.gitbook.io/nl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homey-omnik.gitbook.io/nl/flow-cards.md).

# Flow-kaarten & automatiseringen

De app levert Flow-kaarten waarmee je kunt reageren op veranderingen in je zonneproductie.

## Triggers (Wanneer…)

| Kaart                                  | Wordt geactiveerd wanneer                                                              |
| -------------------------------------- | -------------------------------------------------------------------------------------- |
| **Productie gestart**                  | Vermogen gaat van 0 W naar >0 W (zonsopgang, wolk verdwijnt) - biedt een `power`-token |
| **Productie gestopt**                  | Vermogen gaat van >0 W naar 0 W (zonsondergang, wolkendek)                             |
| **Productie van vandaag is veranderd** | De today-kWh-waarde verandert tussen polls                                             |
| **Het vermogen is veranderd**          | `measure_power` verandert                                                              |
| **Totale energie is veranderd**        | `meter_power` verandert                                                                |
| **Frequentie is veranderd**            | `measure_frequency` verandert                                                          |
| Spanning / temperatuur veranderd       | De capability verandert                                                                |

## Condities (En…)

| Kaart                                  | Waar wanneer                              |
| -------------------------------------- | ----------------------------------------- |
| **Wekt stroom op**                     | Huidig vermogen > 0 W                     |
| **Vermogen is hoger dan**              | Huidig vermogen > de opgegeven waarde (W) |
| **Productie van vandaag is hoger dan** | Vandaag-kWh > de opgegeven waarde         |

## Handige automatiseringen

**Laad de EV op als de zon opkomt:**

> Wanneer *Productie gestart* op Omnik → start oplaadsessie

**Vaatwasser alleen op zonne-energie:**

> Wanneer tijd 12:00 is → als *Vermogen is hoger dan 1500 W* → start vaatwasser

**Stuur melding als systeem voor de nacht stopt:**

> Wanneer *Productie gestopt* op Omnik → stuur push "Zon klaar - totaal vandaag: \[meter\_power.daily] kWh"

**Frequentie-alarm (zeldzame netproblemen):**

> Wanneer *Frequentie is veranderd* → als *Frequentie lager dan 49.8 Hz of hoger dan 50.2 Hz* → stuur melding

## Tokens

De *Productie gestart*-trigger biedt een `power`-token (het feitelijke vermogen op het moment dat productie begon), bruikbaar in vervolgstappen - handig voor branching ("alleen EV laden als productie minimaal 1 kW is").


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://homey-omnik.gitbook.io/nl/flow-cards.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
