Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Problem mit Within-Time-Switch Node

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Problem mit Within-Time-Switch Node

Scheduled Pinned Locked Moved Node-Red
2 Posts 1 Posters 315 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SuperElmi
    wrote on last edited by
    #1

    Hallo zusammen und ein frohes neues Jahr!

    Vielleicht kann mir jemand auf die Sprünge helfen. Ich habe ein Problem mit Within-Time-Switch Node aus node-red-contrib-sun-position: der Node bietet die Möglichkeit, Start- und Stopp-Zeiten aus msg.Topics zu setzen. Ich will damit die Zeiten zum Steuern einer Heizung über meine VIS flexibel angeben können. Hier der Flow:

    [
        {
            "id": "e36d6e3.c262b9",
            "type": "within-time-switch",
            "z": "6115be00.68f514",
            "name": "Nachtabsenkung",
            "nameInt": "",
            "positionConfig": "c97591f4.be7838",
            "startTime": "Start_Nacht",
            "startTimeType": "msg",
            "startOffset": 0,
            "startOffsetType": "none",
            "startOffsetMultiplier": 60000,
            "endTime": "Start_Anlauf",
            "endTimeType": "msg",
            "endOffset": 0,
            "endOffsetType": "none",
            "endOffsetMultiplier": 60000,
            "timeDays": "*",
            "timeOnlyOddDays": false,
            "timeOnlyEvenDays": false,
            "timeMonths": "*",
            "timedatestart": "",
            "timedateend": "",
            "propertyStart": "",
            "propertyStartType": "none",
            "propertyStartCompare": "true",
            "propertyStartThreshold": "",
            "propertyStartThresholdType": "num",
            "startTimeAlt": "",
            "startTimeAltType": "entered",
            "startOffsetAlt": 0,
            "startOffsetAltType": "none",
            "startOffsetAltMultiplier": 60000,
            "propertyEnd": "",
            "propertyEndType": "none",
            "propertyEndCompare": "true",
            "propertyEndThreshold": "",
            "propertyEndThresholdType": "num",
            "endTimeAlt": "",
            "endTimeAltType": "entered",
            "endOffsetAlt": 0,
            "endOffsetAltType": "none",
            "endOffsetAltMultiplier": 60000,
            "tsCompare": "0",
            "x": 1220,
            "y": 100,
            "wires": [
                [
                    "70e59e8e.1cd"
                ],
                []
            ]
        },
        {
            "id": "c97591f4.be7838",
            "type": "position-config",
            "name": "",
            "isValide": "true",
            "longitude": "0",
            "latitude": "0",
            "angleType": "deg",
            "timeZoneOffset": "99",
            "timeZoneDST": "0",
            "stateTimeFormat": "3",
            "stateDateFormat": "12"
        }
    ]
    

    Beim ersten Deploy tut das auch so, wenn ich aber die Inputs ändere, wirft besagter Node einen Fehler:
    nodered.PNG

    Habt ihr eine Idee, wo der Fehler zu suchen ist? Vielen Dank schon mal im Voraus!

    Gruß
    SuperElmi

    S 1 Reply Last reply
    0
    • S SuperElmi

      Hallo zusammen und ein frohes neues Jahr!

      Vielleicht kann mir jemand auf die Sprünge helfen. Ich habe ein Problem mit Within-Time-Switch Node aus node-red-contrib-sun-position: der Node bietet die Möglichkeit, Start- und Stopp-Zeiten aus msg.Topics zu setzen. Ich will damit die Zeiten zum Steuern einer Heizung über meine VIS flexibel angeben können. Hier der Flow:

      [
          {
              "id": "e36d6e3.c262b9",
              "type": "within-time-switch",
              "z": "6115be00.68f514",
              "name": "Nachtabsenkung",
              "nameInt": "",
              "positionConfig": "c97591f4.be7838",
              "startTime": "Start_Nacht",
              "startTimeType": "msg",
              "startOffset": 0,
              "startOffsetType": "none",
              "startOffsetMultiplier": 60000,
              "endTime": "Start_Anlauf",
              "endTimeType": "msg",
              "endOffset": 0,
              "endOffsetType": "none",
              "endOffsetMultiplier": 60000,
              "timeDays": "*",
              "timeOnlyOddDays": false,
              "timeOnlyEvenDays": false,
              "timeMonths": "*",
              "timedatestart": "",
              "timedateend": "",
              "propertyStart": "",
              "propertyStartType": "none",
              "propertyStartCompare": "true",
              "propertyStartThreshold": "",
              "propertyStartThresholdType": "num",
              "startTimeAlt": "",
              "startTimeAltType": "entered",
              "startOffsetAlt": 0,
              "startOffsetAltType": "none",
              "startOffsetAltMultiplier": 60000,
              "propertyEnd": "",
              "propertyEndType": "none",
              "propertyEndCompare": "true",
              "propertyEndThreshold": "",
              "propertyEndThresholdType": "num",
              "endTimeAlt": "",
              "endTimeAltType": "entered",
              "endOffsetAlt": 0,
              "endOffsetAltType": "none",
              "endOffsetAltMultiplier": 60000,
              "tsCompare": "0",
              "x": 1220,
              "y": 100,
              "wires": [
                  [
                      "70e59e8e.1cd"
                  ],
                  []
              ]
          },
          {
              "id": "c97591f4.be7838",
              "type": "position-config",
              "name": "",
              "isValide": "true",
              "longitude": "0",
              "latitude": "0",
              "angleType": "deg",
              "timeZoneOffset": "99",
              "timeZoneDST": "0",
              "stateTimeFormat": "3",
              "stateDateFormat": "12"
          }
      ]
      

      Beim ersten Deploy tut das auch so, wenn ich aber die Inputs ändere, wirft besagter Node einen Fehler:
      nodered.PNG

      Habt ihr eine Idee, wo der Fehler zu suchen ist? Vielen Dank schon mal im Voraus!

      Gruß
      SuperElmi

      S Offline
      S Offline
      SuperElmi
      wrote on last edited by
      #2

      @SuperElmi

      Hat sich erledigt, es müssen natürlich alle Inputs mit Join zusammengefasst werden, dann natürlich die Anzahl der Messages auf 3 setzen.

      Gruß
      SuperElmi

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Support us

      ioBroker
      Community Adapters
      Donate

      556

      Online

      32.5k

      Users

      81.7k

      Topics

      1.3m

      Posts
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
      ioBroker Community 2014-2025
      logo
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Home
      • Recent
      • Tags
      • Unread 0
      • Categories
      • Unreplied
      • Popular
      • GitHub
      • Docu
      • Hilfe