Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Jarvis: Widget für Hörmann Homematic IP Steuerung

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Jarvis: Widget für Hörmann Homematic IP Steuerung

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vlink @MCU last edited by

      @mcu

      Erstmal vielen lieben Dank das Du Dir die Zeit nimmst!

      Ich nutze Jarvis 3.1.2
      Ja habe die Pro Version

      Kenne mich halbwegs in JS aus. Habe einige Scripte auch geschrieben.
      Falls Du mir den Code geben kannst.

      VG
      Volker

      M 1 Reply Last reply Reply Quote 0
      • M
        MCU @vlink last edited by MCU

        @vlink Das Script wäre:

        
        let processDP = 'DP 1.PROCESS';
        let activityDP = '0_userdata.0.jarvis.garage.activity'; // muss angelegt werden, bei mehreren garage1, garage2
        
        createStateAsync(activityDP, {read: true, write: false, name: "Garage Hörmann Activity", desc:"Activity für Garage", type: "boolean",  def: false });
        
        on({id: processDP, change: "any"}, function (obj) {
            let value = obj.state.val;
            if(value == 0){
                setState(activityDP,false,true);
            }else{
                setState(activityDP,true,true);
            }
        });
        
        

        Der Activity DP muss ein boolean DP sein. Da Dein PROCESS DP aber number ist, muss das script laufen.
        8ae10143-6818-480b-ae0e-db49779e0461-image.png

        Gerät - Hörmann
        a97ac7bb-0dda-4aef-b179-0635d46931ce-image.png

        Mein num3 ist Dein DOOR_COMMAND-DP musst du entsprechend in den Geräte-DPs anpassen!
        52ea7f74-0aba-427c-82ed-300fac953442-image.png
        STOP-DP

        /* Datenpunkt-Eigenschaften */
        {"stop":2}
        /* Icon */
        {"1":"window-shutter-open","2":"window-shutter-alert","3":"window-shutter","4":"window-shutter-settings","default":"window-shutter-alert"}
        

        4cc8d0d0-5e1a-4726-977b-a206fb45da73-image.png
        Muss gerade weg, gleich weiter.
        Activity-DP

        /* Anzeige-Variante */
        {"true":"blind#activity#true","false":"blind#activity#false"}
        /* Icon */
        {"true":"pan-vertical","false":"dots-vertical"}
        

        19e56509-38aa-4110-a4fc-046d335f70bf-image.png
        LEVEL-DP

        /*Anzeigevariante */
        {"{0_userdata.0.jarvis.garage.activity}=false && {val}=1":"oben","{0_userdata.0.jarvis.garage.activity}=false && {val}=3":"unten","{0_userdata.0.jarvis.garage.activity}=false && {val}=2":"gestoppt","{0_userdata.0.jarvis.garage.activity}=false && {val}=4":"Ventilation Position","{0_userdata.0.jarvis.garage.activity}=true && {val}=1":"läuft nach oben","{0_userdata.0.jarvis.garage.activity}=true && {val}=3":"läuft nach unten"}
        /* Datenpunkt-Eigenschaften*/
        {"min":1,"max":3,"stop":2}
        /* Icon */
        {"1":"window-shutter-open","2":"window-shutter-alert","3":"window-shutter","4":"window-shutter-settings","default":"window-shutter-alert"}
        

        c8e6b100-c015-4d61-996c-8d3c684d80e9-image.png
        Ventilation-DP

        /*Anzeige-Variante*/
        {"4":"Ventilation eingeschaltet","default":"OFF"}
        /* datenpunkt-Eigenschaften */
        {"on":"4"}
        /* Icon */
        {"4":"mdi:ventilation","default":"mdi:ventilation-off"}
        

        89e2c160-0ffc-4cae-b845-c77d81afc569-image.png

        Layout -> Module stateList
        4b003678-91a3-41b7-bd81-080cb8f5489c-image.png

        Styles-Einträge

        /* WidgetID anpassen */
        /* HÖRMANN */
        
        .jarvis-widget-41175724-1c84-4f8d-9f51-05fc46d74ad1 .mdi-chevron-down {
        	color: transparent;
        	background: url('https://api.iconify.design/mdi/chevron-up.svg?color=grey') no-repeat center center / contain;
        }
        
        .jarvis-widget-41175724-1c84-4f8d-9f51-05fc46d74ad1 .mdi-chevron-up {
        	color: transparent;
        	background: url('https://api.iconify.design/mdi/chevron-down.svg?color=grey') no-repeat center center / contain;
        }
        
        
        V 1 Reply Last reply Reply Quote 0
        • V
          vlink @MCU last edited by

          @mcu

          DANKE!

          So halbwegs geht es schon langsam.
          Bei mir ist in der Jarvis nur der Stop Button in der mitte ausgegraut und hat keine Funktion.

          M 1 Reply Last reply Reply Quote 0
          • M
            MCU @vlink last edited by MCU

            @vlink Dann ist der Activity-DP noch falsch? Zeig mal.
            Wie hast du das Script angepasst? Bitte mal zeigen.

            V 1 Reply Last reply Reply Quote 0
            • V
              vlink @MCU last edited by

              @mcu

              der passt eigentlich:

              2023-05-16 23_05_13-Jarvis – Mozilla Firefox.png

              2023-05-16 23_05_34-Jarvis – Mozilla Firefox.png

              M V 2 Replies Last reply Reply Quote 0
              • M
                MCU @vlink last edited by

                @vlink Hast du das dort eingetragen?
                0bb08d2f-67f7-4af4-9c79-a831b9233e68-image.png

                V 1 Reply Last reply Reply Quote 0
                • V
                  vlink @vlink last edited by

                  @vlink

                  ich denke es liegt daran, dass momentan keine kommunikation von der CCU3 zum Hörmann HM IP Modul stattfindet.
                  Habe gerade gemerkt das ich es aus der CCU3 direkt gerade auch nicht steuern kann.

                  1 Reply Last reply Reply Quote 0
                  • V
                    vlink @MCU last edited by

                    @mcu

                    ja

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @vlink last edited by MCU

                      @vlink Die Styles passen noch nicht:
                      39128ccc-e6dc-418e-a6d6-efa8e32d6606-image.png
                      56136eca-2dc8-4046-9a7d-763e828dff35-image.png

                      Die Icons kann man noch anpassen
                      ac6398dc-4f87-4e3d-820b-f346b372cd07-image.png
                      Ventilations-DP - IconButtonAction -> editor
                      1dd5b901-28dc-4f59-b407-5966a1cc3953-image.png

                      V 1 Reply Last reply Reply Quote 0
                      • V
                        vlink @MCU last edited by

                        @mcu

                        2023-05-16 23_11_26-Jarvis – Mozilla Firefox.png

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          vlink @vlink last edited by

                          @vlink

                          2023-05-16 23_11_56-Jarvis – Mozilla Firefox.png

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MCU @vlink last edited by

                            @vlink Die untere WidgetID wurde nicht angepasst:
                            f1ed76f3-886a-46b2-a616-3ac0c712000a-image.png

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              vlink @MCU last edited by

                              @mcu

                              doch hatte ich
                              falscher screenshot.
                              das ist aktuell:

                              2023-05-16 23_14_11-Jarvis – Mozilla Firefox.png

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                MCU @vlink last edited by

                                @vlink Dann passt es jetzt mit meinem?
                                Im Level-DP das % bei der Einheit mit einem Leerzeichen entfernen

                                V 1 Reply Last reply Reply Quote 0
                                • V
                                  vlink @MCU last edited by

                                  @mcu

                                  Stopp ist weiterhin gegraut
                                  Aber liegt wahrscheinlich daran, dass das Hörmann Modul aktuell nicht reagiert oder?

                                  Würde es morgen nochmal testen.

                                  VIELEN VIELEN DANK SCHONMAL!!

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MCU @vlink last edited by

                                    @vlink ok. Gerne.

                                    V 1 Reply Last reply Reply Quote 0
                                    • V
                                      vlink @MCU last edited by

                                      @mcu

                                      Guten Morgen.
                                      Also die Steuerung von der CCU geht wieder.

                                      Mittels Jarvis geht auch hoch und runter fahren.
                                      Der Stop Button hat weiterhin keine funktion. Ist ausgegraut.

                                      Auch die Ventilationsfunktion geht nicht.

                                      Hast Du das als Text zum reinkopieren:
                                      2023-05-17 10_40_35-1684256663235-4b003678-91a3-41b7-bd81-080cb8f5489c-image.png (PNG-Grafik, 1364 ×.png

                                      Der DP unter 0_userdata > Activity ändert sich auch nie. Steht immer auf False.

                                      VG

                                      V 1 Reply Last reply Reply Quote 0
                                      • V
                                        vlink @vlink last edited by

                                        @vlink

                                        Wie wird in dem Script 'DP 1.Process' eigentlich getriggert?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          MCU last edited by MCU

                                          @vlink Da musst du den DP eintragen -> aus den Objekten kopieren und einfügen.
                                          16d6f4d5-979a-4dbf-aea0-2c46878d385d-image.png
                                          s.o.
                                          187799e7-8ef0-4598-a9f0-994d1ccdbeec-image.png
                                          Der ändert sich ja, wenn das Tor gefahren wird?

                                          Zeig mal den Ventilations-Geräte-DP

                                          Welche Werte nehmen die DPs an?
                                          d3f9af6b-d7f2-4fd6-b19e-8809646c650a-image.png

                                          Ventilation-DP
                                          s.o.

                                          /*Anzeige-Variante*/
                                          {"4":"Ventilation eingeschaltet","default":"OFF"}
                                          /* datenpunkt-Eigenschaften */
                                          {"on":"4"}
                                          /* Icon */
                                          {"4":"mdi:ventilation","default":"mdi:ventilation-off"}
                                          /* Label */
                                          {"default":"Ventilation einschalten"}
                                          
                                          V 1 Reply Last reply Reply Quote 0
                                          • V
                                            vlink @MCU last edited by

                                            @mcu

                                            Hier mal alle Screenshots:

                                            2023-05-17 10_59_15-Jarvis – Mozilla Firefox.png
                                            2023-05-17 10_59_39-Jarvis – Mozilla Firefox.png
                                            2023-05-17 10_59_47-Jarvis – Mozilla Firefox.png
                                            2023-05-17 10_59_56-Jarvis – Mozilla Firefox.png
                                            2023-05-17 11_00_08-Jarvis – Mozilla Firefox.png
                                            2023-05-17 11_00_16-objects - ioBroker – Mozilla Firefox.png
                                            2023-05-17 11_00_41-javascript - ioBroker – Mozilla Firefox.png
                                            2023-05-17 11_01_11-Jarvis – Mozilla Firefox.png
                                            2023-05-17 11_01_43-objects - ioBroker – Mozilla Firefox.png
                                            2023-05-17 11_01_59-Jarvis – Mozilla Firefox.png

                                            M 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            895
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            60
                                            2476
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo