# Entwickler-Appel in den nächsten Wochen?

**URL:** <https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358>\
**Category:** Développement\
**Created:** [10. Juni 2022 um 12:15 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358 "2022-06-10T12:15:57Z")\
**Posts on this page:** 10\
**Page:** 3

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [11. Juli 2022 um 13:47 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/41 "2022-07-11T13:47:41Z")

</div>

Okay, ich habe es gerade verstanden (Montag ist schwer) beim Lesen deiner Zusammenfassung das Ziel

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [11. Juli 2022 um 14:52 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/42 "2022-07-11T14:52:44Z")

</div>

@AlexTrovato @VonOx Für Info, ich habe einen Test gemacht, um die Funktion .emit unseres EventEmitters global asynchron zu machen!

Ich habe mich von dem Code dieser Bibliothek inspirieren lassen, die zwar bekannt ist (aber zu umfangreich für uns, wir brauchen nicht alles davon):

> **[GitHub - sindresorhus/emittery: Simple and modern async event emitter](https://github.com/sindresorhus/emittery)**
>
> Simple and modern async event emitter

Das sieht dann so aus, es ist wirklich ganz einfach:

> <https://github.com/GladysAssistant/Gladys/pull/1569/files>
>
> \### Pull Request check-list
> 
> To ensure your Pull Request can be accepted as fa…st as possible, make sure to review and check all of these items:
> 
> \- \[\] If your changes affects code, did your write the tests?
> \- \[\] Are tests passing? (\`npm test\` on both front/server)
> \- \[\] Is the linter passing? (\`npm run eslint\` on both front/server)
> \- \[\] Did you run prettier? (\`npm run prettier\` on both front/server)
> \- \[\] If you are adding a new features/services, did you run integration comparator? (\`npm run compare-translations\` on front)
> \- \[\] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to \[the community\](https://community.gladysassistant.com/) for testing before merging.
> \- \[\] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
> \- \[\] If you are adding a new features/services which needs explanation, did you modify the user documentation? See \[the GitHub repo\](https://github.com/GladysAssistant/v4-website) and the \[website\](https://gladysassistant.com).
> \- \[\] Did you add fake requests data for the demo mode (\`front/src/config/demo.js\`) so that the demo website is working without a backend? (if needed) See \[https://demo.gladysassistant.com\](https://demo.gladysassistant.com).
> 
> NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
> 
> \### Description of change
> 
> Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!

Im Grunde genommen wird jedes Mal, wenn ein Event emittiert wird, das Event erst nachträglich synchron veröffentlicht, wir geben Node.js die Möglichkeit, zwischen dem Funktionsaufruf und dem synchronen Emit zu tun, was es will.

Im Fall von Geräten, die Hunderte von Emits verursachen (die wiederum Hunderte von Emits verursachen, weil wir viele Dinge überprüfen: Szenen, Websockets zum Frontend, etc.), wird jedes Event nicht synchron, sondern asynchron verarbeitet, wenn Node.js es kann.

Das sollte die Probleme mit Geräten wie dem Linxee TIC lösen

Was haltet ihr davon?

Edit: @VonOx da es sich um eine Änderung von nur wenigen Zeilen handelt, könntest du die Datei in deiner Produktion ersetzen und sehen, welchen Effekt das hat, um zu sehen, ob es das Problem wirklich löst?

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [16. Juli 2022 um 08:30 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/43 "2022-07-16T08:30:32Z")

</div>

> [@pierre-gilles](#):
>
> Edit: @VonOx da es sich nur um eine Änderung von einigen Zeilen handelt, könntest du die Datei in deiner Produktion ersetzen und schauen, welche Auswirkungen das hat, um zu sehen, ob das Problem wirklich behoben ist?

Erledigt, ich gebe dir morgen ein Feedback.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [18. Juli 2022 um 16:43 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/44 "2022-07-18T16:43:14Z")

</div>

Ich habe das Gefühl, dass es ein bisschen «&nbsp;laggy&nbsp;» ist

Ich werde mehr Logs hinzufügen, um die Ausführungszeiten zu erhalten

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [18. Juli 2022 um 16:44 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/45 "2022-07-18T16:44:04Z")

</div>

ah, also löst das das Problem nicht so gut wie setImmediate?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [18. Juli 2022 um 16:46 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/46 "2022-07-18T16:46:54Z")

</div>

Zur Info, bezüglich unserer Diskussion über die aktuellen Nutzer der Open-Z-Wave-Integration:

[https://community.gladysassistant.com/t/v4-integration-z-wave/6057/99?u=pierre-gilles](https://community.gladysassistant.com/t/v4-integration-z-wave/6057/99?u=pierre-gilles)

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [20. Juli 2022 um 11:56 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/47 "2022-07-20T11:56:29Z")

</div>

@pierre-gilles ich denke, wir sind gut.

```auto
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:power:active_power: 0.01ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:power:active_power_max: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:power:active_power_ph_b: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:power:apparent_power: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:current:available_power: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:voltage:average_rms_voltage_meas_period: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:index:current_tier1_summ_delivered: 0.023ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:index:current_tier2_summ_delivered: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:current:power_threshold: 0.015ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:binary:relais: 0.008ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:current:rms_current: 0.009ms
EventEmit zigbee2mqtt:Lixee TIC:energy-sensor:voltage:rms_voltage: 0.008ms

```

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [21. Juli 2022 um 07:59 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/48 "2022-07-21T07:59:21Z")

</div>

@VonOx Und wie ist die Erfahrung? Flüssig oder ruckelig? Das Wichtigste ist, dass es für den Nutzer perfekt flüssig ist 🙂

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [21. Juli 2022 um 08:38 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/49 "2022-07-21T08:38:58Z")

</div>

Ja, das ist gut, ich hatte beim letzten Mal zu viele Tabs offen 😐

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [21. Juli 2022 um 13:29 UTC](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358/50 "2022-07-21T13:29:08Z")

</div>

@VonOx Ich habe auf master gemerged 🙂 Wenn du deine PR rebase, hast du Zugriff darauf!

[Vorherige Seite](https://community.gladysassistant.com/t/appel-developpeur-les-prochaines-semaines/7358.md?page=2)
