# JSON code voor Formule 1 race

**URL:** <https://community.homey.app/t/json-code-voor-formule-1-race/149974>\
**Category:** Vragen & hulp\
**Created:** [January 24, 2026, 8:08pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974 "2026-01-24T20:08:10Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 8:08pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/1 "2026-01-24T20:08:10Z")

</div>

Ik heb via ChatGPT gevraagd om een flow te maken. ChatGPT gaf aan dat er een JASON code gemaakt kan worden. Nu ik die code heb zou ik die ergens in Homey moeten plakken zodat van de code een flow gemaakt wordt. Hierbij gaat het fout. Ik kan niet vinden waar ik de code kan plakken. Heeft iemand een idee hoe ik dit moet doen?

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 24, 2026, 8:36pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/2 "2026-01-24T20:36:17Z")

</div>

Heb je deze vraag ook aan ChatGPT gesteld?

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 8:48pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/3 "2026-01-24T20:48:37Z")

</div>

Ja zeker , die geeft aan dat ik via het developers site het kan plakken. Echter zie ik die optie nergens.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 24, 2026, 8:48pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/4 "2026-01-24T20:48:58Z")

</div>

Volgens Peetgpt kan dat nog niet, maar mss loop ik achter. Met “dat” bedoel ik om AI bruikbare flows te laten schrijven.

Over flows als JSON (weet AI dat niet?):  
Flows als JSON code dien je op te slaan als  
`flownaam.homeystdflow.json`, of `flownaam.homeyadvflow.json`  
En dan:

> [@Web App ALT + Context Menu: Export/Import Flows](https://community.homey.app/t/web-app-alt-context-menu-export-import-flows/143013):
>
> It seems that a [recent update](https://homey.app/en-nl/wiki/homey-web-app-changelog/) of the web app added support for exporting and importing flows. I learned that in the web app, when right clicking an Advanced Flow or Standard Flow and simultaneously holding the ALT key, the context menu gets some additional items: The Export option creates an .homeyadvflow text file for an Advanced Flow (.homeystdflow for a Standard Flow), containing (I assume) the flow definition. I haven’t been able…

Tip:  
Ik weet niet of je dit kent / gebruikt? Dat is mss een geschiktere weg:

> [@sparkles Homey MCP Server | Megathread](https://community.homey.app/t/homey-mcp-server-megathread/145181):
>
> Connect ChatGPT & Claude with Homey. Read the announcement at [Introducing the Homey MCP Server – News | Homey](https://homey.app/en-us/news/introducing-the-homey-mcp-server/) . Share your findings & ideas in this thread.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [January 24, 2026, 9:18pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/5 "2026-01-24T21:18:36Z")

</div>

Wat is de JSON-code die ChatGPT heeft gemaakt? Kan je de code hier plakken?

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [January 24, 2026, 9:21pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/6 "2026-01-24T21:21:18Z")

</div>

En als je dan aan ChatGPT vraagt waar die optie zou moeten zitten?

Wees je er bewust van dat ChatGPT graag het gewenste antwoord geeft, hoe fout het ook is. Vraag altijd door en geef de opdracht om antwoorden te controleren en vraag om links naar officiële informatie van de fabrikant. Pas als je dat doet zal ChatGPT betrouwbare antwoorden gaan geven.

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 9:23pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/7 "2026-01-24T21:23:57Z")

</div>

{  
“name”: “F1 Race Lamp Alerts Continuous”,  
“enabled”: true,  
“triggers”: [  
{  
“id”: “com.athom.homey”,  
“type”: “device”,  
“device”: “[LG] webOS TV OLED65C25LB”,  
“capability”: “onoff”,  
“state”: true  
},  
{  
“id”: “com.athom.homey”,  
“type”: “interval”,  
“interval”: 10000  
}  
],  
“conditions”: [  
{  
“id”: “LG\_TV\_On”,  
“type”: “device”,  
“device”: “[LG] webOS TV OLED65C25LB”,  
“capability”: “onoff”,  
“state”: true  
}  
],  
“actions”: [  
{  
“id”: “fetch\_f1\_data”,  
“type”: “http\_request”,  
“method”: “GET”,  
“url”: “[ergast.com&nbsp;-&nbsp;ergast Resources and Information.](https://ergast.com/api/f1/current/last/results.json%E2%80%9D),  
“headers”: {},  
“body”: {}  
},  
{  
“id”: “wait\_10\_seconds”,  
“type”: “delay”,  
“duration”: 10000  
},  
{  
“id”: “save\_lamp\_state”,  
“type”: “device\_state”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“action”: “save”  
},  
{  
“id”: “check\_race\_status”,  
“type”: “logic”,  
“logic”: “switch”,  
“value”: “{{f1\_data.raceStatus}}”,  
“cases”: {  
“RED\_FLAG”: [  
{  
“id”: “red\_flag\_lamp”,  
“type”: “device”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“capability”: “light\_rgb”,  
“rgb”: “#FF0000”,  
“effect”: “blink”,  
“interval”: 500,  
“repeat”: 0  
}  
],  
“YELLOW\_FLAG”: [  
{  
“id”: “yellow\_flag\_lamp”,  
“type”: “device”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“capability”: “light\_rgb”,  
“rgb”: “#FFFF00”,  
“effect”: “blink”,  
“interval”: 700,  
“repeat”: 0  
}  
],  
“VSC”: [  
{  
“id”: “vsc\_lamp”,  
“type”: “device”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“capability”: “light\_rgb”,  
“rgb”: “#FFA500”,  
“effect”: “blink”,  
“interval”: 700,  
“repeat”: 0  
}  
],  
“RACE\_RESUME”: [  
{  
“id”: “resume\_lamp\_green”,  
“type”: “device”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“capability”: “light\_rgb”,  
“rgb”: “#00FF00”,  
“effect”: “blink”,  
“interval”: 500,  
“repeat”: 3  
}  
]  
}  
},  
{  
“id”: “restore\_lamp\_state”,  
“type”: “logic”,  
“logic”: “if”,  
“condition”: “{{f1\_data.raceStatus}} == ‘NONE’”,  
“actions”: [  
{  
“id”: “restore\_lamps”,  
“type”: “device\_state”,  
“device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
“action”: “restore”  
}  
]  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 9:24pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/8 "2026-01-24T21:24:35Z")

</div>

ja dat heb ik inderdaad gemerkt

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [January 24, 2026, 9:25pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/9 "2026-01-24T21:25:00Z")

</div>

> [@Benvo](#):
>
> {  
> “id”: “com.athom.homey”,  
> “type”: “device”,  
> “device”: “[LG] webOS TV OLED65C25LB”,  
> “capability”: “onoff”,  
> “state”: true  
> },  
> {  
> “id”: “com.athom.homey”,  
> “type”: “interval”,  
> “interval”: 10000  
> }

Dit is geen geldig Flow JSON. Ik denk dat de AI aan het hallucineren is.

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 9:27pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/10 "2026-01-24T21:27:16Z")

</div>

Nu weet ik hoe ik de code kan importeren. Nu moet ik de code opslaan. Weet iemand hoe ik dat moet doen? Als ik namelijk de code slecht plak in de teksteditor app op mijn MacBook is dat niet het juiste bestandsvorm voor homey.

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 9:27pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/11 "2026-01-24T21:27:42Z")

</div>

oh joh echt, lekker dan haha.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [January 24, 2026, 9:33pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/12 "2026-01-24T21:33:41Z")

</div>

> [@Benvo](#):
>
> “id”: “com.athom.homey”,

`com.athom.homey` is een App ID, maar Homey’s ingebouwde functies werken niet via apps. De “app” bestaat dus niet.

> [@Benvo](#):
>
> “device”: “[LG] webOS TV OLED65C25LB”,

Apparaten worden geidentificeerd met een ID, niet met een naam. `[LG] webOS TV OLED65C25LB` is dus niet hoe je een apparaat identificeert.

> [@Benvo](#):
>
> {  
> “id”: “restore\_lamps”,  
> “type”: “device\_state”,  
> “device”: [“Tv verlichting ( model TS0505A )”, “Plank onder ( model TS0505A )”],  
> “action”: “restore”  
> }

Dat kan Homey niet, status van lampen herstellen.

> [@Benvo](#):
>
> “effect”: “blink”,

Homey ondersteunt standaard het knipperen van lampen niet, dus `"effect":"blink"` kan niet.

> [@Benvo](#):
>
> “capability”: “light\_rgb”,

Er is geen `light_rgb` capability in Homey, de kleur wordt bepaald met `light_saturation` en `light_hue`

> [@Benvo](#):
>
> “id”: “wait\_10\_seconds”,

Je kan geen aangepaste ID opslaan in een Flow

---

<div class="post-metadata">

**Author:** ![Benvo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/benvo/32/79462_2.png) [@Benvo](https://community.homey.app/u/Benvo)\
**Post date:** [January 24, 2026, 9:38pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/13 "2026-01-24T21:38:05Z")

</div>

Conclusie is dus dat ChatGPT maar onzin codes maakt. Bedankt voor jullie hulp 👍🏻

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 25, 2026, 12:38pm UTC](https://community.homey.app/t/json-code-voor-formule-1-race/149974/14 "2026-01-25T12:38:18Z")

</div>

Euh, laten we zeggen: helaas verzint het gewoon maar wat als het iets niet kan vinden.  
Zelf bouwen is toch veel leuker & leerzamer?

Maar, misschien is dit interessant voor je, deze heer zegt hier dat je flows kunt bestellen:  
(niet getest door mij)

 ![Screenshot_20260125_133130_Slack](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a51cd0e78a8e6f58a60dda7f2380b13c2c6896cb.jpeg)

(Posted last night @ [Slack](https://athomcommunity.slack.com/archives/C04E9KJAD/p1769296883756789))
