Navigation

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

    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 0
    • Followers 1
    • Topics 8
    • Posts 67
    • Best 0
    • Groups 1

    stek

    @stek

    0
    Reputation
    40
    Profile views
    67
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    stek Follow
    Starter

    Latest posts made by stek

    • RE: Asterisk bringt "Error while dialing (2). Error: {}"

      @boeskij

      Das Einfügen dieses Codes (und die Installation von pico2wave) wird mit jeder anderen Modifikation funktionieren.

      Danke für die Tipps, jetzt funktioniert der Hausalarm wieder...für alle, die es ausprobieren wollen 😉

      
      on({id: 'asterisk.0.dialout.call'}, function (obj) {
          let msg = getState('asterisk.0.dialout.text').val;
          let tnr = getState('asterisk.0.dialout.telnr').val;
          let cid = getState('asterisk.0.dialout.callerid').val;
      
          exec('pico2wave -w /tmp/ttsdatei.wav -l it-IT "' + msg + '"', function (error, stdout, stderr) { 
                                  /* wav erstellt */
                                  exec('sox /tmp/ttsdatei.wav -r 8000 -c 1 /tmp/ttsdatei.gsm', function (error, stdout, stderr) { 
                                      /* gsm erstellt */
                                      exec('rm /tmp/ttsdatei.wav', function (error, stdout, stderr) { 
                                          /* wav gelöscht, sonst wurde beim folgenden Anruf ggf. die falsche Datei aufgerufen... */
                                              sendTo('asterisk.0', "dial", { telnr: tnr , callerid: cid, audiofile: '/tmp/ttsdatei.gsm'},  (res) => {
                                                  console.log('Result: ' + JSON.stringify(res));
                                                  exec('cp /tmp/ttsdatei.gsm /tmp/asterisk_dtmf.gsm', function (error, stdout, stderr) { 
                                                      /* Die asterisk_dtmf.gsm wird für Dial-In Anrufe verwendet... Hier wird dann einfach der letzte Anruf nochmal wiedergegeben */
                                                      /* Das folgende Löschen führte bei mir zu Problemen, also bleibt die Datei liegen.. wird ja eh überschrieben */
                                                      /* exec('rm /tmp/ttsdatei.gsm', function (error, stdout, stderr) { console.log('Telefonalamierung: gsm gelöscht'); }); */
                                                  });
                                              });
                                      });
                                  });
                              });
      });
      
      posted in Error/Bug
      stek
      stek
    • RE: Asterisk bringt "Error while dialing (2). Error: {}"

      @bahnuhr
      wie hast du diese problem gelöst.
      bei mir habe ich alles neu istalliert aber ich bekomme immer das Fehler:
      Error while dialing (2). Error: {}

      Meine allarmirung hat diese funktion verwendet und jetz funktioniert nicht mehr...
      Ich brauche eine lösung voice meldungen von Iobroker zu senden

      Danke
      Stefano

      posted in Error/Bug
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone Ops, aber dieses hat schon jemand getestet?

      root@linuxsrv01:/opt/iobroker#  ./iobroker add zwave  --host razberry
      host.linuxsrv01 error: this adapter does not allow multiple instances on one host
      root@linuxsrv01:/opt/iobroker#
      

      Oder soll fehlt mir noch etwas?

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone ss hat endlich funktioniert.
      Sorry

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone Schließlich bekam ich das Material und begann, es zu versuchen:

      root@linuxsrv01:/opt/iobroker# iobroker setup custom
      Current configuration:
      - Objects database:
        - Type: file
        - Host/Unix Socket: 127.0.0.1
        - Port: 9001
      - States database:
        - Type: file
        - Host/Unix Socket: 127.0.0.1
        - Port: 9000
      - Data Directory: ../../iobroker-data/
      
      Type of objects DB [(f)ile, (r)edis], default [file]: f
      Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
      Port of objects DB(file), default[9001]: 
      Type of states DB [(f)file, (r)edis], default [file]: r
      
      When States are stored in a Redis database please make sure to configure Redis
      persistence to make sure a Redis problem will not cause data loss!
      
      Host / Unix Socket of states DB (redis), default[0.0.0.0]: 0.0.0.0
      Port of states DB (redis), default[6379]: 
      Host name of this machine [linuxsrv01]: 
      This host appears to be a Master or a Single host system. Is this correct? [Y/n]: Y
      
      Do you want to migrate objects and states from "file/file" to "file/redis" [y/N]: y
      Connecting to previous DB "file"...
      
      Cannot migrate DB while js-controller is still running!
      Please stop ioBroker and try again. No settings have been changed.
      Creating backup ...
      This can take some time ... please be patient!
      host.linuxsrv01 Cannot get objects: DB closed
      /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
              throw e;
              ^
      
      TypeError: Cannot read property 'length' of undefined
          at states.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:257:46)
          at StateRedis.getStates (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:591:20)
          at states.getKeys (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:253:29)
          at client.keys (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:684:17)
          at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
          at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:30:51)
          at <anonymous>
          at process._tickCallback (internal/process/next_tick.js:189:7)
      root@linuxsrv01:/opt/iobroker#
      

      Habe ich natürlich auch probiert iobroker to stoppen:

      root@linuxsrv01:/opt/iobroker# sudo systemctl stop iobroker
      root@linuxsrv01:/opt/iobroker# iobroker setup custom
      Current configuration:
      - Objects database:
        - Type: file
        - Host/Unix Socket: 127.0.0.1
        - Port: 9001
      - States database:
        - Type: file
        - Host/Unix Socket: 127.0.0.1
        - Port: 9000
      - Data Directory: ../../iobroker-data/
      
      Type of objects DB [(f)ile, (r)edis], default [file]: f
      Host / Unix Socket of objects DB(file), default[127.0.0.1]: 0.0.0.0
      Port of objects DB(file), default[9001]: 
      Type of states DB [(f)file, (r)edis], default [file]: r
      
      When States are stored in a Redis database please make sure to configure Redis
      persistence to make sure a Redis problem will not cause data loss!
      
      Host / Unix Socket of states DB (redis), default[0.0.0.0]: 0.0.0.0
      Port of states DB (redis), default[6379]: 
      Host name of this machine [linuxsrv01]: 
      This host appears to be a Master or a Single host system. Is this correct? [Y/n]: Y
      
      Do you want to migrate objects and states from "file/file" to "file/redis" [y/N]: y
      Connecting to previous DB "file"...
      Creating backup ...
      This can take some time ... please be patient!
      host.linuxsrv01 2548 states saved
      host.linuxsrv01 4051 objects saved
      Backup created: /opt/iobroker/backups/2020_01_31-14_16_22_backupiobroker-migration.tar.gz
      updating conf/iobroker.json
      
      Connecting to new DB "file" ...
      No connection to states 0.0.0.0:6379[redis]
      
      New Database could not be connected. Please check your settings. No settings have been changed.
      restoring conf/iobroker.json
      root@linuxsrv01:/opt/iobroker#
      

      Irgendwelche Ideen?
      Danke
      Grüsse
      Stefano

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone said in Z-WAVE Gateway?:

      @stek Ich meinte eigentlich das https://z-wave.me/products/razberry/, aber ein Stick ist auch möglich.
      Am besten suchste mal im Forum, gab auch schon Umfragen, welcher Stick die beste Performance liefert.

      Ok, danke

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone Letze Frage, als Z-Wave-Platin meinst du ZME_UZB1 USB Stick ?

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone Ich wusste nichts von dieser Funktion, wirklich toll! Ich werde experimentieren.
      DANKE!!

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone Ja, habe ich noch ein mahl installiert und funktioniert.
      Aber ist mir umklar wie könnte es remote funktionieren.

      posted in Hardware
      stek
      stek
    • RE: Z-WAVE Gateway?

      @AlCalzone ich installiere über admin mit "+". Komisch aber ich sehe der Adapter nicht als Instanz. Ich habe schon eine menge Adapter installiert, ohne Problemen

      posted in Hardware
      stek
      stek
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo