Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Fehler (Bool) wahr / falsch mit Zahl ersetzen

    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

    Fehler (Bool) wahr / falsch mit Zahl ersetzen

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

      Was steht denn in dem State:
      @Tom10web sagte in Fehler (Bool) wahr / falsch mit Zahl ersetzen:

      the state "sonoff.0.S_Bridge.RfKey3"

      Schraubenschlüssel unter Objects -> RAW

      Inhalt hier posten

      1 Reply Last reply Reply Quote 0
      • Tom10web
        Tom10web last edited by

        {
        "from": "system.adapter.sonoff.0",
        "user": "system.user.admin",
        "ts": 1556991615444,
        "common": {
        "name": "S_Bridge_50 RfKey3",
        "type": "number",
        "role": "value",
        "read": true,
        "write": true
        },
        "native": {},
        "acl": {
        "object": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator",
        "state": 1636
        },
        "_id": "sonoff.0.S_Bridge_50.RfKey3",
        "type": "state"
        }

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

          @Tom10web sagte in Fehler (Bool) wahr / falsch mit Zahl ersetzen:

          "type": "number",

          ok, dann versuch mal 0 und 1

          1 Reply Last reply Reply Quote 0
          • Tom10web
            Tom10web last edited by

            also ich hab jetzt type mit 0 ersetzt und number mit 1
            es kommt keine Fehler / warn Meldung mehr, aber schaltet auch nicht
            "from": "system.adapter.sonoff.0",
            "user": "system.user.admin",
            "ts": 1556991615444,
            "common": {
            "0": 1,
            "name": "S_Bridge_50 RfKey3",
            "role": "value",

            1 Reply Last reply Reply Quote 0
            • Tom10web
              Tom10web last edited by

              vermutlich habe ich das falsch verstanden

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

                @Tom10web sagte in Fehler (Bool) wahr / falsch mit Zahl ersetzen:

                vermutlich habe ich das falsch verstanden

                Ja,

                @Tom10web sagte in Fehler (Bool) wahr / falsch mit Zahl ersetzen:

                Ich verstehe nur, das ich true / false ersetzen soll, aber wie ?

                Das solltest du mit 1, 0 ersetzen
                Den State bitte wieder original herstellen

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

                  @Homoran
                  Danke mach ich

                  Tom10web 1 Reply Last reply Reply Quote 0
                  • Tom10web
                    Tom10web @Tom10web last edited by

                    Hat funktioniert, wobei ich vermutet hätte, das "wahr" mit "1" gesteuert wird. Mit "0" läufts
                    Danke noch mal

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

                      @Tom10web
                      Das ist auch üblich.

                      Warum das bei dir umgekehrt ist weiß ich nicht

                      1 Reply Last reply Reply Quote 0
                      • Tom10web
                        Tom10web last edited by

                        Nullen schalten eben mit"0" 😉

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        735
                        Online

                        31.9k
                        Users

                        80.3k
                        Topics

                        1.3m
                        Posts

                        2
                        11
                        976
                        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