# Pellet kachel

**URL:** <https://community.homey.app/t/pellet-kachel/58264>\
**Category:** Apps\
**Created:** [January 11, 2022, 8:47pm UTC](https://community.homey.app/t/pellet-kachel/58264 "2022-01-11T20:47:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herby](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/herby/32/18257_2.png) [@Herby](https://community.homey.app/u/Herby)\
**Post date:** [January 11, 2022, 8:47pm UTC](https://community.homey.app/t/pellet-kachel/58264/1 "2022-01-11T20:47:33Z")

</div>

Hallo,

Iemand ervaring met het koppelen van een pelletkachel met WiFi?  
Edilkamin Slide 2

---

<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 12, 2022, 1:32am UTC](https://community.homey.app/t/pellet-kachel/58264/2 "2022-01-12T01:32:38Z")

</div>

Er moet wel een app voor zijn denk ik.

> **[Homey - A Better Smart Home](https://homey.app/en-us/)**
>
> Create a better smart home with Homey. Control, automate and monitor your entire smart home from a single place. Homey supports 50,000+ devices from thousands of brands.

Community store:

> **[Homey Community Store](https://store.homey.community/)**
>
> The Homey Community Store (HCS) provides an alternative App Store for your Homey.

---

<div class="post-metadata">

**Author:** ![SniperFx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sniperfx/32/78930_2.png) [@SniperFx](https://community.homey.app/u/SniperFx)\
**Post date:** [February 3, 2024, 10:38am UTC](https://community.homey.app/t/pellet-kachel/58264/4 "2024-02-03T10:38:34Z")

</div>

Hoi,

Heb je ooit een app gevonden ? ik ben zelf ook op zoek om de standaard App functionaliteit van Edilkamin (The Mind) vanuit Homey Pro te gebruiken. Via Home assistant werkt het perfect …

mvg  
Frank

---

<div class="post-metadata">

**Author:** ![Herby](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/herby/32/18257_2.png) [@Herby](https://community.homey.app/u/Herby)\
**Post date:** [February 3, 2024, 11:19am UTC](https://community.homey.app/t/pellet-kachel/58264/5 "2024-02-03T11:19:30Z")

</div>

Hallo Frank,

Nee, helaas nog niet.

---

<div class="post-metadata">

**Author:** ![Peter\_Aukes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_aukes/32/80627_2.png) [@Peter\_Aukes](https://community.homey.app/u/Peter_Aukes)\
**Post date:** [October 28, 2025, 7:22pm UTC](https://community.homey.app/t/pellet-kachel/58264/6 "2025-10-28T19:22:51Z")

</div>

Ik heb via Grok een code laten genereren en deze komt ook met een AWS cognito oplossing.  
Uitvoering loopt vast en ik heb te weinig codeer verstand op dit op te lossen

```auto
// HomeyScript voor Edilkamin Cherrie: Status ophalen + Aan/Uit
// Vul je gegevens in:
const USERNAME = 'xxxxx@gmail.com'; // Je Edilkamin/The Mind gebruikersnaam
const PASSWORD = 'xxxxxxx,'; // Je wachtwoord
const MAC_ADDRESS = 'xxxxxx'; // MAC van je Cherrie (lowercase, geen : )

// AWS Cognito details
const REGION = 'eu-central-1';
const USER_POOL_ID = 'eu-central-1_BYmQ2VBlo';
const CLIENT_ID = '7sc1qltkqobo3ddqsk4542dg2h';
const COGNITO_URL = `https://cognito-idp.${REGION}.amazonaws.com/`;
const API_BASE = 'https://fxtj7xkgc6.execute-api.eu-central-1.amazonaws.com/prod/';

// Homey Logic variabelen (moet je eerst aanmaken in Homey > More > Logic)
const POWER_VARIABLE = 'Cherrie_Power'; // Boolean: true (aan) / false (uit)
const TEMP_VARIABLE = 'Cherrie_Temperature'; // Number: huidige temperatuur

async function run() {
  try {
    console.log('Start authenticatie voor Cherrie...');

    // Stap 1: Authenticatie via Cognito
    const authBody = {
      AuthFlow: 'USER_PASSWORD_AUTH',
      ClientId: CLIENT_ID,
      AuthParameters: {
        USERNAME: USERNAME,
        PASSWORD: PASSWORD
      }
    };
 
    const authResponse = await fetch(COGNITO_URL, {
      method: 'POST',
      headers: {
        'Content-Type': 'application/x-amz-json-1.1',
        'X-Amz-Target': 'AWSCognitoIdentityProviderService.InitiateAuth'
      },
      body: JSON.stringify(authBody)
    });

    if (!authResponse.ok) {
      throw new Error(`Auth fout: ${authResponse.status} - ${await authResponse.text()}`);
    }
console.log('Auth sstart, token verkregen.');
    const authData = await authResponse.json();
    const idToken = authData.AuthenticationResult.IdToken;
    console.log('Auth succesvol, token verkregen.');

    // Stap 2: Haal status op
    const statusResponse = await fetch(`${API_BASE}mqtt/status/${MAC_ADDRESS}`, {
      method: 'GET',
      headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${idToken}`
      }
    });

    if (!statusResponse.ok) {
      throw new Error(`Status ophalen fout: ${statusResponse.status} - ${await statusResponse.text()}`);
    }

    const statusData = await statusResponse.json();
    console.log('Status ontvangen:', statusData);

    // Verwerk status en sla op in Homey Logic
    const powerStatus = statusData.power === 1; // 1 = aan, 0 = uit
    const currentTemp = statusData.temperature || 0; // Huidige temperatuur (fallback naar 0)

    // Maak variabelen aan als ze niet bestaan
    try {
      await Homey.createVariable({ name: POWER_VARIABLE, type: 'boolean', value: powerStatus });
    } catch (e) {
      await Homey.setVariable(POWER_VARIABLE, powerStatus);
    }
    try {
      await Homey.createVariable({ name: TEMP_VARIABLE, type: 'number', value: currentTemp });
    } catch (e) {
      await Homey.setVariable(TEMP_VARIABLE, currentTemp);
    }

    console.log(`Status opgeslagen: Power=${powerStatus}, Temperature=${currentTemp}`);

    // Stap 3: Optioneel - Stuur 'aan'-commando
    const commandBody = {
      mac_address: MAC_ADDRESS,
      name: 'power',
      value: 1 // 1 = aan, 0 = uit
    };

    const commandResponse = await fetch(`${API_BASE}mqtt/command`, {
      method: 'PUT',
      headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${idToken}`
      },
      body: JSON.stringify(commandBody)
    });

    if (!commandResponse.ok) {
      throw new Error(`Commando fout: ${commandResponse.status} - ${await commandResponse.text()}`);
    }

    const commandResult = await commandResponse.json();
    console.log('Cherrie aangezet! Response:', commandResult);

    // Toon melding in Homey
    await Homey.notify({ title: 'Edilkamin Cherrie', message: `Kachel is aangezet! Status: Power=${powerStatus}, Temp=${currentTemp}°C` });

  } catch (error) {
    console.error('Fout in script:', error);
  // await Homey.notify({ title: 'Edilkamin Cherrie Fout', message: error.message });
  }
}

// Voer het script uit
await run();

```

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 28, 2025, 7:42pm UTC](https://community.homey.app/t/pellet-kachel/58264/7 "2025-10-28T19:42:10Z")

</div>

> [@Peter\_Aukes](#):
>
> Ik heb via Grok een code laten genereren…
> 
> ```auto
> await Homey.createVariable(...);
> await Homey.createVariable(...);
> await Homey.notify(...);
> 
> ```

Mooie LLM hallucinaties.

---

<div class="post-metadata">

**Author:** ![Peter\_Aukes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_aukes/32/80627_2.png) [@Peter\_Aukes](https://community.homey.app/u/Peter_Aukes)\
**Post date:** [October 28, 2025, 7:45pm UTC](https://community.homey.app/t/pellet-kachel/58264/8 "2025-10-28T19:45:27Z")

</div>

> [@robertklep](#):
>
> LLM

Dus biedt geen aanknopingspunten.  
Was het proberen waard………..

---

<div class="post-metadata">

**Author:** ![Marcello2](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@Marcello2](https://community.homey.app/u/Marcello2)\
**Post date:** [January 24, 2026, 3:27pm UTC](https://community.homey.app/t/pellet-kachel/58264/9 "2026-01-24T15:27:11Z")

</div>

Hier dezelfde vraag. Vind het aantal schakel momenten van de afstandsbediening en van de app te beperkt.en zoek dus naar een app die dat wel kan.

---

<div class="post-metadata">

**Author:** ![Peter\_Aukes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_aukes/32/80627_2.png) [@Peter\_Aukes](https://community.homey.app/u/Peter_Aukes)\
**Post date:** [January 25, 2026, 9:44pm UTC](https://community.homey.app/t/pellet-kachel/58264/10 "2026-01-25T21:44:48Z")

</div>

Blijft toch vreemd en jammer dat het bij home assistant wel feilloos werk en de professionals van Homey het nog niet gelukt is…….

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [January 26, 2026, 5:41am UTC](https://community.homey.app/t/pellet-kachel/58264/11 "2026-01-26T05:41:38Z")

</div>

Bij Home Assistant was het geen professional, maar een community member die er “maar” mee aan de slag is [gegaan](https://community.home-assistant.io/t/edilkamin-pellet-stove-controlled-with-the-mind/471872/5).

Het goede nieuws is dus dat:

- Je de implementatie van Home Assistant kunt gebruiken (mogelijk dat de [Home Assistant integratie](https://homey.app/nl-nl/app/io.home-assistant/Home-Assistant/) ermee werkt om het vanuit Homey aan te blijven sturen)
- Er een [NPM package](https://www.npmjs.com/package/edilkamin) is waarmee je/iemand aan de slag kan om een app voor Homey te maken.

---

<div class="post-metadata">

**Author:** ![Hugo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugo/32/11530_2.png) [@Hugo](https://community.homey.app/u/Hugo)\
**Post date:** [March 22, 2026, 6:34pm UTC](https://community.homey.app/t/pellet-kachel/58264/12 "2026-03-22T18:34:13Z")

</div>

Voor Rika is er een app gemaakt en ik maak zelf gebruik van een Alexa Dot om mijn Rika met wifi module aan te sturen .

Dus wifi module wordt aangestuurd door Alexa Dot en de Alexa Dot wordt weer aangestuurd door Homey.

Werkt redelijk als de Alexa app werkt. 🙃
