Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Gartenbewässerung v0.0.x

    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

    Test Adapter Gartenbewässerung v0.0.x

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

      @JB_Sullivan sagte in Test Adapter Gartenbewässerung v0.0.x:

      @sigi234 sagte in Test Adapter Gartenbewässerung v0.0.x:

      @JB_Sullivan sagte in Test Adapter Gartenbewässerung v0.0.x:

      Wie ich jetzt festgestellt habe, ist das setzten des "Automatik Slider" gar nicht als Automatik Funktion zu verstehen.

      Dann würde ich den DP auf Sofortstart umstellen.?

      Macht für mein Verständnis mehr Sinn.

      Jupp, schauen wir mal was @tombox dazu sagt.

      1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @tombox last edited by

        @tombox

        Hallo, kannst du das Date Format ändern?

        https://forum.iobroker.net/topic/22301/neuer-adapter-linkeddevices/219

        T 1 Reply Last reply Reply Quote 0
        • T
          tombox @sigi234 last edited by

          @sigi234 habe mal für alle timestamps hinzugefügt

          sigi234 1 Reply Last reply Reply Quote 1
          • sigi234
            sigi234 Forum Testing Most Active @tombox last edited by

            @tombox sagte in Test Adapter Gartenbewässerung v0.0.x:

            @sigi234 habe mal für alle timestamps hinzugefügt

            Hm, sehe es nur bei 3 DP

            1 Reply Last reply Reply Quote 0
            • wawyo
              wawyo Developer last edited by

              Ergänzung für tombox (alle Variablen sind auf Englisch):

              Vis.png

              async checkautomaticTimer() {
                      let automatic = [];
                      automatic = [
                          ["starttime1", this.config.starttime1_enable, this.config.starttime1, this.config.starttime1duration, this.config.starttime1tempforecast, this.config.starttime1rainforecast, this.config.starttime1moistureforecast],
                          ["starttime2", this.config.starttime2_enable, this.config.starttime2, this.config.starttime2duration, this.config.starttime2tempforecast, this.config.starttime2rainforecast, this.config.starttime2moistureforecast],
                          ["starttime3", this.config.starttime3_enable, this.config.starttime3, this.config.starttime3duration, this.config.starttime3tempforecast, this.config.starttime3rainforecast, this.config.starttime3moistureforecast]
                      ];
              
                      for (let i = 0; i <= automatic.length - 1; i++) {
                          if (this.automatic[i][1] && this.automatic[i][0].startsWith("starttime")) {
                              let nextautomatic = this.gettimediff(this.automatic[i][2]);
                              this.setState("state." + this.automatic[i][0] + ".still", this.convertseconds(nextautomatic));
                              this.setState("state." + this.automatic[i][0] + ".progress", 100 - ((nextautomatic / 86400) * 100).toFixed(2));
                              this.setState("state." + this.automatic[i][0] + ".stillseconds", nextautomatic);
                          } else if (!this.automatic[i][1]) {
                              this.setState("state." + this.automatic[i][0] + ".still", "--:--:--");
                              this.setState("state." + this.automatic[i][0] + ".progress", "00");
                              this.setState("state." + this.automatic[i][0] + ".stillseconds", "00");
                          }
                      }
                  }
              
                  gettimediff(datetime) {
                      var tempnow = Date();
                      var pattern = /(\d{2})\:(\d{2})\:(\d{2})/;
                      var convertednow = tempnow.replace(pattern, "" + datetime + ":00");
                      var convertednowSec = new Date(convertednow).getTime();
                      var nowtemp = new Date();
                      var now = nowtemp.getTime();
              
                      if (isNaN(convertednowSec)) {
                          return "";
                      }
                      if (convertednowSec < now) {
                          var milisec_diff = (convertednowSec + (24 * 60 * 60 * 1000)) - now;
                      } else {
                          var milisec_diff = convertednowSec - now;
                      }
              
                      var date_diff = (milisec_diff / 1000).toFixed(0);
                      return date_diff;
                  }
              
                  convertseconds(totalSeconds) {
                      var hours = Math.floor(totalSeconds / 3600);
                      var minutes = Math.floor((totalSeconds - (hours * 3600)) / 60);
                      var seconds = (totalSeconds - (hours * 3600) - (minutes * 60)).toFixed(0);
              
                      var result = (hours < 10 ? "0" + hours : hours);
                      result += ":" + (minutes < 10 ? "0" + minutes : minutes);
                      result += ":" + (seconds < 10 ? "0" + seconds : seconds);
                      return result;
                  }
              
              T 1 Reply Last reply Reply Quote 0
              • T
                tombox @wawyo last edited by

                @wawyo was macht das genau?

                wawyo 1 Reply Last reply Reply Quote 0
                • wawyo
                  wawyo Developer @tombox last edited by wawyo

                  @tombox
                  Der Code ist zum berechnen alle Restzeiten bis zum nächsten automatische Start.
                  Ich habe die Zeiteinstellungen zum Automatikbetrieb ergänzt.
                  20200609_213518_edited.mp4

                  1 Reply Last reply Reply Quote 0
                  • F
                    f0rd42 last edited by

                    Mal ne blöde Frage:

                    So wie es aussieht, habt ihr entweder alle eine Pumpe oder allgemein genügend Druck um alle Kreise gleichzeitig betreiben zu können. Das ist bei mir leider nicht so!

                    Gibt es irgendwie eine Möglichkeit, dass die Ventile nur nacheinander abgearbeitet werden oder habe ich hier was übersehen?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mameier1234 @f0rd42 last edited by

                      @f0rd42 Das ist doch genau die Funktion des Adapters.. In einer Instanz werden die einzelnen Ventile nacheinander abgearbeitet...

                      Einige wollen hier genau das Gegenteil, das geht aber noch nicht...

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        f0rd42 @mameier1234 last edited by

                        @mameier1234 ok, dann war / bin ich blind 🙂

                        Danke, ich tüftele mal weiter

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gerni last edited by Gerni

                          Hi. Erstmal Danke für die Arbeit und den Adapter.

                          Vermutlich blöde Frage aber was genau muss ich denn angeben um Ventil eins, was ein sonoff 4CH Pro wäre, schalten zu können. In Log steht zwar, dass Ventil 1 geschaltet wird, ist es aber in der 4CH Konfig (Tasmo) nicht. "4CH Pro POWER1" reicht vermutlich nicht

                          EDIT:
                          Hab es: "sonoff.0.4CH Pro.POWER1" und läuft. Super Geil!!!!

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gerni last edited by

                            Habe dann doch mal ne Frage.

                            Zu Ermittlung von Wetterdaten nutze ich den wetter.com Adapter. Der liefert auch Infos. Zu verschiedenen Tagen usw.

                            Nun möchte ich an jedem Tag der Woche Sprinkler aktivieren jedoch nicht wenn es zB 5 mm regnet.

                            Jetzt kann ich hier im Adapter Regenwert für heute und morgen hinterlegen. Und was ist Mittwoch, Donnerstag usw?

                            Oder habe ich die passenden Datenpunkte nicht vor Augen?

                            Wie holt ihr euch die Wetterdaten und bindet sie in den Adapter ein?

                            Gruß
                            Stefan

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              f0rd42 @Gerni last edited by

                              @Gerni Die sind direkt im Adapter:

                              Screenshot 2020-06-15 at 17.23.41.png

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                Gerni @f0rd42 last edited by Gerni

                                @f0rd42 ist Nextdays Day 1 also heute. Wenn dem so ist, Asche über mein haupt.

                                Wenn also morgen geprüft wird wäre Day 1 dann tatsächlich Dienstag? Ich dachte Day 1 ist immer Montag, Day 2 Dienstag usw.

                                Dann würde doch Day 2 immer Dienstag sein und nie Mittwoch wenn der Wert hier im Adapter für Folgetag steht.

                                Vielleicht schnall ich die Logik auch nicht

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  f0rd42 @Gerni last edited by

                                  @Gerni day 1 ist immer heute, day 2 morgen.

                                  1 Reply Last reply Reply Quote 0
                                  • AtomicIX
                                    AtomicIX last edited by

                                    Hallo, mag mir bitte einer sagen, wo ich die Links im "daswetter" im Adapter finde? Ich steige da nicht durch. Ich finde im Adapter keine Links

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @AtomicIX last edited by sigi234

                                      @AtomicIX sagte in Test Adapter Gartenbewässerung v0.0.x:

                                      Hallo, mag mir bitte einer sagen, wo ich die Links im "daswetter" im Adapter finde? Ich steige da nicht durch. Ich finde im Adapter keine Links

                                      https://www.daswetter.com/api/#/login

                                      This adapter reads weather forecast data from DasWetter.com.
                                      
                                      You need an account on DasWetter.com. Register at https://www.daswetter.com/api/#/login
                                      The account is for free under certain conditions.
                                      
                                      In your account you will find three URL for four different data models:
                                      
                                      Forecast for the next 7 days and general information of the day: high and low, wind (symbol and description), Day symbol and weather conditions
                                      detailed information for 5 days and every 3 hours: The general daily information is the following: peak, lows, wind, gusts, Precipitation, relative humidity,
                                      sea level air pressure, snow line, Sunrise and sunset, dates related to the moon, local time
                                      Preview with detailed data every hour (only for the first 2 days, then every 3 hours)
                                      Prediction for 5 days and every 3 hours (in JSON format)
                                      All four models are implemented and one should be used at least.
                                      In settings URL like http://api.daswetter.com/index.php?api_lang=de&localidad=xxxx must be used. Just copy the complete URL from your account.
                                      
                                      AtomicIX 1 Reply Last reply Reply Quote 0
                                      • AtomicIX
                                        AtomicIX @sigi234 last edited by

                                        @sigi234 ah, cool, danke.

                                        1 Reply Last reply Reply Quote 0
                                        • JB_Sullivan
                                          JB_Sullivan last edited by

                                          Hat von Euch jemand schon mal so einen Umbau mit einem TFK von INNOGY gemacht? Sind ja eigentlich Baugleich zu Homematic nur das Innogy ein anderes Verschlüsselungsprotokoll verwendet.

                                          Ich habe das nämlich gemacht und trotz 47kOhm Widerstand bekomme ich immer nur ein geschlossen Signal - egal ob trocken oder feucht. Hat jemand einen Tip für mich?

                                          https://homematic-guru.de/homematic-bodenfeuchtesensor-mit-gardena

                                          1 Reply Last reply Reply Quote 0
                                          • AtomicIX
                                            AtomicIX last edited by

                                            Ich glaube ich bin gerade zu Blöd.
                                            Ich möchte bei mir im Garten den Adapter auf dem Raspberry / iobroker installieren.

                                            Garten-ioBroker
                                            
                                            Betriebssystem
                                                linux
                                            Betriebssystem
                                                linux
                                            Architektur
                                                arm
                                            CPUs
                                                4
                                            Geschwindigkeit
                                                1500 MHz
                                            Modell
                                                ARMv7 Processor rev 3 (v7l)
                                            RAM
                                                3.81 GB
                                            System Betriebszeit
                                                3 T. 01:09:26
                                            Node.js
                                                v10.20.1 (Es gibt eine neuere Version: v10.21.0 - Empfohlene Version v12.18.0)
                                            NPM
                                                6.14.4
                                            Festplatte Größe
                                                116.87 GB
                                            Festplatte frei
                                                114.03 GB
                                            Anzahl der Adapter
                                                296
                                            

                                            Zuhause auf meinem Testsystem ist ein Clone des Aktuellen iobroker system. Da läuft der Adapter ohne Probleme. Jetzt im Garrten ( Habe nur Edge Internet verbindung) bekomme ich ihn nicht installiert. Wo ist das Problem? Die systeme sind identisch.

                                            $ ./iobroker url "https://github.com/TA2k/ioBroker.gartenbewaesserung" --debug
                                            install https://github.com/TA2k/ioBroker.gartenbewaesserung/tarball/39c3d009800d7bf4504327002087636619982ce6
                                            NPM version: 6.14.4
                                            npm install https://github.com/TA2k/ioBroker.gartenbewaesserung/tarball/39c3d009800d7bf4504327002087636619982ce6 --loglevel error --prefix "/opt/iobroker" (System call)
                                            npm
                                             ERR! code EINTEGRITY
                                            npm ERR! sha512-cBMXjSW+fjOb4tyaVHuaVE/A5TqkukDWiOfxxAjY+PEqmmBQlLwn+8OzwPiG3brouXKY5Un4pBjAeB6UToXHaQ== integrity checksum failed when using sha512: wanted sha512-cBMXjSW+fjOb4tyaVHuaVE/A5TqkukDWiOfxxAjY+PEqmmBQlLwn+8OzwPiG3brouXKY5Un4pBjAeB6UToXHaQ== but got sha512-HV2uDGzXXVjT2754hSwBxAz1Semt/uato+9tUwWTaRT/hE08zDJ260MZ0hhjkBilSG2vujCGke3LZCgUJTMfQQ==. (52570 bytes)
                                            npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-06-17T14_05_18_802Z-debug.log
                                            ERROR: host.Garten-ioBroker Cannot install https://github.com/TA2k/ioBroker.gartenbewaesserung/tarball/39c3d009800d7bf4504327002087636619982ce6: 1
                                            ERROR: process exited with code 25
                                            
                                            AtomicIX 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            941
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            beregnungssteuerung bewässerung garten gartenbewässerung magnetventil ventil ventile
                                            66
                                            567
                                            111601
                                            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