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.
    • 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
                        • qqolli
                          qqolli @Stephan Schleich last edited by

                          @Stephan-Schleich

                          Hallo Stephan,

                          wie soll das gehen? In der Anleitung steht, das das in den Adaptereinstellungen zu erfolgen hat, erst dann gibt es eine gültige ID; diese ist dann in der Vis einzutragen.

                          In der Vis steht dann:

                          a6b0b7aa-2f73-4ef9-bce3-ecdf34541b7f-image.png

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

                            @qqolli 12a13069-c7c0-491e-b3ff-043a08e7b2b8-image.png

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

                              @Stephan-Schleich

                              Das geht leider auch nicht:

                              ec065d15-b2be-43a8-8e11-1339c1573e57-image.png

                              oder muss unter stateID[1] zwingend ein alias angegeben werden?

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

                                @qqolli

                                Welche Version vom Adapter?

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

                                  @sigi234

                                  Hallo Sigi,

                                  es ist die v.2.1.0

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

                                    @qqolli Lösch mal den Eintrag in der Instanz und legs neu an, wenn man manuell im Objekt was rummodelt spinnt es machmal hatte ich schon mal, konnte via Widget nix mehr editieren

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

                                      @Stephan-Schleich

                                      Das bringt leider rein gar nichts.

                                      Wenn ich den Adapter neu starte bekomme ich im Log die folgende Ausgabe:

                                      time-switch.0	2020-09-18 19:45:01.652	info	2
                                      time-switch.0	2020-09-18 19:45:01.652	info	(27697) starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.time-switch, node: v12.18.4, js-controller: 3.1.6
                                      time-switch.0	2020-09-18 19:44:58.012	warn	(26761) Got terminate signal. Checking desired PID: 27697 vs own PID 26761
                                      time-switch.0	2020-09-18 19:44:58.005	info	(26761) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      time-switch.0	2020-09-18 19:44:58.003	info	(26761) terminating
                                      time-switch.0	2020-09-18 19:44:58.002	info	(26761) cleaned everything up...
                                      time-switch.0	2020-09-18 19:44:57.997	warn	(26761) Got terminate signal. Checking desired PID: 0 vs own PID 26761
                                      
                                      
                                      Stephan Schleich 1 Reply Last reply Reply Quote 0
                                      • Stephan Schleich
                                        Stephan Schleich @qqolli last edited by

                                        @qqolli Kein Plan dann.
                                        @walli545 Die Standard Größe muss größer werden Astro wird am Anfang verdeckt
                                        07895398-1550-41a8-adf5-d43712acaa7f-image.png

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

                                          @walli545 Gäbe es auch eine Möglichkeit die Automatik mit einer Anwesenheitsprüfung zu kombinieren?

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

                                            @Stephan-Schleich

                                            Kein Problem, hab ihn am Ende doch noch zum laufen gebracht 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            787
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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