Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Heizungsschema

    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

    Heizungsschema

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by

      Und die Umrechnung per Script:

      // Wemos-Drucksensor hat sich geändert
          on({id: "mqtt.2.Wemos_Drucksensor.SENSOR"}, function(obj) {  
              obj = JSON.parse(obj.state.val); 
              var wert_Heizung = parseFloat(((obj.ADS1115.A1-2650)/1000*23.58/100).toFixed(2));
              log ("Heizung: " + obj.ADS1115.A1 + " , " + wert_Heizung);
              var wert_FB_Heizung = parseFloat(((obj.ADS1115.A2-2650)/1000*23.58/100).toFixed(2));
              log ("FB-Heizung: " + obj.ADS1115.A2 + " , " + wert_FB_Heizung);
              var wert_Wasser = parseFloat(((obj.ADS1115.A3-2650)/1000*56.6/100).toFixed(2));
              log ("Wasser: " + obj.ADS1115.A3 + " , " + wert_Wasser);
              setState("javascript.0.Geräte.Wemos.Wemos-Drucksensor.Sensor_05_Heizung", wert_Heizung);
              setState("javascript.0.Geräte.Wemos.Wemos-Drucksensor.Sensor_05_FB-Heizung", wert_FB_Heizung);
              setState("javascript.0.Geräte.Wemos.Wemos-Drucksensor.Sensor_12_Wasser", wert_Wasser);
          });
      
      Stratos Gkrekidis 1 Reply Last reply Reply Quote 0
      • Stratos Gkrekidis
        Stratos Gkrekidis @bahnuhr last edited by Stratos Gkrekidis

        @bahnuhr du bist der beste, super Vielen Dank

        Stratos Gkrekidis bahnuhr 2 Replies Last reply Reply Quote 0
        • Stratos Gkrekidis
          Stratos Gkrekidis @Stratos Gkrekidis last edited by

          @stratos-gkrekidis eine frage noch warum hast du den A0 pin an 5volt angeschlossen????

          bahnuhr 1 Reply Last reply Reply Quote 0
          • bahnuhr
            bahnuhr Forum Testing Most Active @Stratos Gkrekidis last edited by

            @stratos-gkrekidis sagte in Heizungsschema:

            @stratos-gkrekidis eine frage noch warum hast du den A0 pin an 5volt angeschlossen????

            Um zu sehen welcher analog wert bei 5 Volt angezeigt wird.
            Für die Berechnung.

            Musst hier im Forum mal suchen. Da gibt es einige Threads (auch mit mir) wo man dies erklärt hat.

            Stratos Gkrekidis 1 Reply Last reply Reply Quote 1
            • Stratos Gkrekidis
              Stratos Gkrekidis @bahnuhr last edited by

              @bahnuhr also mein netzteil muss genau 5volt haben

              1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @Stratos Gkrekidis last edited by bahnuhr

                @stratos-gkrekidis sagte in Heizungsschema:

                @bahnuhr also mein netzteil muss genau 5volt haben

                versteh ich nicht!

                Du hast doch den Wemos an 5V.
                Und der Wemos hat einen pin mit 5 V.

                Was meinst du damit ?

                Stratos Gkrekidis 1 Reply Last reply Reply Quote 0
                • Stratos Gkrekidis
                  Stratos Gkrekidis @bahnuhr last edited by

                  @bahnuhr hast du dein wemos usb verbunden oder mit ein 5 volt netzteil

                  bahnuhr 1 Reply Last reply Reply Quote 0
                  • bahnuhr
                    bahnuhr Forum Testing Most Active @Stratos Gkrekidis last edited by

                    @stratos-gkrekidis
                    usb oder netzteil
                    geht beides.

                    Aber ja, natürlich mit 5 V.
                    Mit was sonst ?

                    Stratos Gkrekidis 1 Reply Last reply Reply Quote 0
                    • Stratos Gkrekidis
                      Stratos Gkrekidis @bahnuhr last edited by

                      @bahnuhr weil manche 5v netzteil geben keine 5v aus sonder 4,nochwas

                      bahnuhr 1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active @Stratos Gkrekidis last edited by

                        @stratos-gkrekidis sagte in Heizungsschema:

                        @bahnuhr weil manche 5v netzteil geben keine 5v aus sonder 4,nochwas

                        Ist doch egal, der Wemos läuft trotzdem.

                        Und deshalb ja die "5V" an A0.
                        Um zu sehen welcher analog Wert kommt.

                        Stratos Gkrekidis 1 Reply Last reply Reply Quote 0
                        • Stratos Gkrekidis
                          Stratos Gkrekidis @bahnuhr last edited by

                          @bahnuhr 👍 👍 👍 danke für deine Mühe hab gleich die sensoren und das ads1115 bestellt.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          889
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          own project template vis
                          6
                          32
                          1973
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo