Beiträge von MyMeyer

Hallo Community, die Fehler der letzten Tage wurden hoffentlich behoben. Entschuldigt den Umstand! Viel Spaß weiterhin. Lg

    Gemeint ist, dass wenn ich kurz auf den Button An/Aus drücke, geht es kurz auf an und ne Sekunde später geht's wieder auf aus! Der Antrieb bekommt immer nur einen kurzen Impuls zum öffnen oder schließen! Ich kann aber über den Browser nicht erkennen ob offen oder zu. (Bzw an oder aus --> was ja auch falsch ist, sollte ja auf und zu heißen)

    Moin, stell man den Sonoff/Shelly auf "Taster" um über die Console. ( Switchmode1 4)

    Michael

    sonoff-tasmota- universal8?

    Was machst Du da? Es muss lediglich in der Ini die Sprache und Flashgröße geändert werden und in der userconfig.h alles was gewünscht ist ein oder eben auskommetiert werden. Dann kann man die bin erstellen, oder auch gleich flashen.

    Letztlich möchte ich nur meine Stromzähler auslesen und da bin ich auf die ....universal8 gekommen. Ich benötige diesen Treiber hier . "

    #ifdef USE_SML_M"

    Darum geht es mir.

    Ich glaube das kannst du dir sparen. Wie Helfinger schon geschrieben klappt der Upload zum Gerät nicht.

    Dass du Tasmota32 (für ESP32) compilierst ist aber schon beabsichtigt, und passt zu deinem Gerät?

    Also wie Ihr merkt bin ich ganz frisch unterwegs.:-) Was habe ich gemacht:

    VSCode installiert.

    Platformio aktiv und Tasmota Sourcen down geloadet.(Sonoff-Tasmota-universal8) .

    Dann meine Anpassung in den Dateien und wollte loslegen. Am PC hängt eine Nodemcu esp8266. Mit Tasmotizer konnte ich ein fertige Bin auf die Node laden. Nehme ich diese Bin bekomme ich einen Fehler von Tasmotizer.

    Gruß

    MM

    Wo siehst Du, dass der nicht fertig kompiliert? Der Fehler bezieht sich doch auf den Upload. OK, da fehlt die Hälfte vom Log und wenn er bei mir mal das Kompilieren nicht auf die Reihe bekommt, sieht das etwas anders aus.

    Hier der zweite Teil von strg-alt-u

    Spoiler anzeigen

    > Executing task: C:\Users\mymey\.platformio\penv\Scripts\platformio.exe run --target upload <

    Processing tasmota32-DE (framework: arduino; platform: espressif32@1.12.4; board: esp32cam)

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Verbose mode can be enabled via `-v, --verbose` option

    CONFIGURATION: https://docs.platformio.org/page/boards/es…2/esp32cam.html

    PLATFORM: Espressif 32 1.12.4 > AI Thinker ESP32-CAM

    HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash

    DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)

    PACKAGES:

    - framework-arduinoespressif32 3.10004.200129 (1.0.4)

    - tool-esptoolpy 1.20800.0 (2.8.0)

    - tool-mkspiffs 2.230.0 (2.30)

    - toolchain-xtensa32 2.50200.80 (5.2.0)

    Converting tasmota.ino

    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf

    LDF Modes: Finder ~ chain, Compatibility ~ soft

    Found 85 compatible libraries

    Scanning dependencies...

    Dependency Graph

    |-- <ESP32-to-ESP8266-compat> 0.0.2

    .

    .

    .

    |-- <Unishox Compressor Decompressor highly customized and optimized for ESP8266 and Tasmota> 1.0

    |-- <Wire> 1.0.1

    Building in release mode

    *** use provided user_config_override.h as planned ***

    Compiling .pioenvs\tasmota32-DE\src\tasmota.ino.cpp.o

    In file included from C:/Sonoff-Tasmota-universal8/tasmota/tasmota.ino:41:0:

    tasmota\my_user_config.h:39:0: warning: "USE_CONFIG_OVERRIDE" redefined

    #define USE_CONFIG_OVERRIDE // Uncomment to use user_config_override.h file. See README.md

    ^

    <command-line>:0:0: note: this is the location of the previous definition

    In file included from tasmota\my_user_config.h:807:0,

    from C:/Sonoff-Tasmota-universal8/tasmota/tasmota.ino:41:

    tasmota\user_config_override.h:24:2: warning: #warning **** user_config_override.h: Using Settings from this File **** [-Wcpp]

    #warning **** user_config_override.h: Using Settings from this File ****

    ^

    C:/Sonoff-Tasmota-universal8/tasmota/xdrv_10_scripter.ino:116:17: note: #pragma message: script compression option used

    #pragma message "script compression option used"

    ^

    Linking .pioenvs\tasmota32-DE\firmware.elf

    Retrieving maximum program size .pioenvs\tasmota32-DE\firmware.elf

    Building .pioenvs\tasmota32-DE\firmware.bin

    Checking size .pioenvs\tasmota32-DE\firmware.elf

    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"

    RAM: [== ] 17.9% (used 58696 bytes from 327680 bytes)

    Flash: [====== ] 57.9% (used 1177058 bytes from 2031616 bytes)

    esptool.py v2.8

    bin_map_copy([".pioenvs\tasmota32-DE\firmware.bin"], [".pioenvs\tasmota32-DE\firmware.elf"])

    bin_gzip([".pioenvs\tasmota32-DE\firmware.bin"], [".pioenvs\tasmota32-DE\firmware.elf"])

    Configuring upload protocol...

    AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa

    CURRENT: upload_protocol = esptool

    Looking for upload port...

    Use manually specified: /dev/cu.SLAB_USBtoUART

    Uploading .pioenvs\tasmota32-DE\firmware.bin

    esptool.py v2.8

    Serial port /dev/cu.SLAB_USBtoUART

    Traceback (most recent call last):

    File "C:\Users\mymey\.platformio\packages\tool-esptoolpy\esptool.py", line 3201, in <module>

    _main()

    File "C:\Users\mymey\.platformio\packages\tool-esptoolpy\esptool.py", line 3194, in _main

    main()

    File "C:\Users\mymey\.platformio\packages\tool-esptoolpy\esptool.py", line 2889, in main

    esp = chip_class(each_port, initial_baud, args.trace)

    File "C:\Users\mymey\.platformio\packages\tool-esptoolpy\esptool.py", line 237, in __init__

    self._port = serial.serial_for_url(port)

    File "C:\Users\mymey\.platformio\penv\lib\site-packages\serial\__init__.py", line 88, in serial_for_url

    instance.open()

    File "C:\Users\mymey\.platformio\penv\lib\site-packages\serial\serialwin32.py", line 62, in open

    raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))

    serial.serialutil.SerialException: could not open port '/dev/cu.SLAB_USBtoUART': FileNotFoundError(2, 'Das System kann den angegebenen Pfad nicht finden.', None, 3)

    *** [upload] Error 1

    =========================================================================== [FAILED] Took 98.74 seconds ===========================================================================

    Environment Status Duration

    ------------- -------- ------------

    tasmota IGNORED

    tasmota-DE IGNORED

    tasmota-debug IGNORED

    tasmota32 IGNORED

    tasmota32-DE FAILED 00:01:38.738

    ====================================================================== 1 failed, 0 succeeded in 00:01:38.738 ======================================================================

    The terminal process "C:\Users\mymey\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

    Terminal will be reused by tasks, press any key to close it.

    Wo siehst Du, dass der nicht fertig kompiliert? Der Fehler bezieht sich doch auf den Upload. OK, da fehlt die Hälfte vom Log und wenn er bei mir mal das Kompilieren nicht auf die Reihe bekommt, sieht das etwas anders aus.

    Hi, also so sieht das komplette Log aus:

    Nach strg-alt+b

    Nach strg-alt+b

    > Executing task: C:\Users\mymey\.platformio\penv\Scripts\platformio.exe run <

    Processing tasmota32-DE (framework: arduino; platform: espressif32@1.12.4; board: esp32cam)

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ...

    |-- <Joba_Tsl2561> 2.0.10

    | |-- <Wire> 1.0.1

    |-- <Unishox Compressor Decompressor highly customized and optimized for ESP8266 and Tasmota> 1.0

    |-- <Wire> 1.0.1

    Building in release mode

    *** use provided user_config_override.h as planned ***

    Compiling .pioenvs\tasmota32-DE\src\tasmota.ino.cpp.o

    In file included from C:/Sonoff-Tasmota-universal8/tasmota/tasmota.ino:41:0:

    tasmota\my_user_config.h:39:0: warning: "USE_CONFIG_OVERRIDE" redefined

    #define USE_CONFIG_OVERRIDE // Uncomment to use user_config_override.h file. See README.md

    ^

    <command-line>:0:0: note: this is the location of the previous definition

    In file included from tasmota\my_user_config.h:807:0,

    from C:/Sonoff-Tasmota-universal8/tasmota/tasmota.ino:41:

    tasmota\user_config_override.h:24:2: warning: #warning **** user_config_override.h: Using Settings from this File **** [-Wcpp]

    #warning **** user_config_override.h: Using Settings from this File ****

    ^

    C:/Sonoff-Tasmota-universal8/tasmota/xdrv_10_scripter.ino:116:17: note: #pragma message: script compression option used

    #pragma message "script compression option used"

    ^

    Linking .pioenvs\tasmota32-DE\firmware.elf

    Retrieving maximum program size .pioenvs\tasmota32-DE\firmware.elf

    Building .pioenvs\tasmota32-DE\firmware.bin

    Checking size .pioenvs\tasmota32-DE\firmware.elf

    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"

    RAM: [== ] 17.9% (used 58696 bytes from 327680 bytes)

    Flash: [====== ] 57.9% (used 1177058 bytes from 2031616 bytes)

    esptool.py v2.8

    bin_map_copy([".pioenvs\tasmota32-DE\firmware.bin"], [".pioenvs\tasmota32-DE\firmware.elf"])

    bin_gzip([".pioenvs\tasmota32-DE\firmware.bin"], [".pioenvs\tasmota32-DE\firmware.elf"])

    ========================================================================== [SUCCESS] Took 76.92 seconds ==========================================================================

    Environment Status Duration

    ------------- -------- ------------

    tasmota IGNORED

    tasmota-DE IGNORED

    tasmota-debug IGNORED

    tasmota32 IGNORED

    tasmota32-DE SUCCESS 00:01:16.920

    =========================================================================== 1 succeeded in 00:01:16.920 ===========================================================================

    Terminal will be reused by tasks, press any key to close it.

    Dann eben der übliche Rest, nicht im Flashmodus, RX TX passt nicht, USB Kabel defekt, USB Konverter abgeraucht. Eins davon ist es immer zu 100%.

    Alternativ ist der ESP hin.

    Tja das kann nicht sein, da ich mit dem gleichen Kabel und RX/TX Einstellungen usw. über FLASHESP eine fertige Bin flashen kann. Leider brauche ich eine angepasste Version deswegen nutz ich VSCode. Benötige ich damit meinen Stromzähler SML auslesen kann. Ausser jemand hat eine Fertige Version für mich.

    Achja gleicher Fehler auf zwei verschiedene Windows Rechner.

    Gruß

    MM

    Hallo, und was bedeutet diese Meldung, weil einen Upload kann ich nicht machen. :(

    File "C:\Users\mymey\.platformio\penv\lib\site-packages\serial\__init__.py", line 88, in serial_for_url

    instance.open()

    File "C:\Users\mymey\.platformio\penv\lib\site-packages\serial\serialwin32.py", line 62, in open

    raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))

    serial.serialutil.SerialException: could not open port '/dev/cu.SLAB_USBtoUART': FileNotFoundError(2, 'Das System kann den angegebenen Pfad nicht finden.', None, 3)

    *** [upload] Error 1

    ============================================================================================= [FAILED] Took 66.84 seconds =============================================================================================

    Environment Status Duration

    ------------- -------- ------------

    tasmota IGNORED

    tasmota-DE IGNORED

    tasmota-debug IGNORED

    tasmota32 IGNORED

    tasmota32-DE FAILED 00:01:06.839

    ======================================================================================== 1 failed, 0 succeeded in 00:01:06.839 ========================================================================================

    The terminal process "C:\Users\mymey\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

    Terminal will be reused by tasks, press any key to close it.

    Gruß

    MyMeyer

    Was heißt das genau? Bzw. wie überprüfe ich das?
    Gekauft habe ich die Sensoren beim makershop.de.
    Habe heute nochmal 2 bestellt bei AZ-Deleivery..
    Oder kannst du eine bessere Quelle empfehlen?

    Hallo ,

    hast Du dein Problem gelöst, weil bei mir das Problem aktuell auch auftritt für meine Solar Steuerung am Pool. HAbe einen Wemos D1 Min und zwei DS18B20 angeschlossen. 1x 3 Meter und 1x 10Meter.

    Gruß

    MyMeyer

    Zitat

    Es geht darum ob der Shelly2 noch funktioniert.

    Okay das ist richtig. Ich werde es versuchen. Aber eine Frage habe ich noch zu dem Shelly2. Reicht es wenn ich L & N NUR anschließe um zu schauen ob er bootet ? Oder muss man alles anklemmen ?

    Cu

    MM

    Hallo zusammen,

    ich habe folgendes Problem. Aktuell habe ich den 5 Shelly´s im Einsatz und soweit bin ich mit dem Teilen zufrieden.

    Nun habe ich hier 3 Shellys 2 die nicht funktionieren wollen. Wahrscheinlich habe ich sie beim Anschließen zerschossen !!!

    Nur weiß ich leider nicht wie man dieses Geräte elektronisch prüfen könnte, da ich nichts zum prüfen haben und nicht der Spezialist bin.

    Einfach wegschmeißen möchte ich sie jetzt aber auch nicht. Vielleicht kann ja jemand von Euch die Geräte prüfen. Ich würde Sie dann per Post versenden und die Reparatur Kosten übernehmen + einen Bonus für die Arbeit. Ich möchte die Geräte aber auch nicht an Shelly direkt senden , weil das bestimmt teurer wird.

    Sollte jemand von Euch Interesse haben würde ich mich sehr freuen über eine PM. :)

    Natürlich können wir auch versuchen das Ihr mir erklärt wie ich die Shelly überprüfen kann. :)

    Zur Info auf den Platinen sehe ich keine Brand/Schmor Spuren. X/

    Gruß

    MM