Beiträge von Misha

    Wie erkenne ich ob ich es richtig gemacht habe? Im flash modus bin.

    Bekomme immer "Flash Failed"

    Ich glaub ich mach da was falsch. Soll die Taste Durchgehen gedrückt werden oder muss ich die nach einstecken der pins loslassen? (ich lass die Taste immer los hab aber beider schon versucht)

    Edit:

    RX zu TX und

    TX zu RX stimmt soweit noch oder

    Edit: ich glaube immer mehr das ich mir das board zerschossen habe, wie kann ich das prüfen?

    Möchte niemand ein kurzes schritt für schritt video machen.

    Ich habe meinen [definition='25','0'][definition='25','0']Sonoff[/definition][/definition] RF R2 Power V1.0 jetzt unbrauchbar gemacht. Die eWeLink App funktioniert auch nicht mehr. Fragt mich nicht wie ich das hinbekommen habe aber ich bin schon den 4ten Tag am versuchen.

    Welche einstellungen Brauche ich beim Arduino? (1.8.8)

    Board: "Generic ESP8285 Module"

    Upload Speed: "115200"

    CPU Frequency: "80 MHz"

    Crystal Frequency: " 26 MHz"

    Flash Size: "1M (no SPIFFS)"

    Reset Method: "ck"

    Debug port: "Disabled"

    Debug Level: "Keine"

    IwIP Variant: "v2 Lower Memory"

    VTables: "Flash"

    Exceptons: "Disabled"

    Builtin LeD: "2"

    Erase Flash: "Only Sketch"

    Port: "COM7"

    Der momentane ausgegeben Fehler ist:

    Arduino: 1.8.8 (Windows 10), Board: "Generic ESP8285 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

    Der Sketch verwendet 258056 Bytes (25%) des Programmspeicherplatzes. Das Maximum sind 1023984 Bytes.

    Globale Variablen verwenden 26656 Bytes (32%) des dynamischen Speichers, 55264 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.

    warning: espcomm_sync failed

    error: espcomm_open failed

    error: espcomm_upload_mem failed

    error: espcomm_upload_mem failed


    Edit: Flasher auf 3.3V

    VCC - 3.3V

    GND- GND

    RX- TX

    TX- RX

    dann mache es bitte anders:

    erst diese 4 Befehle:

    Code
    sudo apt-get --purge remove node
    sudo apt-get --purge remove nodejs
    sudo apt-get autoremove
    sudo reboot

    nach dem Neustart:

    Code
    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

    zwei sachen die nicht bei mir klappen

    sudo: Kommando nicht gefunden

    ist klar sudo weg lassen
    aber mit

    bash: -E: Kommando nicht gefunden

    bin ich wieder überfordert

    was geben den die 3 Befehle aus?

    Code
    node -v
    nodejs -v
    npm -v

    root@debian-iobroker:~# node -v

    v6.16.0

    root@debian-iobroker:~# nodejs -v

    v6.16.0

    root@debian-iobroker:~# npm -v

    6.5.0


    npm brauche ich aber 8.12


    NPM version: 6.5.0

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ioBroker needs at least Node.JS 8.12. You have installed 6.16.0

    Please update your Node.JS version!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'

    npm WARN root No description

    npm WARN root No repository field.

    npm WARN root No README data

    npm WARN root No license field.

    npm ERR! code ELIFECYCLE

    npm ERR! errno 2

    npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`

    npm ERR! Exit status 2

    npm ERR!

    npm ERR! Failed at the iobroker@1.3.1 install script.

    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:

    npm ERR! /root/.npm/_logs/2018-12-30T23_24_35_696Z-debug.log

    root@debian-iobroker:~#

    sudo npm install -g npm@8

    danach kannst du IoBroker installieren.

    nodejs habe ich auf die reihe bekomme nun ist das mein

    problem


    root@debian-iobroker:~# npm install -g npm@8

    npm ERR! code ETARGET

    npm ERR! notarget No matching version found for npm@8

    npm ERR! notarget In most cases you or one of your dependencies are requesting

    npm ERR! notarget a package version that doesn't exist.

    npm ERR! A complete log of this run can be found in:

    npm ERR! /root/.npm/_logs/2018-12-30T23_09_18_442Z-debug.log

    root@debian-iobroker:~#

    Meine Glaskugel ist heute in der Spülmaschine, sorry.

    Vielleicht ein Screenshot bzw, Informationen, was genau da "scheitert"?

    root@debian-iobroker:~# chmod 777 /opt/iobroker

    root@debian-iobroker:~# cd /opt/iobroker

    root@debian-iobroker:/opt/iobroker# npm install iobroker --unsafe-perm

    > iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker

    > node lib/checkVersions.js

    NPM version: 3.10.10

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ioBroker needs at least Node.JS 8.12. You have installed 6.16.0

    Please update your Node.JS version!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'

    npm WARN iobroker No description

    npm WARN iobroker No repository field.

    npm WARN iobroker No README data

    npm WARN iobroker No license field.

    npm ERR! Linux 4.9.0-8-686-pae

    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"

    npm ERR! node v6.16.0

    npm ERR! npm v3.10.10

    npm ERR! code ELIFECYCLE

    npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`

    npm ERR! Exit status 2

    npm ERR!

    npm ERR! Failed at the iobroker@1.3.1 install script 'node lib/checkVersions.js'.

    npm ERR! Make sure you have the latest version of node.js and npm installed.

    npm ERR! If you do, this is most likely a problem with the iobroker package,

    npm ERR! not with npm itself.

    npm ERR! Tell the author that this fails on your system:

    npm ERR! node lib/checkVersions.js

    npm ERR! You can get information on how to open an issue for this project with:

    npm ERR! npm bugs iobroker

    npm ERR! Or if that isn't available, you can get their info via:

    npm ERR! npm owner ls iobroker

    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:

    npm ERR! /opt/iobroker/npm-debug.log

    root@debian-iobroker:/opt/iobroker#