Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter time-switch v2.0.x GitHub/Latest

    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

    Test Adapter time-switch v2.0.x GitHub/Latest

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      toki1973 last edited by

      Ich habe den Adapter über die "Katze" von Github geladen. Lt. Log sieht es eigentlich gut aus, aber ich sehe die Instanz nicht.

      $ ./iobroker url "https://github.com/walli545/ioBroker.time-switch" --debug
      install https://github.com/walli545/ioBroker.time-switch/tarball/bc176c62ccfaebc63ccc8d117f45ac2f5d0a1922
      NPM version: 6.13.4
      npm install https://github.com/walli545/ioBroker.time-switch/tarball/bc176c62ccfaebc63ccc8d117f45ac2f5d0a1922 --loglevel error --prefix "/opt/iobroker" (System call)
      + iobroker.time-switch@2.1.0updated 1 package in 53.852s
      68 packages are looking for funding  run `npm fund` for details
      upload [15] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/words.js words.js application/javascript
      upload [14] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/tsconfig.json tsconfig.json application/json
      upload [13] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/time-switch.png time-switch.png image/png
      upload [12] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/style.css style.css text/css
      upload [11] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/index_m.html index_m.html text/html
      upload [10] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
      upload [9] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
      upload [8] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
      upload [7] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
      upload [6] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
      upload [5] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/it/translations.json i18n/it/translations.json application/json
      upload [4] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
      upload [3] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/es/translations.json i18n/es/translations.json application/json
      upload [2] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/en/translations.json i18n/en/translations.json application/json
      upload [1] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/i18n/de/translations.json i18n/de/translations.json application/json
      upload [0] time-switch.admin /opt/iobroker/node_modules/iobroker.time-switch/admin/admin.d.ts admin.d.ts video/mp2t
      Adapter "system.adapter.vis.0" restarted.
      process exited with code 0
      
      liv-in-sky 1 Reply Last reply Reply Quote 1
      • liv-in-sky
        liv-in-sky @toki1973 last edited by

        @toki1973 wenn du über die katze installierst, musst du die instanz "von hand" hinzufügen

        Image 1.png

        T 1 Reply Last reply Reply Quote 0
        • T
          toki1973 @liv-in-sky last edited by

          @liv-in-sky
          🤦 Vielen Dank! Ich hatte das vorher noch nicht gemacht - nun sehe ich ihn 🙂

          1 Reply Last reply Reply Quote 1
          • T
            toki1973 last edited by

            Nun bekomme ich das Widget nicht mehr in der VIS angezeigt. Ich starte die VIS dann erscheint es kurz und dann wird das Widget als Strin (unescaped)

            walli545 1 Reply Last reply Reply Quote 0
            • walli545
              walli545 @toki1973 last edited by

              @toki1973 Hallo, könntest du bitte noch genauer beschreiben was du machst und was passiert? Bitte auch noch einen Log der Browser Konsole mitgeben (F12 -> Console)

              @all Ich arbeite aktuell an den bedingten Triggern. In der Adapter Logik habe ich diese bereits umgesetzt und getestet, muss nur noch das Widget anpassen.

              1 Reply Last reply Reply Quote 0
              • T
                toki1973 last edited by

                Beim Laden der VIS sehe ich das Widget - dann aber wird es nicht mehr dargestellt

                ![alt text](a1756915-ed2e-451a-afe2-fb053c4dbd71-image.png image url)

                walli545 arteck 2 Replies Last reply Reply Quote 0
                • walli545
                  walli545 @toki1973 last edited by

                  @toki1973 bitte noch den Browser log anfügen (F12 -> Konsole) und folgende Fragen beantworten:

                  • Welche Version ist installiert (link)?
                  • Hast du in den Instanzeinstellungen (Admin) Schedules angelegt?
                  • Gibt es Fehler im Log von time-switch (Admin)?
                  • Kannst du auf das Widget im Editor klicken und dann Einstellungen vornehmen?
                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active @toki1973 last edited by

                    @toki1973 z-index angepasst.. ich wette nich

                    1 Reply Last reply Reply Quote 0
                    • K Grün
                      K Grün last edited by

                      Hallo,
                      bei mir taucht kein Widget im VIS auf.
                      Bin ich wirklich der einzige bei dem das so ist ?

                      Habe Iobroker , vis neu gestartet . Cache gelöscht usw. instanz ist da.

                      Hab ich irgendwas überlesen ?

                      K Grün 1 Reply Last reply Reply Quote 0
                      • K Grün
                        K Grün @K Grün last edited by

                        @K-Grün said in Test Adapter time-switch v2.0.x GitHub/Latest:

                        Hallo,
                        bei mir taucht kein Widget im VIS auf.
                        Bin ich wirklich der einzige bei dem das so ist ?

                        Habe Iobroker , vis neu gestartet . Cache gelöscht usw. instanz ist da.

                        Hab ich irgendwas überlesen ?

                        AH nochmal
                        iobroker upload time-switch

                        nu gehts. doch was überlesen

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AndreasW63 @K Grün last edited by

                          Hallo,

                          ich bin neuer Anwender des ioBroker.
                          Bisher bin ich mit der Konfiguration bzw. Einrichtung ganz gut vorangekommen.

                          Zunächst ein großes Lob an die Tester und Entwickler des Time-Switch.
                          Der Time-Switch ist eine Anwendung nach meinem Geschmack.
                          Das die Einbindung in das System vielleicht noch etwas hakelig ist, stört mich bei dem jungen Produkt nicht.

                          Allerdings habe ich mit dem Handling ein Problem bei dem ich nicht so recht weiter komme.

                          Die ersten "Schaltuhren" habe ich zum Testen auf einer separaten Seite meiner ioBroker Seite erstellt.
                          Rufe ich die Seite direkt aus dem Vis Editor auf, werden die Einträge korrekt dargestellt.
                          Ansicht time-switch - ohne Slider Tabs.png
                          Rufe ich die Seite über die SliderTabs auf sieht es aus wie folgt:

                          Ansicht time-switch - Slider Tabs.png

                          Wo kann ich ansetzen ?

                          Gruß Andreas

                          Raspberry 4 4GB RAM
                          PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                          NAME="Raspbian GNU/Linux"
                          VERSION_ID="10"
                          VERSION="10 (buster)"
                          Node.js v12.18.3
                          NPM 6.14.6
                          Admin 4.0.10
                          WEB Server 3.0.12
                          Visualisation 1.2.11

                          walli545 1 Reply Last reply Reply Quote 0
                          • Stephan Schleich
                            Stephan Schleich @sigi234 last edited by Stephan Schleich

                            @sigi234 Sigi wie hast du die Größe der Wochentage verändert und die farblichen Kennzeichnungen?
                            Bei mir wird nur die Überschrift kleiner

                            9bdd7d7a-9aaa-4c1c-92a6-b0a19913686f-image.png

                            Edit: Habs gefunden, gibt CSS Customs - vllt magst deine ja mal teilen

                            sigi234 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @Stephan Schleich last edited by

                              @Stephan-Schleich sagte in Test Adapter time-switch v2.0.x GitHub/Latest:

                              Edit: Habs gefunden, gibt CSS Customs - vllt magst deine ja mal teilen

                              Ist Online:

                              https://forum.iobroker.net/topic/28717/vis-von-sigi234/432

                              Stephan Schleich 1 Reply Last reply Reply Quote 1
                              • Stephan Schleich
                                Stephan Schleich @sigi234 last edited by Stephan Schleich

                                @sigi234 Ich meinte die CSS Settings fürs Widget im Vis Editor 🙂

                                sigi234 1 Reply Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active @Stephan Schleich last edited by sigi234

                                  @Stephan-Schleich sagte in Test Adapter time-switch v2.0.x GitHub/Latest:

                                  @sigi234 Ich meinte die CSS Settings fürs Widget im Vis Editor 🙂

                                  app-on-off-schedule-widget {
                                      /* Primary color (button background, toggle switch color) */
                                      --ts-widget-primary-color: #337ab7;
                                  
                                      /* Background color of the widget */
                                      --ts-widget-bg-color: #424242;
                                      /* Background color of the triggers */
                                      --ts-widget-trigger-bg-color: #272727;
                                  
                                      /* Foreground color (font color and scrollbar color) */
                                      --ts-widget-fg-color: white;
                                      /* Font color of the switched states id */
                                      --ts-widget-oid-fg-color: #a5a5a5;
                                      /* Font color in buttons */
                                      --ts-widget-btn-fg-color: white;
                                      /* Font color of a disabled weekday */
                                      --ts-widget-weekdays-disabled-fg-color: #5D5D5D;
                                      /* Font color of an enabled weekday */
                                      --ts-widget-weekdays-enabled-fg-color: white;
                                      /* Font color of the name of the widget (defaults to --ts-widget-fg-color) */
                                      --ts-widget-name-fg-color: white;
                                      /* Font color of switched time (defaults to --ts-widget-fg-color) */
                                      --ts-widget-switched-time-fg-color: white;
                                      /* Font color of switched value (defaults to --ts-widget-fg-color)*/
                                      --ts-widget-switched-value-fg-color: white;
                                      /* Font color of the astro time (defaults to --ts-widget-fg-color) */
                                      --ts-widget-astro-time-fg-color: black;
                                      /* Font color of the astro time's shift */
                                      --ts-widget-astro-shift-fg-color: #5d5d5d;
                                  
                                      /* Font family used in the whole widget */
                                      --ts-widget-font-family: 'Roboto', 'Segoe UI', BlinkMacSystemFont, system-ui, -apple-system;
                                      /* Font size of the name of the widget */
                                      --ts-widget-name-font-size: 2em;
                                      /* Font size of the switched oid */
                                      --ts-widget-oid-font-size: 30px;
                                  
                                      /* Applies a filter to icons used in buttons (safe, edit, remove, cancel), for
                                         white use invert(1) and for black invert(0) */
                                      --ts-widget-img-btn-filter: invert(1);
                                      
                                      /* Add trigger dropdown background color */
                                      --ts-widget-add-trigger-dropdown-bg-color: #f1f1f1;
                                      /* Add trigger dropdown font color */
                                      --ts-widget-add-trigger-dropdown-fg-color: black;
                                      /* Add trigger dropdown hover background color */
                                      --ts-widget-add-trigger-dropdown-hover-bg-color: #ddd;
                                  
                                      /* ! Changing these may break the layout, change at your own risk */
                                  
                                      /* Font size of weekdays */
                                      --ts-widget-weekdays-font-size: 23px;
                                      /* Font size of switched value (on/off) */
                                      --ts-widget-switched-value-font-size: 2em;
                                      /* Font size of switched time */
                                      --ts-widget-switched-time-font-size: 2em;
                                      /* Font size of the astro time (e.g. Sunrise, ...) */
                                      --ts-widget-astro-time-font-size: 1.5em;
                                      /* Font size of the astro time's shift */
                                      --ts-widget-astro-shift-font-size: 1em;
                                  }
                                  
                                  Stephan Schleich 1 Reply Last reply Reply Quote 1
                                  • Stephan Schleich
                                    Stephan Schleich @sigi234 last edited by Stephan Schleich

                                    @sigi234 komisch, sieht damit nicht so wie auf deim letzten Bild aus, die Wochentage sind gleich groß geblieben und haben auch keine farbe, muss ich mich mal spielen, aber Vielen Dank 👍

                                    /** Time-Switch Widget **/
                                    app-on-off-schedule-widget {
                                        /* Primary color (button background, toggle switch color) */
                                        --ts-widget-primary-color: #337ab7;
                                    
                                        /* Background color of the widget */
                                        --ts-widget-bg-color: #424242;
                                        /* Background color of the triggers */
                                        --ts-widget-trigger-bg-color: #272727;
                                    
                                        /* Foreground color (font color and scrollbar color) */
                                        --ts-widget-fg-color: white;
                                        /* Font color of the switched states id */
                                        --ts-widget-oid-fg-color: #a5a5a5;
                                        /* Font color in buttons */
                                        --ts-widget-btn-fg-color: white;
                                        /* Font color of a disabled weekday */
                                        --ts-widget-weekdays-disabled-fg-color: red;
                                        /* Font color of an enabled weekday */
                                        --ts-widget-weekdays-enabled-fg-color: green;
                                        /* Font color of the name of the widget (defaults to --ts-widget-fg-color) */
                                        --ts-widget-name-fg-color: white;
                                        /* Font color of switched time (defaults to --ts-widget-fg-color) */
                                        --ts-widget-switched-time-fg-color: white;
                                        /* Font color of switched value (defaults to --ts-widget-fg-color)*/
                                        --ts-widget-switched-value-fg-color: white;
                                        /* Font color of the astro time (defaults to --ts-widget-fg-color) */
                                        --ts-widget-astro-time-fg-color: black;
                                        /* Font color of the astro time's shift */
                                        --ts-widget-astro-shift-fg-color: #5d5d5d;
                                    
                                        /* Font family used in the whole widget */
                                        --ts-widget-font-family: 'Roboto', 'Segoe UI', BlinkMacSystemFont, system-ui, -apple-system;
                                        /* Font size of the name of the widget */
                                        --ts-widget-name-font-size: 2em;
                                        /* Font size of the switched oid */
                                        --ts-widget-oid-font-size: 12px;
                                    
                                        /* Applies a filter to icons used in buttons (safe, edit, remove, cancel), for
                                           white use invert(1) and for black invert(0) */
                                        --ts-widget-img-btn-filter: invert(1);
                                        
                                        /* Add trigger dropdown background color */
                                        --ts-widget-add-trigger-dropdown-bg-color: #f1f1f1;
                                        /* Add trigger dropdown font color */
                                        --ts-widget-add-trigger-dropdown-fg-color: black;
                                        /* Add trigger dropdown hover background color */
                                        --ts-widget-add-trigger-dropdown-hover-bg-color: #ddd;
                                    
                                        /* ! Changing these may break the layout, change at your own risk */
                                    
                                        /* Font size of weekdays */
                                        --ts-widget-weekdays-font-size: 16px;
                                        /* Font size of switched value (on/off) */
                                        --ts-widget-switched-value-font-size: 2em;
                                        /* Font size of switched time */
                                        --ts-widget-switched-time-font-size: 2em;
                                        /* Font size of the astro time (e.g. Sunrise, ...) */
                                        --ts-widget-astro-time-font-size: 1.5em;
                                        /* Font size of the astro time's shift */
                                        --ts-widget-astro-shift-font-size: 1em;
                                    }
                                    
                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @Stephan Schleich last edited by

                                      @Stephan-Schleich

                                      So, das Richtige!

                                      Stephan Schleich 1 Reply Last reply Reply Quote 1
                                      • Stephan Schleich
                                        Stephan Schleich @sigi234 last edited by

                                        @sigi234 Danke, hab's schon gefunden 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • qqolli
                                          qqolli @walli545 last edited by

                                          @walli545

                                          Hallo Walli,

                                          ich habe Deinen Adapter istallier, aber wenn ich die Adaptereinstellungen öffne, kann ich zwar einen neuen Schaltplan hinzufügen, aber nicht editieren:

                                          ade561d6-cc23-4cb5-b0b1-88957bfa1e93-image.png

                                          Widget taucht in der Vis auf, aber ohne gültige ID geht er natürlich nicht.

                                          Stephan Schleich 1 Reply Last reply Reply Quote 0
                                          • Stephan Schleich
                                            Stephan Schleich @qqolli last edited by

                                            @qqolli Das setzt du dann alles via Widget in der Vis

                                            qqolli 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            752
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter switch test time vis zeitschaltuhr
                                            75
                                            481
                                            88042
                                            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