# Widget (na około) ifttt\>ais\>gh/nr\>scena

**URL:** <https://ai-speaker.discourse.group/t/widget-na-okolo-ifttt-ais-gh-nr-scena/916>\
**Category:** Inspiracje\
**Created:** [6 Listopad 2020 15:43 UTC](https://ai-speaker.discourse.group/t/widget-na-okolo-ifttt-ais-gh-nr-scena/916 "2020-11-06T15:43:29Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Autor:** ![Akszyn](https://yyz2.discourse-cdn.com/free1/user_avatar/ai-speaker.discourse.group/akszyn/32/4038_2.png) [@Akszyn](https://ai-speaker.discourse.group/u/Akszyn)\
**Data wpisu:** [24 Marzec 2021 16:07 UTC](https://ai-speaker.discourse.group/t/widget-na-okolo-ifttt-ais-gh-nr-scena/916/18 "2021-03-24T16:07:38Z")

</div>

dla tych co chcieli by zrobić coś podobnego w node-red to przepływ wygląda tak  
 ![image](https://global.discourse-cdn.com/free1/uploads/ai_speaker/original/2X/9/90b8b1e8b8a658d68e643e16ff8c840a8ea323df.png)

```auto
[{"id":"81d820ea.596ce","type":"server-events","z":"a15c046e.1856f8","name":"użycie widgetu","server":"28cb8b4f.e52894","event_type":"ifttt_webhook_received","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"x":100,"y":160,"wires":[["98a5ac85.6f70e"]]},{"id":"98a5ac85.6f70e","type":"switch","z":"a15c046e.1856f8","name":"który widget","property":"payload.event.action","propertyType":"msg","rules":[{"t":"eq","v":"HDMI","vt":"str"},{"t":"eq","v":"Cofniecie","vt":"str"},{"t":"eq","v":"Kodi","vt":"str"}],"checkall":"false","repair":false,"outputs":3,"x":270,"y":160,"wires":[["1c071838.68cae8"],["c8b46845.4eec18"],["da98281c.7bcbd8"]]},{"id":"28cb8b4f.e52894","type":"server","name":"Home Assistant","legacy":false,"addon":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

```

---

_[View the full topic](https://ai-speaker.discourse.group/t/widget-na-okolo-ifttt-ais-gh-nr-scena/916)._
