Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. (Gelöst)Lüfterdrehung geschwindigkeitsabhängig darstellen

    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

    (Gelöst)Lüfterdrehung geschwindigkeitsabhängig darstellen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Damrak2022
      Damrak2022 @liv-in-sky last edited by Damrak2022

      @liv-in-sky Erstmal danke. Blöde Frage kommt die Formel in die Script, ode beim Widget bei den Skripten rein. Habe beides probiert, geht aber noch nicht.
      Bildschirmfoto 2022-08-19 um 08.12.56.png
      Bildschirmfoto 2022-08-19 um 08.13.16.png

      Achse, was muss ich nun bei CSS Klasse eintragen?

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

        @damrak2022 ersetze deine css einträgge mit meinen (i mcss tab)

        und die formel gehört wieder im widget unter CSS Klasse

        Image 031.png

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

          @liv-in-sky Ja, habe ich bereits gemacht, aber ohne Erfolg. Sieht so aus:

          .v-btn--fab.v-size--default {
              height: 30px !important;
              width: 30px !important;
              
          }
          
          
          .rotateanimation-slow{
           
           
           
            animation-name: spin2;
           
            animation-duration: 2000ms;
           
            animation-iteration-count: infinite;
           
            animation-timing-function: linear;
           
          }
           
          .rotateanimation-middle{
           
           
           
            animation-name: spin2;
           
            animation-duration: 1200ms;
           
            animation-iteration-count: infinite;
           
            animation-timing-function: linear;
           
          }
           
          .rotateanimation-fast{
           
           
           
            
           
            animation-name: spin2;
           
            animation-duration: 800ms;
           
            animation-iteration-count: infinite;
           
            animation-timing-function: linear;
           
          }
           
          .rotateanimation-veryfast{
           
           
           
           
           
          animation-name: spin2;
           
            animation-duration: 400ms;
           
            animation-iteration-count: infinite;
           
            animation-timing-function: linear;
           
          }
          
          
          
          }
          
          .chaot.vis-owl-parcel-headline{
              border-radius: 3px 3px 3px 3px;
              height: 26px;
              width: 160px;
          
          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Damrak2022 last edited by

            @damrak2022

            in zeile 70 ist eine klammer, die da nicht hingehört

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

              @liv-in-sky Ändert nichts, kurzes Telefonat?

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

                @damrak2022 kurz - muss dann bald weg

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

                  @liv-in-sky Das ist das einzige was in der Google Konsole zu sehen ist:

                  Bildschirmfoto 2022-08-19 um 09.14.30.png

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

                    @damrak2022

                    zum test

                    .anime{
                      transform: rotateY!important;
                        animation: roll 5s infinite !important;;
                      
                    }
                    
                    @keyframes roll {
                      0% {
                        transform: rotate(0);
                      }
                      100% {
                        transform: rotate(360deg);
                      }
                    }
                    
                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Damrak2022 last edited by liv-in-sky

                      @damrak2022

                      neuer test:

                      das hier in den css tab -

                      .rotateanimation-slow {
                        animation: rotation 2800ms infinite linear;
                      }
                      
                      .rotateanimation-middle {
                        animation: rotation 1800ms infinite linear;
                      }
                      
                      .rotateanimation-fast {
                        animation: rotation 1200ms infinite linear;
                      }
                      
                      .rotateanimation-veryfast {
                        animation: rotation 700ms infinite linear;
                      }
                      
                      @keyframes rotation {
                        from {
                          transform: rotate(0deg);
                        }
                        to {
                          transform: rotate(359deg);
                        }
                      }
                      

                      das ist in der css klasse

                      {myVar:javascript.0.MiHomeAll.293261118.power; mySpeed:javascript.0.MiHomeAll.293261118.speed_level;myVar=="true" ? mySpeed==0 ? "" : mySpeed==25 ? "rotateanimation-slow" : mySpeed==50 ? "rotateanimation-middle" : mySpeed==75 ? "rotateanimation-fast" : mySpeed==100 ? "rotateanimation-veryfast" : "" : ""} 
                      

                      wurde hier getestet:
                      https://forum.iobroker.net/topic/57302/suche-tester-vis-in-safari-css-eintrag?_=1661000048874

                      Damrak2022 1 Reply Last reply Reply Quote 1
                      • Damrak2022
                        Damrak2022 @liv-in-sky last edited by

                        @liv-in-sky Super, jetzt funktioniert es perfekt👍 - Danke für Deine Hilfe.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        933
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        2
                        17
                        738
                        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