Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Patchwork 3001

    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

    • Profile
    • Following 2
    • Followers 0
    • Topics 2
    • Posts 46
    • Best 0
    • Groups 1

    Patchwork 3001

    @Patchwork 3001

    Starter

    0
    Reputation
    26
    Profile views
    46
    Posts
    0
    Followers
    2
    Following
    Joined Last Online

    Patchwork 3001 Follow
    Starter

    Latest posts made by Patchwork 3001

    • RE: [VORLAGE] Anruferansage mit TR-064 und Alexa2

      @dslraser
      alles okay nach neu aufsetzen funkt alles.
      aber eine frage noch das mit der Lautstärke geht bei mir nicht . was für einen Daten punkt brauche ich oder muss ich anlegen?

      posted in Blockly
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @Meistertr sagte in Test Adapter mihome-vacuum v2.0.x:

                                                                                                                                  let msg = "";                                                                                                                                                                            let id = "";                                                                                                                                                                                                                                                                                                                                                         subscribe({                                                                                                                                                                             id: "alexa2.0.History.summary",                                                                                                                                                                             change: "ne"                                                                                                                                                                             }, function(obj) {                                                                                                                                                                               id = getState('alexa2.0.History.serialNumber'/*serialNumber*/).val                                                                                                                                                                               log('Starte id '+ id)                                                                                                                                                                               msg = obj.newState.val;                                                                                                                                                                               findrooms();                                                                                                                                                                            });                                                                                                                                                                                                                                                                                                                                                         function findrooms (){                                                                                                                                                                            log(msg);                                                                                                                                                                            let text = '';                                                                                                                                                                                                                                                                                                                                                         // find keywords                                                                                                                                                                            let wrongkey = msg.match(/sprich mir nach|asd/);                                                                                                                                                                                                                                                                                                                                                         let key = msg.match(/sauge|sage|reinige|wische|staubsauger/);                                                                                                                                                                                                                                                                                                                                                         if(!wrongkey && key){                                                                                                                                                                               let textcommand = [];                                                                                                                                                                               let micommand = [];                                                                                                                                                                                                                                                                                                                                                            let kitchen = msg.match(/küche|Küche/);                                                                                                                                                                               let vorrat = msg.match(/vorratsraum|speisekammer/);                                                                                                                                                                               let wohnzimmer = msg.match(/wohnzimmer|esszimmer/);                                                                                                                                                                               let flur = msg.match(/flur|diele/);                                                                                                                                                                               let bad = msg.match(/bad|badezimmer|gästebad|gästebadezimmer/);                                                                                                                                                                                                                                                                                                                                                            if(kitchen){                                                                                                                                                                                   textcommand.push("Küche");                                                                                                                                                                                   micommand.push(getState('mihome-vacuum.0.rooms.Küche.mapIndex').val);                                                                                                                                                                                                                                                                                                                                                            }                                                                                                                                                                                if(vorrat){                                                                                                                                                                                   textcommand.push("Vorratsraum");                                                                                                                                                                                   micommand.push(getState('mihome-vacuum.0.rooms.Vorratsraum.mapIndex').val)                                                                                                                                                                               }                                                                                                                                                                                if(wohnzimmer){                                                                                                                                                                                   textcommand.push("Wohnzimmer");                                                                                                                                                                                   micommand.push(getState('mihome-vacuum.0.rooms.Wohnzimmer.mapIndex').val)                                                                                                                                                                                                                                                                                                                                                            }                                                                                                                                                                                if(flur){                                                                                                                                                                                   textcommand.push("Flur");                                                                                                                                                                                   micommand.push(getState('mihome-vacuum.0.rooms.Flur.mapIndex').val)                                                                                                                                                                                                                                                                                                                                                            }                                                                                                                                                                               if(bad){                                                                                                                                                                                   textcommand.push("Gästebad");                                                                                                                                                                                   micommand.push(getState('mihome-vacuum.0.rooms.Gästebad.mapIndex').val)                                                                                                                                                                               }                                                                                                                                                                                                                                                                                                                                                               //add und to the end                                                                                                                                                                               log(JSON.stringify(micommand))                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         textcommand.forEach(function(item){                                                                                                                                                                                   text += item +', '                                                                                                                                                                               });                                                                                                                                                                               var n = text.lastIndexOf(',');                                                                                                                                                                               text = text.slice(0, n) + text.slice(n).replace(',', '');                                                                                                                                                                               n = text.lastIndexOf(',');                                                                                                                                                                               text = text.slice(0, n) + text.slice(n).replace(',', ' und');                                                                                                                                                                                                                                                                                                                                                              log('TEXT= '+ text)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         setStateDelayed('alexa2.0.Echo-Devices.'+ id +'.Commands.speak', 'Aber ich lasse den Staubsauger  '+ text +' saugen!',1500);                                                                                                                                                                               setStateDelayed('mihome-vacuum.0.control.X_get_response','app_segment_clean;'+ JSON.stringify(micommand),3000);                                                                                                                                                                                                                                                                                                                                                         }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     }                                            
      

      ist das java oder blockly , Typeskript

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: [VORLAGE] Anruferansage mit TR-064 und Alexa2

      hallöchen, die Vorlage passt soweit ging auch gut aber seit gestern muss ich den Adapter von Alexa und tr-064 neu starten damit wieder ansagen kommen. bin noch nicht auf Admin 4.0.5 der Rest ist aktuell

      posted in Blockly
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @dirkhe jetzt habe ich es kapiert.sorry

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @dirkhe sorry aber anders kann ich es nicht zeigen was im chat genant wurdeAnmerkung 2020-02-21 103403.jpg

      keine debug funktion

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @smarti2015 Wenn der Adapter nicht installiert werden kann, kann Canvas nicht installiert werden

      npm ERR! canvas@2.6.1 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1

      Dann müssen folgende Packete und Bibliotheken selber installiert werden:

      " sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev "

      " sudo npm install canvas --unsafe-perm=true "

      über putty ohne "

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @dirkhe karte und alles sind ja da und laufen perfekt . aber das trotzdem der Fehler im log steht ist halt komisch

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @dirkhe gerne wenn du mir sagst wie das geht

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    • RE: npm audit fix` to fix them, or `npm audit` fehler??!!!

      @sigi234 okay danke

      posted in ioBroker Allgemein
      Patchwork 3001
      Patchwork 3001
    • RE: Test Adapter mihome-vacuum v2.0.x

      @Meistertr so habe getestet. Alles läuft mit dem s5.
      Nur eins verstehe ich nicht alles ist da sogar die räume mit Nummern und alles geht .
      aber im log steht

      " mihome-vacuum.0 2020-02-20 10:02:31.053 error (9276) TypeError: Cannot read property '0' of undefined "

      aber alles läuft so wie gedacht.???

      posted in Tester
      Patchwork 3001
      Patchwork 3001
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo