Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. homeconnect Spülmaschine per Script starten

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

homeconnect Spülmaschine per Script starten

Scheduled Pinned Locked Moved Einsteigerfragen
12 Posts 4 Posters 1.0k Views 3 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.
  • arteckA arteck

    @paba42 du musst eine number auswählen nicht das Programm... schau mal in den RAW Objekt von dem BSH_Common_Root_ActiveProgram auf welcher Stelle es das was du auswählen willst steht..

    setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Auto 45-65°', true);
    

    also hier anstatt 'Auto 45-65°' muss eine Zahl rein

    paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by
    #3

    @arteck sagte: anstatt 'Auto 45-65°' muss eine Zahl rein

    ... und anstelle der Blöcke "aktualisiere" die Blöcke "steuere" verwenden!

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    1 Reply Last reply
    0
    • arteckA arteck

      @paba42 du musst eine number auswählen nicht das Programm... schau mal in den RAW Objekt von dem BSH_Common_Root_ActiveProgram auf welcher Stelle es das was du auswählen willst steht..

      setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Auto 45-65°', true);
      

      also hier anstatt 'Auto 45-65°' muss eine Zahl rein

      P Offline
      P Offline
      paba42
      wrote on last edited by
      #4

      @arteck der Typ ist aber als String definiert, oder sehe ich das falsch?

      Wenn ich das Objekt bearbeite steht da folgendes:

      {
        "type": "state",
        "common": {
          "name": "BSH_Common_Root_ActiveProgram",
          "type": "string",
          "role": "indicator",
          "write": true,
          "read": true,
          "states": {
            "Dishcare.Dishwasher.Program.Intensiv70": "Intensiv 70°",
            "Dishcare.Dishwasher.Program.Auto2": "Auto 45-65°",
            "Dishcare.Dishwasher.Program.Eco50": "Eco 50°",
            "Dishcare.Dishwasher.Program.PreRinse": "Vorspülen",
            "Dishcare.Dishwasher.Program.Quick65": "Express 65° - 1h",
            "Dishcare.Dishwasher.Program.MachineCare": "Maschinenpflege"
          }
        },
        "native": {},
        "from": "system.adapter.homeconnect.0",
        "user": "system.user.admin",
        "ts": 1650857019858,
        "_id": "homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      

      Wie gesagt den BSH_Common_Root_SelectedProgramkann ich auch ändern, und der ist so konfiguriert:

      {
        "type": "state",
        "common": {
          "name": "BSH_Common_Root_SelectedProgram",
          "type": "string",
          "role": "indicator",
          "write": true,
          "read": true,
          "states": {
            "Dishcare.Dishwasher.Program.Intensiv70": "Intensiv 70°",
            "Dishcare.Dishwasher.Program.Auto2": "Auto 45-65°",
            "Dishcare.Dishwasher.Program.Eco50": "Eco 50°",
            "Dishcare.Dishwasher.Program.PreRinse": "Vorspülen",
            "Dishcare.Dishwasher.Program.Quick65": "Express 65° - 1h",
            "Dishcare.Dishwasher.Program.MachineCare": "Maschinenpflege"
          }
        },
        "native": {},
        "from": "system.adapter.homeconnect.0",
        "user": "system.user.admin",
        "ts": 1650857019858,
        "_id": "homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        }
      }
      
      arteckA 1 Reply Last reply
      0
      • P paba42

        @arteck der Typ ist aber als String definiert, oder sehe ich das falsch?

        Wenn ich das Objekt bearbeite steht da folgendes:

        {
          "type": "state",
          "common": {
            "name": "BSH_Common_Root_ActiveProgram",
            "type": "string",
            "role": "indicator",
            "write": true,
            "read": true,
            "states": {
              "Dishcare.Dishwasher.Program.Intensiv70": "Intensiv 70°",
              "Dishcare.Dishwasher.Program.Auto2": "Auto 45-65°",
              "Dishcare.Dishwasher.Program.Eco50": "Eco 50°",
              "Dishcare.Dishwasher.Program.PreRinse": "Vorspülen",
              "Dishcare.Dishwasher.Program.Quick65": "Express 65° - 1h",
              "Dishcare.Dishwasher.Program.MachineCare": "Maschinenpflege"
            }
          },
          "native": {},
          "from": "system.adapter.homeconnect.0",
          "user": "system.user.admin",
          "ts": 1650857019858,
          "_id": "homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram",
          "acl": {
            "object": 1636,
            "state": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator"
          }
        }
        

        Wie gesagt den BSH_Common_Root_SelectedProgramkann ich auch ändern, und der ist so konfiguriert:

        {
          "type": "state",
          "common": {
            "name": "BSH_Common_Root_SelectedProgram",
            "type": "string",
            "role": "indicator",
            "write": true,
            "read": true,
            "states": {
              "Dishcare.Dishwasher.Program.Intensiv70": "Intensiv 70°",
              "Dishcare.Dishwasher.Program.Auto2": "Auto 45-65°",
              "Dishcare.Dishwasher.Program.Eco50": "Eco 50°",
              "Dishcare.Dishwasher.Program.PreRinse": "Vorspülen",
              "Dishcare.Dishwasher.Program.Quick65": "Express 65° - 1h",
              "Dishcare.Dishwasher.Program.MachineCare": "Maschinenpflege"
            }
          },
          "native": {},
          "from": "system.adapter.homeconnect.0",
          "user": "system.user.admin",
          "ts": 1650857019858,
          "_id": "homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram",
          "acl": {
            "object": 1636,
            "state": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator"
          }
        }
        
        arteckA Offline
        arteckA Offline
        arteck
        Developer Most Active
        wrote on last edited by arteck
        #5

        @paba42 sagte in homeconnect Spülmaschine per Script starten:

        Dishcare.Dishwasher.Program.Auto2

        dann so Dishcare.Dishwasher.Program.Auto2

        setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2', true);
        

        und vergiss das steuere nicht was der @paul53 geschrieben hat

        immer den indicator nicht den Text den du letztendlich in der combobox siehst

        zigbee hab ich, zwave auch, nuc's genauso und HA auch

        paul53P P 2 Replies Last reply
        0
        • arteckA arteck

          @paba42 sagte in homeconnect Spülmaschine per Script starten:

          Dishcare.Dishwasher.Program.Auto2

          dann so Dishcare.Dishwasher.Program.Auto2

          setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2', true);
          

          und vergiss das steuere nicht was der @paul53 geschrieben hat

          immer den indicator nicht den Text den du letztendlich in der combobox siehst

          paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #6

          @arteck sagte: vergiss das steuere nicht

          Dann entferne mal true am Ende von setState().

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Reply Last reply
          0
          • arteckA arteck

            @paba42 sagte in homeconnect Spülmaschine per Script starten:

            Dishcare.Dishwasher.Program.Auto2

            dann so Dishcare.Dishwasher.Program.Auto2

            setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2', true);
            

            und vergiss das steuere nicht was der @paul53 geschrieben hat

            immer den indicator nicht den Text den du letztendlich in der combobox siehst

            P Offline
            P Offline
            paba42
            wrote on last edited by
            #7

            @arteck @paul53 danke Euch!

            Ich hab das jetzt mal so angepasst:

            on({id: 'senec.0.ENERGY.GUI_GRID_POW', change: "ne"}, async function (obj) {
              var value = obj.state.val;
              var oldValue = obj.oldState.val;
              if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_RemoteControlStartAllowed").val == true && getState("senec.0.ENERGY.GUI_GRID_POW").val < -100) {
                setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/*Energiezustand*/, 'An');
                setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
              }
            });
            

            Testen kann ich das gerade nicht, weil einen höhere Instanz nicht mehr warten wollte, und die Maschine kurzerhand manuell gestartet hat.

            Wo ist denn der Unterschied zwischen steuere und aktualisiere?

            arteckA 1 Reply Last reply
            0
            • P paba42

              @arteck @paul53 danke Euch!

              Ich hab das jetzt mal so angepasst:

              on({id: 'senec.0.ENERGY.GUI_GRID_POW', change: "ne"}, async function (obj) {
                var value = obj.state.val;
                var oldValue = obj.oldState.val;
                if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_RemoteControlStartAllowed").val == true && getState("senec.0.ENERGY.GUI_GRID_POW").val < -100) {
                  setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/*Energiezustand*/, 'An');
                  setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                  setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                }
              });
              

              Testen kann ich das gerade nicht, weil einen höhere Instanz nicht mehr warten wollte, und die Maschine kurzerhand manuell gestartet hat.

              Wo ist denn der Unterschied zwischen steuere und aktualisiere?

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              wrote on last edited by
              #8

              @paba42 sagte in homeconnect Spülmaschine per Script starten:

              setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/Energiezustand/, 'An');

              ist der richtig ? check mal das RAW object

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

              P 1 Reply Last reply
              0
              • arteckA arteck

                @paba42 sagte in homeconnect Spülmaschine per Script starten:

                setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/Energiezustand/, 'An');

                ist der richtig ? check mal das RAW object

                P Offline
                P Offline
                paba42
                wrote on last edited by
                #9

                @arteck
                Nee ist er nicht, aber es gab keine Fehlermeldung im Log. Ich teste das heute Abend noch mal.

                {
                  "type": "state",
                  "common": {
                    "name": "Energiezustand",
                    "type": "string",
                    "role": "indicator",
                    "write": true,
                    "read": true,
                    "unit": "",
                    "states": {
                      "BSH.Common.EnumType.PowerState.Off": "Aus",
                      "BSH.Common.EnumType.PowerState.On": "An"
                    }
                  },
                  "native": {},
                  "from": "system.adapter.homeconnect.0",
                  "user": "system.user.admin",
                  "ts": 1650880220130,
                  "_id": "homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState",
                  "acl": {
                    "object": 1636,
                    "state": 1636,
                    "owner": "system.user.admin",
                    "ownerGroup": "system.group.administrator"
                  }
                }
                
                arteckA 1 Reply Last reply
                0
                • P paba42

                  @arteck
                  Nee ist er nicht, aber es gab keine Fehlermeldung im Log. Ich teste das heute Abend noch mal.

                  {
                    "type": "state",
                    "common": {
                      "name": "Energiezustand",
                      "type": "string",
                      "role": "indicator",
                      "write": true,
                      "read": true,
                      "unit": "",
                      "states": {
                        "BSH.Common.EnumType.PowerState.Off": "Aus",
                        "BSH.Common.EnumType.PowerState.On": "An"
                      }
                    },
                    "native": {},
                    "from": "system.adapter.homeconnect.0",
                    "user": "system.user.admin",
                    "ts": 1650880220130,
                    "_id": "homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState",
                    "acl": {
                      "object": 1636,
                      "state": 1636,
                      "owner": "system.user.admin",
                      "ownerGroup": "system.group.administrator"
                    }
                  }
                  
                  arteckA Offline
                  arteckA Offline
                  arteck
                  Developer Most Active
                  wrote on last edited by
                  #10

                  @paba42 doch ist der wohl... was hab ich vorer gesagt..

                  der indikator und der ist nicht AN AUS sondern

                  BSH.Common.EnumType.PowerState.Off
                  

                  und

                  BSH.Common.EnumType.PowerState.On
                  

                  zigbee hab ich, zwave auch, nuc's genauso und HA auch

                  P 1 Reply Last reply
                  0
                  • arteckA arteck

                    @paba42 doch ist der wohl... was hab ich vorer gesagt..

                    der indikator und der ist nicht AN AUS sondern

                    BSH.Common.EnumType.PowerState.Off
                    

                    und

                    BSH.Common.EnumType.PowerState.On
                    
                    P Offline
                    P Offline
                    paba42
                    wrote on last edited by
                    #11

                    @arteck Danke für die Hilfe.

                    Ich habe das Script jetzt laufen, muss jetzt nur noch die Startbedingungen anpassen. Das ist der aktuelle Stand:

                    on({id: 'senec.0.ENERGY.GUI_GRID_POW', change: "ne"}, async function (obj) {
                      var value = obj.state.val;
                      var oldValue = obj.oldState.val;
                      if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_OperationState").val != 'BSH.Common.EnumType.OperationState.Run') {
                        if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_RemoteControlStartAllowed").val == true && getState("senec.0.ENERGY.GUI_GRID_POW").val < -100) {
                          setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/*Energiezustand*/, 'BSH.Common.EnumType.PowerState.On');
                          setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                          setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                        }
                      }
                    });
                    
                    S 1 Reply Last reply
                    0
                    • P paba42

                      @arteck Danke für die Hilfe.

                      Ich habe das Script jetzt laufen, muss jetzt nur noch die Startbedingungen anpassen. Das ist der aktuelle Stand:

                      on({id: 'senec.0.ENERGY.GUI_GRID_POW', change: "ne"}, async function (obj) {
                        var value = obj.state.val;
                        var oldValue = obj.oldState.val;
                        if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_OperationState").val != 'BSH.Common.EnumType.OperationState.Run') {
                          if (getState("homeconnect.0.011080424772004684.status.BSH_Common_Status_RemoteControlStartAllowed").val == true && getState("senec.0.ENERGY.GUI_GRID_POW").val < -100) {
                            setState("homeconnect.0.011080424772004684.settings.BSH_Common_Setting_PowerState"/*Energiezustand*/, 'BSH.Common.EnumType.PowerState.On');
                            setState("homeconnect.0.011080424772004684.programs.selected.BSH_Common_Root_SelectedProgram"/*BSH_Common_Root_SelectedProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                            setState("homeconnect.0.011080424772004684.programs.active.BSH_Common_Root_ActiveProgram"/*BSH_Common_Root_ActiveProgram*/, 'Dishcare.Dishwasher.Program.Auto2');
                          }
                        }
                      });
                      
                      S Offline
                      S Offline
                      Singular75
                      wrote on last edited by
                      #12

                      @paba42 Kurze Frage zum Skript: Wie stellst Du sicher, dass die Spülmaschine auch nur angeht, wenn sie gefüllt ist? Dafür gibts ja eigentlich keinen passenden Zustand, oder? Und so würde sie immer angehen, wenn PV-Überschuss da ist, egal ob leer, gefüllt und mit oder ohne Reinigungstab...

                      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

                      603

                      Online

                      32.4k

                      Users

                      81.4k

                      Topics

                      1.3m

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

                      • Don't have an account? Register

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