Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. [gelöst]: Stunde aus Zeitobjekt auslesen

    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]: Stunde aus Zeitobjekt auslesen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @pingo last edited by

      @pingo sagte in Stunde aus Zeitobjekt auslesen:

      setState('0_userdata.0.Ladescript.Startuhrzeit_2h'/Startuhrzeit 2h/, parseInt(time.split(' ')[1]), true);

      existiert der DP ?

      1. Zeile 6. Zeichen passt gar nicht!
        hast du globale Skripte?
      P 1 Reply Last reply Reply Quote 0
      • P
        pingo @Homoran last edited by

        @homoran Der DP existiert und ich denke, dass die Script global sind (woran sehe ich das?)

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @pingo last edited by

          @pingo sagte in Stunde aus Zeitobjekt auslesen:

          dass die Script global sind

          hoffentlich nicht!

          @pingo sagte in Stunde aus Zeitobjekt auslesen:

          woran sehe ich das?

          liegen sie im skripte Explorer im Verzeichnis global?
          das ist nicht ohne Grund nur im Expertenmodus sichtbar

          P 1 Reply Last reply Reply Quote 0
          • P
            pingo @Homoran last edited by pingo

            @homoran Nein den Expertenmodus habe ich nicht an. Die Script sind im Hauptscriptordner.

            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @pingo last edited by

              @pingo sagte in Stunde aus Zeitobjekt auslesen:

              @homoran Nein den Expertenmodus habe ich nicht an. Die Script sind im Hauptscriptordner.

              das passt nicht zu meiner Frage!

              mach den Expertenmodus an und sieh nach ob da irgendetwas im Verzeichnis global drin ist.

              P 1 Reply Last reply Reply Quote 0
              • P
                pingo @Homoran last edited by

                @homoran Global ist leer

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @pingo last edited by

                  @pingo sehr gut.
                  nur dann verstehe ich 7:6 nicht

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @pingo last edited by

                    @pingo sagte: Warnung wegen der 2.Zeile

                    Vermutung: Der Datenpunkt ist nicht vom Typ "Zahl"? Im Tab "Protokolle" finden sich mehr Informationen.

                    P 1 Reply Last reply Reply Quote 1
                    • P
                      pingo @paul53 last edited by

                      @paul53 Du bist genial

                      Das ist der Datenpunkt. Wie ändere ich ihn bitte auf Typ Zahl?:

                      {
                        "common": {
                          "name": "Startuhrzeit 2h",
                          "desc": "Manuell erzeugt",
                          "role": "state",
                          "type": "array",
                          "read": true,
                          "write": true
                        },
                        "type": "state",
                        "native": {},
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1707581291812,
                        "_id": "0_userdata.0.Ladescript.Startuhrzeit_2h",
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pingo @pingo last edited by pingo

                        Ich glaube, ich habe es herausgefunden: type "number" statt "array". Fehlermeldung ist weg! Top

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        882
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        3
                        20
                        456
                        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