Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Microcontroller
  5. Tasmocompiler für D1-Mini mit SML + BME280 [gelöst]

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    297

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Tasmocompiler für D1-Mini mit SML + BME280 [gelöst]

Scheduled Pinned Locked Moved Microcontroller
4 Posts 2 Posters 682 Views 1 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.
  • MartinSUM Offline
    MartinSUM Offline
    MartinSU
    wrote on last edited by MartinSU
    #1

    Hallo,
    ich habe einen D1-Mini mit Stromzähler Interface am laufen.
    Die Software habe ich damals mit dem Tasmocompiler erstellt.
    Eingestellt haben ich bei Wähle die Funktionen die Funktionen Web Interface, Timers, Regeln
    und bei Zusätzliche Parameter :

    #ifndef USE_SML_M
    #define USE_SML_M
    #endif
    

    Jetzt wollte ich mit dem gleichen D1-Mini zusätzlich noch einen BME280 (Temperatur, Luftdruck und Feuchtigkeitssensor) per I2C Bus anschließen. Deshalb habe ich zusätzlich Temperatur/ Luftfeuchtigkeitssensoren aktiviert. Ergebnis:
    *** [.pio/build/tasmota/src/tasmota.ino.cpp.o] Error 1
    Im nächsten Versuch habe ich bei Zusätzliche Parameter folgendes eingefügt (die Auswahl oben deaktiviert)

    #ifndef USE_SML_M
    #define USE_SML_M
    #endif
    #ifndef USE_BMP
    #define USE_BMP 
    #endif
    #ifndef USE_I2C
    #define USE_I2C
    #endif
    

    Aber leider wieder der gleiche Fehler.
    *** [.pio/build/tasmota/src/tasmota.ino.cpp.o] Error 1
    Leider kann ich mir der Fehlermeldung nichts anfangen, habe auch nichts gefunden.
    Was muss ich einstellen, damit das zusammen klappt?
    Oder geht das nicht zusammen?
    Wer hat einen Tipp?
    Danke

    MartinSUM 1 Reply Last reply
    0
    • MartinSUM MartinSU

      Hallo,
      ich habe einen D1-Mini mit Stromzähler Interface am laufen.
      Die Software habe ich damals mit dem Tasmocompiler erstellt.
      Eingestellt haben ich bei Wähle die Funktionen die Funktionen Web Interface, Timers, Regeln
      und bei Zusätzliche Parameter :

      #ifndef USE_SML_M
      #define USE_SML_M
      #endif
      

      Jetzt wollte ich mit dem gleichen D1-Mini zusätzlich noch einen BME280 (Temperatur, Luftdruck und Feuchtigkeitssensor) per I2C Bus anschließen. Deshalb habe ich zusätzlich Temperatur/ Luftfeuchtigkeitssensoren aktiviert. Ergebnis:
      *** [.pio/build/tasmota/src/tasmota.ino.cpp.o] Error 1
      Im nächsten Versuch habe ich bei Zusätzliche Parameter folgendes eingefügt (die Auswahl oben deaktiviert)

      #ifndef USE_SML_M
      #define USE_SML_M
      #endif
      #ifndef USE_BMP
      #define USE_BMP 
      #endif
      #ifndef USE_I2C
      #define USE_I2C
      #endif
      

      Aber leider wieder der gleiche Fehler.
      *** [.pio/build/tasmota/src/tasmota.ino.cpp.o] Error 1
      Leider kann ich mir der Fehlermeldung nichts anfangen, habe auch nichts gefunden.
      Was muss ich einstellen, damit das zusammen klappt?
      Oder geht das nicht zusammen?
      Wer hat einen Tipp?
      Danke

      MartinSUM Offline
      MartinSUM Offline
      MartinSU
      wrote on last edited by
      #2

      Ich habe noch ein paar Fehlermeldungen gefunden, wenn man etwas weiter in der Listbox hochscrollt.
      Vielleicht gibt es ein paar Insider....

      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1447:22: error: 'SML_Decode' was not declared in this scope
           SML_Decode(meters);
                            ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1485:28: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1509:26: error: 'SML_Decode' was not declared in this scope
               SML_Decode(meters);
                                ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1539:28: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1566:30: error: 'SML_Decode' was not declared in this scope
                   SML_Decode(meters);
                                    ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1584:28: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1595:26: error: 'SML_Decode' was not declared in this scope
               SML_Decode(meters);
                                ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1604:26: error: 'SML_Decode' was not declared in this scope
               SML_Decode(meters);
                                ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1625:32: error: 'SML_Decode' was not declared in this scope
                     SML_Decode(meters);
                                      ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1644:22: error: 'SML_Decode' was not declared in this scope
           SML_Decode(meters);
                            ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino: In function 'uint32_t SML_getlinelen(char*)':
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:2800:20: error: 'SCRIPT_EOL' was not declared in this scope
           if (lp[cnt] == SCRIPT_EOL) {
                          ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino: In function 'void SML_Init()':
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3079:14: error: 'glob_script_mem' was not declared in this scope
         char *lp = glob_script_mem.section_ptr;
                    ^
      Compiling .pio/build/tasmota/lib388/ESP8266SdFat/FatLib/ostream.cpp.o
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3253:34: error: 'SCRIPT_EOL' was not declared in this scope
                   if (!*lp1 || *lp1 == SCRIPT_EOL || *lp1 == ',') {
                                        ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3311:39: error: 'SCRIPT_EOL' was not declared in this scope
                       if (!*lp1 || (*lp1 == SCRIPT_EOL)) {
                                             ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3345:23: error: 'SCRIPT_EOL' was not declared in this scope
                 if (*lp1 == SCRIPT_EOL) lp1--;
                             ^
      /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3391:18: error: 'SCRIPT_EOL' was not declared in this scope
             if (*lp == SCRIPT_EOL) {
                        ^
      
      bahnuhrB 1 Reply Last reply
      0
      • MartinSUM MartinSU

        Ich habe noch ein paar Fehlermeldungen gefunden, wenn man etwas weiter in der Listbox hochscrollt.
        Vielleicht gibt es ein paar Insider....

        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1447:22: error: 'SML_Decode' was not declared in this scope
             SML_Decode(meters);
                              ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1485:28: error: 'SML_Decode' was not declared in this scope
                   SML_Decode(meters);
                                    ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1509:26: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1539:28: error: 'SML_Decode' was not declared in this scope
                   SML_Decode(meters);
                                    ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1566:30: error: 'SML_Decode' was not declared in this scope
                     SML_Decode(meters);
                                      ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1584:28: error: 'SML_Decode' was not declared in this scope
                   SML_Decode(meters);
                                    ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1595:26: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1604:26: error: 'SML_Decode' was not declared in this scope
                 SML_Decode(meters);
                                  ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1625:32: error: 'SML_Decode' was not declared in this scope
                       SML_Decode(meters);
                                        ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:1644:22: error: 'SML_Decode' was not declared in this scope
             SML_Decode(meters);
                              ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino: In function 'uint32_t SML_getlinelen(char*)':
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:2800:20: error: 'SCRIPT_EOL' was not declared in this scope
             if (lp[cnt] == SCRIPT_EOL) {
                            ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino: In function 'void SML_Init()':
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3079:14: error: 'glob_script_mem' was not declared in this scope
           char *lp = glob_script_mem.section_ptr;
                      ^
        Compiling .pio/build/tasmota/lib388/ESP8266SdFat/FatLib/ostream.cpp.o
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3253:34: error: 'SCRIPT_EOL' was not declared in this scope
                     if (!*lp1 || *lp1 == SCRIPT_EOL || *lp1 == ',') {
                                          ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3311:39: error: 'SCRIPT_EOL' was not declared in this scope
                         if (!*lp1 || (*lp1 == SCRIPT_EOL)) {
                                               ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3345:23: error: 'SCRIPT_EOL' was not declared in this scope
                   if (*lp1 == SCRIPT_EOL) lp1--;
                               ^
        /tmp/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:3391:18: error: 'SCRIPT_EOL' was not declared in this scope
               if (*lp == SCRIPT_EOL) {
                          ^
        
        bahnuhrB Offline
        bahnuhrB Offline
        bahnuhr
        Forum Testing Most Active
        wrote on last edited by bahnuhr
        #3

        @martinsu
        für den BME280 benutze ich:

        #undef USE_BMP 
        #define USE_BMP                                  // [I2cDriver10] Enable BMP085/BMP180/BMP280/BME280 sensors (I2C addresses 0x76 and 0x77) (+4k4 code)
        

        Was dein ifndev ist, weiß ich nicht.

        Ich bastel mir die bin so wie ich sie brauche.
        Und flashen tue ich mit tasmotizer.


        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
        Danke.
        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
        ScreenToGif :https://www.screentogif.com/downloads.html

        MartinSUM 1 Reply Last reply
        0
        • bahnuhrB bahnuhr

          @martinsu
          für den BME280 benutze ich:

          #undef USE_BMP 
          #define USE_BMP                                  // [I2cDriver10] Enable BMP085/BMP180/BMP280/BME280 sensors (I2C addresses 0x76 and 0x77) (+4k4 code)
          

          Was dein ifndev ist, weiß ich nicht.

          Ich bastel mir die bin so wie ich sie brauche.
          Und flashen tue ich mit tasmotizer.

          MartinSUM Offline
          MartinSUM Offline
          MartinSU
          wrote on last edited by
          #4

          @bahnuhr
          Ich habe es jetzt auch hinbekommen.
          Der Fehler war, dass man bei Wähle die Funktionen nicht Regeln sondern Script (für SML) aktiviert sein muss.
          Zusätzlich noch Temperatur/ Luftfeuchtigkeitssensoren für den BME280 aktivieren,
          dann kam die Meldung: Finished. Exit code: 0.
          Morgen noch löten und flashen um zu sehen, ob auch alles funktioniert.
          Danke Dir.

          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

          257

          Online

          32.7k

          Users

          82.5k

          Topics

          1.3m

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

          • Don't have an account? Register

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