Für Info, ich habe einen Dev-Build auf Master mit den Änderungen an Philips Hue + der Weiterleitung von Benachrichtigungen in andere Tabs gestartet
Das habe ich heute Morgen gesehen
master ← cicoub13:zigbee2mqtt-service
ouvert 10:23PM - 13 Mar 21 UTC
### 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:
- [x] If your changes affects code, did your write the tests?
- [x] Are tests passing? (`npm test` on both front/server)
- [x] Is the linter passing? (`npm run eslint` on both front/server)
- [x] Did you run prettier? (`npm run prettier` on both front/server)
- [x] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [x] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [x] 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). https://github.com/GladysAssistant/v4-website/pull/63
- [x] Did you add fake requests data for the demo mode (`front/src/config/demo.json`) 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.
### Zigbee2mqtt Service
Image to test is here: https://hub.docker.com/layers/cicoub13/gladys/dev-zigbee2mqtt/images/sha256-70311fba250f79e874eb7d6c06099a0d4a8aee3dc737fad2d839f1ae0a769256?context=explore
There are 2 commits related to the core of Gladys
- Map USB productId and vendorId https://github.com/GladysAssistant/Gladys/pull/1098/commits/5e164f514d707890ab70e15f6806f9fe9a2acf8b
- Stop Docker Container in system https://github.com/GladysAssistant/Gladys/pull/1098/commits/5a1d757c368fd0c832a8532d265987e25b4d2ba4
Forum discussion: https://community.gladysassistant.com/t/zigbee2mqtt-image-docker-de-test-basee-gladys-v4/5746/245
Okay, 165 Dateien, aber mindestens 70 davon listen kompatible Geräte auf. Also, viel Mut!!!
VonOx
21. März 2021 um 07:45
23
Die Trigger Sonnenuntergang Sonnenaufgang funktionieren bei mir nicht, hat das schon mal jemand in der Praxis getestet?
Normalerweise hatte @AlexTrovato es doch getestet, glaube ich!
Funktioniert das überhaupt nicht?
lol ich hatte meinen Rechner ausgeschaltet, die Morgendämmerung ist gekommen, aber Gladys lief nicht
VonOx
21. März 2021 um 11:07
26
Ich habe gestern Abend eine ganz einfache Szene erstellt:
Nachricht senden bei Sonnenaufgang.
Nichts im Chat heute Morgen (die Standortangabe ist korrekt).
Ah Mist… mein Fehler, es war der Autor des PR, der in der Realität getestet hatte:
Ich versuche, einen Test für heute Abend vorzubereiten, in der Hoffnung, Logs zu sehen.
Ich mache auch einen Test!
VonOx
21. März 2021 um 11:10
30
Keine Spur für mich, das Seltsame ist, dass, wenn ich die Szene manuell starte, die Nachricht gut ankommt.
Im schlimmsten Fall muss man zum Testen den Standort des Hauses ändern.
Ich habe eine Szene für morgen früh eingeplant Antwort um 6:20 Uhr!
Die am längsten zu debuggende Funktion
Man muss geduldig sein!
lol Erste Antwort heute Abend, das wird die Überraschung zu Hause (mit einem Bonus „Was hast du schon wieder gemacht?“ von Madame!!)
Ich hatte eine Szene, die um 18:45 Uhr, Sonnenuntergangszeit, gestartet ist.
VonOx
21. März 2021 um 18:18
35
Ich bestätige, dass der Sonnenuntergang in Ordnung ist, ich setze den Sonnenaufgang für morgen zurück.
Bestätigt, Sunrise funktioniert nicht, das hat heute Morgen nicht geklappt!
@Lokkye eine Idee?
Edit: Ich untersuche das, und schon gibt es ein Problem mit der Zeitzone.
Bei mir (in GMT+8) wird die Londoner Zeit verwendet, und deshalb berechnet Gladys um Mitternacht (in meiner Zeitzone) den Sonnenaufgang/Untergang nach Londoner Zeit, also am Vortag.
Siehe:
Okay, es hat etwas gedauert, bis ich es verstanden habe, aber ich denke, ich bin auf dem richtigen Weg:
master ← fix-timezone-sunrise-sunset
ouvert 05:27AM - 22 Mar 21 UTC
### 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:
- [x] If your changes affects code, did your write the tests?
- [x] Are tests passing? (`npm test` on both front/server)
- [x] Is the linter passing? (`npm run eslint` on both front/server)
- [x] Did you run prettier? (`npm run prettier` on both front/server)
- [x] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [ ] 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.json`) 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!
Ich komme voran, aber es ist noch nicht genau das, was ich will.
Für Info, ich habe alle PRs geprüft, die noch offen waren (laut dem, was ich auf Github sehe).
Das war anstrengend
Falls ich eine PR nicht geprüft habe, dann habe ich sie nicht gesehen, also bitte hinterlasst eine Nachricht im Forum, um mich zu informieren
Für die Zeitzonen-Historie ist das normalerweise festgelegt und wird in master gemerged und auf Docker auf dem Tag « dev » gebaut.
Ich habe den Sunset, der bald bei mir laufen wird. Morgen früh werde ich den Sunrise testen.
Jedenfalls scheinen die Logs zu bestätigen, dass es behoben ist (ich habe ausführlichere Logs hinzugefügt):
Sonnenuntergang okay!
Bis morgen zum Sonnenaufgang