Ankündigung

Einklappen
Keine Ankündigung bisher.

Neuer Baustein Hue Group (14100)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • En3rGy
    antwortet
    Steht jetzt im Backlog.

    Einen Kommentar schreiben:


  • diskus
    antwortet
    Ich habe eine OPNSense Firewall, da kann man vieles machen, ich habe gestern auch ein Multicast DNS-Repeater für beide Subnetze in beide Richtungen installiert. Aber es hat nicht funktiuniert. Könntest Du den Baustein mit einer IP erweitern, ich denke immer mehr Nutzer trennen ihre Netze in Maschinen und Menschennetze oder so wie ich in noch viel mehr .

    Vielen Dank!

    Einen Kommentar schreiben:


  • En3rGy
    antwortet
    Wenn ein Routing hierfür definiert ist, muss das Routing auch Multicast in beide Richtungen zulassen - wenn das überhaupt geht.

    Sonst kann das nur gehen wenn das Auto-Discovery wieder mit einem Eingang zur Vorgabe der IP umgangen werden kann.

    Dachte, man könne hier einen Eingang sparen, wer hätte gedacht, dass jemand HS und FritzBox in verschiedene Subnetze packt

    Einen Kommentar schreiben:


  • diskus
    antwortet
    Hallo,
    ich wollte nun von der 2.0 Version auf die neue Version upgraden. Der HS mit 192.168.6.10 findet die Hue nicht mit der IP 192.168.2.3. Sie befinden sich in unterschiedlichen Subnetzen, geht das dann nicht oder kann man irgendwie nachhelfen?

    image.png

    Einen Kommentar schreiben:


  • ArchieSmith
    antwortet
    mit der alten API hat´s ja noch gut funktioniert.
    Ist evtl. auch 3 Byte RGB vorgesehen ?

    Einen Kommentar schreiben:


  • En3rGy
    antwortet
    Zitat von ArchieSmith Beitrag anzeigen
    Die Farbe grün wird auch noch nicht richtig angesteuert
    Das liegt an der Umrechnung von RGB zum xy-Farbraum, der von der Hue verwendet wird. Ich benutze hier eine Bibliothek, die im Netz oft dafür empfohlen ist und z.B. auch bei Philips verlinkt wird. Scheine hier in der Anwendung etwas falsch zu machen, obwohl ich mich IMHO an die Anleitung halte.

    Die Hue Leuchten können abh. vom Modell verschieben Bereiche des Farbraums abdecken. Welcher das ist wird mit Gamut A, B oder C beschrieben. Wenn eine georderte Farbe außerhalb des möglichen Farbaums liegt, wird durch die genutze Bibliothek die der am nächsten kommende Farbe angesteuert. Das sorgt für den (falschen) Effekt, dass Grün nur als Gelb-Grün angesteuert wird. Kennt jemand den Effekt bzw. hat jemand eine Lösungsidee?

    Hier eine Version, bei der ich den Test des möglichen Farbraums herausgenommen habe:
    https://github.com/En3rGy/14100_Hue/releases/tag/v3.5

    Keine Ahnung, was passiert, wenn eine Farbe kommandiert wird, die außerhalb des möglichen Bereichs ist. ChatGPT behauptet, dass die Leuchte selbst die nächst gelegen Farbe darstellt. Was dem beabsichtigten Effekt des Algorithmus entsprechen würde (warum aber dann die Implementierung im Code?). Kann das Verhalten jemand bestätigen?
    Zuletzt geändert von En3rGy; 27.03.2023, 22:22.

    Einen Kommentar schreiben:


  • ArchieSmith
    antwortet
    Die Farbe grün wird auch noch nicht richtig angesteuert

    Einen Kommentar schreiben:


  • erazor1112
    antwortet
    Zitat von DirtyHarry Beitrag anzeigen
    Das ist schon mal ganz falsch.
    Du willst aber nicht die "Befehls-Adresse" abfragen, sondern die "Status-Adresse" und die soll für den Quadclient das Kommunikationsobjekt aktualisieren.
    Zentral-Adresse wäre dafür der richtige Ansatz:
    Es ist alles in KNX Objekten abgebildet und die Status Objekte jetzt mit Zentral Adressen verknüpft.
    Leider habe ich noch immer das gleiche Problem. Hier mal ein paar Screenshots von meiner Config:

    image.png

    Hier noch meine Logik:

    image.png



    QC Config mit Color Picker:

    image.png

    Hast du noch eine Idee was ich falsch mache?

    Einen Kommentar schreiben:


  • DirtyHarry
    antwortet
    Zitat von erazor1112 Beitrag anzeigen
    also habe ich das ganze mit "Watch Adressen" versucht.
    Das ist schon mal ganz falsch.
    Wenn eines der Watch-Objekt auf dem Bus oder im HS/FS geändert wird, wird der Wert des KNX-Objekts, dem die Watch-Adresse zugeordnet ist, auf dem Bus abgefragt.
    Du willst aber nicht die "Befehls-Adresse" abfragen, sondern die "Status-Adresse" und die soll für den Quadclient das Kommunikationsobjekt aktualisieren.
    Zentral-Adresse wäre dafür der richtige Ansatz:
    Wenn eine der Zentral-Adressen (mit Wert) vom HS/FS empfangen wird, werden alle KNX-Objekte, denen diese Zentral-Adresse zugewiesen wurde, auf den Wert des Zentral-Objekts gesetzt.

    Einen Kommentar schreiben:


  • erazor1112
    antwortet
    Hallo,

    ich habe den neuen Baustein mittlerweile im Einsatz und mich würde interessieren wie Ihr die Rückmeldungen im HS / QC umgesetzt habt.
    Ich nutze im QuadClient entsprechende Funktionen für Dimmen / RGB, diese Funktionen haben aber keine Möglichkeit direkt ein Rückmeldeobjekt einzufügen, also habe ich das ganze mit "Watch Adressen" versucht. Sobald ich die Objekte dann zuweise scheinen sich die Telegramme zu überlagern und es funktioniert nicht mehr wirklich.

    Habt Ihr eine Idee woran das liegt?

    Gruß
    Sascha

    Einen Kommentar schreiben:


  • cevers
    antwortet
    Zitat von En3rGy Beitrag anzeigen
    Yes. Search the forum for that one, there are several posts dealing with this topic. If you have a recommendation for me on how to configure the outputs, feel invited to come back with this.
    In my module i used a check with a remanent object before triggering an output, that seems to work now that i put all my modules back.
    Code:
    if (r['action']['on']) == True:
    onoff = 1
    brightness = (math.ceil((r['action']['bri'])/2.55))
    else:
    onoff = 0
    brightness = 0​
    Code:
                if onoff != int(self._get_remanent(self.REM_REMSCHAKEL)):
                    self._set_output_value(self.PIN_O_SCHAKEL, onoff)
                if brightness != int(self._get_remanent(self.REM_REMWAARDE)):
                    self._set_output_value(self.PIN_O_WAARDE, brightness)
              
                self._set_remanent(self.REM_REMSCHAKEL, onoff)
                self._set_remanent(self.REM_REMWAARDE, brightness)​

    Einen Kommentar schreiben:


  • cevers
    antwortet
    Zitat von En3rGy Beitrag anzeigen
    Which verion number is that? I'm currently on 3.3 (development branch)
    Forgive me, forgot to give you the version. Since "latest" version isnt a version 😔
    Its 3.2 which i downloaded today

    Zitat von En3rGy Beitrag anzeigen
    Just checked the api and it's indeed not possible to control lights via the room id or to receive a status. It seems that there is a group generated for each room. I'll try to get mor info on that.
    I dont know why they changed that. In V1 you could just enter the room as a name and you could find the room id and then control the whole room.
    So i just put in "woonkamer" and the room made in the HUE app would respond.

    Zitat von En3rGy Beitrag anzeigen
    Yes. Search the forum for that one, there are several posts dealing with this topic. If you have a recommendation for me on how to configure the outputs, feel invited to come back with this.
    I will have a look in my code how i dealt with that. Better yet: HS QC should just have seperate object for RM instead of this archaic method.

    Zitat von En3rGy Beitrag anzeigen
    I expect that v1 will become obsolete at some point in time.
    Any idea when? Could not find any info on that.

    Einen Kommentar schreiben:


  • En3rGy
    antwortet
    Zitat von cevers Beitrag anzeigen
    With the latest version i'm having a few issues:
    Which verion number is that? I'm currently on 3.3 (development branch)

    Zitat von cevers Beitrag anzeigen
    1. I have to use the grouped light id as the room id will give back the status but i cannot control lights on/off for that room
    Just checked the api and it's indeed not possible to control lights via the room id or to receive a status. It seems that there is a group generated for each room. I'll try to get mor info on that.

    Zitat von cevers Beitrag anzeigen
    2. When using the RM brightness it will create some kind of feedback loop and turning the lights on again.
    Pretty sure this is down to HS as QC dimmer requires me to use a central listening address, and this can do funky things at times
    Yes. Search the forum for that one, there are several posts dealing with this topic. If you have a recommendation for me on how to configure the outputs, feel invited to come back with this.

    Zitat von cevers Beitrag anzeigen
    I can share the code to see if i'm doing something very different.
    Thanks but unfortunatelly, v1 and v2 do have nothing in common. Use your version if it's mor stable for your demands. I expect that v1 will become obsolete at some point in time. Unitl then I hope, the new version works like a charm. Debugging is still dificult. That's why I focus currently on the unit testing stuff. I'll write some trying to catch your obersvations. Nevertheless, I hope to release a new vesion within the next weeks / few month.

    Einen Kommentar schreiben:


  • cevers
    antwortet
    With the latest version i'm having a few issues:
    1. I have to use the grouped light id as the room id will give back the status but i cannot control lights on/off for that room
    2. When using the RM brightness it will create some kind of feedback loop and turning the lights on again.
    Pretty sure this is down to HS as QC dimmer requires me to use a central listening address, and this can do funky things at times
    For example, the value object (%) is 1/2/16 and the RM is 1/4/16, when i set 1/4/16 as listening address for 1/2/16 it will feedback somehow.
    The switch object does not have this problem (1/0/16 and RM 1/3/16)
    Any know workaround?

    As a side note: The hacky module i wrote myself does not have this issue. I can share the code to see if i'm doing something very different.
    It is however for api v1 and does not stream. But relies on trigger for reading the status
    Zuletzt geändert von cevers; 16.03.2023, 12:02.

    Einen Kommentar schreiben:


  • meteosat
    antwortet
    Zitat von En3rGy Beitrag anzeigen

    Bei allen deinen Leuchten sind dir color-Werte leer. Ich erwarte dort die Farbwerte. Was hast du für Lampen? Können die Farben darstellen?
    Ich wollte mal am Wochenende testen, ob ich rausfinden kann welche Aktion den Fehler auslöst.
    Handelt sich um folgenden Lightstrip -> https://www.innr.com/de/produkt/outd...t-colour-2021/

    D.h. ja er kann Farben darstellen. Aktuell hab ich aber nur Ein/Aus und Dimmen im Baustein verbunden.

    Einen Kommentar schreiben:

Lädt...
X