Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. History überarbeitet

    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

    History überarbeitet

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      versteckt last edited by

      Bei mir läuft sie auf Mac und Raspi mit MySQL stabil.

      LG Christian
      9128_debug1.jpg
      9128_iobroker.2018-10-24.log

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

        Hallo,

        mit mySQL läuft alles ohne Fehler

        1 Reply Last reply Reply Quote 0
        • P
          pix last edited by

          Mein SQL macht noch Probleme:

          Wenn ich die Objekte zum loggen auswähle (unter OS X Safari), muss ich bei mehreren Objekten für jedes Objekt einmal klicken. Bei 130 zu ändernden Objekten sind das 130 Mausklicks.

          Gehe ich einzeln vor, muss ich jedes Speichern doppelt klicken.

          Klick 1
          261_bildschirmfoto_2015-12-13_um_19.06.03.jpg

          Klick 2
          261_bildschirmfoto_2015-12-13_um_19.06.13.jpg

          Abgesehen davon, stoppt iobroker beim Aufruf der Tabelle/Graphik fast (wird sehr sehr langsam, Ereignissreiter und log stehen still) und nichts wird aus der DB gelesen.

          Gruß

          Pix

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

            @pix:

            Mein SQL macht noch Probleme:

            Wenn ich die Objekte zum loggen auswähle (unter OS X Safari), muss ich bei mehreren Objekten für jedes Objekt einmal klicken. Bei 130 zu ändernden Objekten sind das 130 Mausklicks.

            Gehe ich einzeln vor, muss ich jedes Speichern doppelt klicken.

            Klick 1
            filename="Bildschirmfoto 2015-12-13 um 19.06.03.jpg" index="1">~~

            Klick 2
            filename="Bildschirmfoto 2015-12-13 um 19.06.13.jpg" index="0">~~

            Abgesehen davon, stoppt iobroker beim Aufruf der Tabelle/Graphik fast (wird sehr sehr langsam, Ereignissreiter und log stehen still) und nichts wird aus der DB gelesen.

            Gruß

            Pix `
            Da muss bestimmt irgendwas in der Konsole zu sehen sein?

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

              sendTo "getHistory" to system.adapter.null from system.adapter.web.0: {"id":"hm-rpc.0.HEQ0113716.1.VALVE_STATE","options":{"start":1449969156,"end":1450055556,"aggregate":"average","count":200,"insta
              

              Man kann nicht den sql.0 Adapter im Grafik-Reiter auswählen.

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

                Ich habe gerade http://iobroker.net:8081/ upgedated und es läuft.

                Vermutlich automatisches Update von js-controller wird nicht funktionieren, deswegen manuell updaten:

                cd /opt/iobroker
                sudo iobroker stop
                sudo npm install iobroker.js-controller --production
                sudo npm install iobroker.admin --production
                sudo chmod 777 * -R
                iobroker start
                
                
                1 Reply Last reply Reply Quote 0
                • S
                  starfish last edited by

                  habe meine beiden Systeme (bananapi und odroid c1) auf den neusten Stand gebracht. Beide laufen stabil, inkl. mysql / flot.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pman last edited by

                    Ist der History Adapter Pflicht? Habe den SQL Adapter, aber bekomme ohne History kein Flot oder Rickshaw installiert:

                    upload [2] flot /opt/iobroker/node_modules/iobroker.flot/www/js/words.js js/words.js application/javascript
                    upload [1] flot /opt/iobroker/node_modules/iobroker.flot/www/index.html index.html text/html
                    upload [0] flot /opt/iobroker/node_modules/iobroker.flot/www/edit.html edit.html text/html
                    host.raspberrypi create instance history
                    ERROR: host.raspberrypi error: reading io-package.json Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/adapter/history/io-package.json'
                    ERROR: process exited with code 20
                    
                    1 Reply Last reply Reply Quote 0
                    • V
                      versteckt last edited by

                      Hallo, grad mein Produktivsystem auf den letzten Stand gebracht, lief die letzten Tage bereits mit admin 0.7.0 bzw.

                      js-controller 0.8.0.

                      Alle Adapter über Web aktualisiert, kein Problem.

                      js-controller aktualisiert über Web:

                      2015-12-15 18:03:09.996  - error: uncaught exception: ENOENT, no such file or directory '/opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json'
                      2015-12-15 18:03:10.096  - info: admin.0 terminating http server on port 8081
                      2015-12-15 18:03:10.302  - info: hm-rpc.2 xmlrpc -> 192.168.1.198:2001 init ["http://192.168.1.197:2001",""]
                      2015-12-15 18:03:10.013  - error: Error: ENOENT, no such file or directory '/opt/iobroker/node_modules/iobroker.js-controller/lib/states/../../../../iobroker-data/states.json'
                          at Error (native)
                          at Object.fs.openSync (fs.js:500:18)
                          at Object.fs.writeFileSync (fs.js:1099:15)
                          at saveState [as _onTimeout] (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServer.js:299:12)
                          at Timer.listOnTimeout (timers.js:119:15)
                      2015-12-15 18:03:10.017  - info: host.odroid-iobroker stopInstance system.adapter.admin.0
                      
                      

                      ioBroker startet nicht von selbst,

                      io.zwave.0 und io.hmm.0 laufen noch (sind meine eigenen Adapter, muss ich mir selber ansehen)

                      service iobroker start
                      
                      

                      liefert gar nichts zurück, iobroker läuft weiterhin nicht.

                      lt. /opt/iobroker/node_modules/iobroker.js-controller/package.json ist die Version 0.8.2 installiert

                      Folgende Schritte durchgeführt:

                      cd /opt/iobroker
                      sudo iobroker stop
                      sudo npm install iobroker.js-controller --production
                      sudo npm install iobroker.admin --production
                      sudo chmod 777 * -R
                      iobroker start
                      
                      

                      Schritte lieferten keine Fehler, iobroker wieder online.

                      LG Christian

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

                        Irgendwie will flot nachdem ich alle updates durchgeführt habe nicht mehr so richtig:

                        609_image.png

                        Außerdem kommt im log:

                        startInstance system.adapter.rickshaw.0: required adapter "history" not found!

                        startInstance system.adapter.flot.0: required adapter "history" not found!

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

                          Hallo,

                          Getnull wurde in der aktuellen Version durch ignorenull ersetzt.

                          Nachdem ich das angepasst habe,,sieht es wieder wie vorher aus.

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

                            @Pman:

                            Ist der History Adapter Pflicht? Habe den SQL Adapter, aber bekomme ohne History kein Flot oder Rickshaw installiert:

                            upload [2] flot /opt/iobroker/node_modules/iobroker.flot/www/js/words.js js/words.js application/javascript
                            upload [1] flot /opt/iobroker/node_modules/iobroker.flot/www/index.html index.html text/html
                            upload [0] flot /opt/iobroker/node_modules/iobroker.flot/www/edit.html edit.html text/html
                            host.raspberrypi create instance history
                            
                            ERROR: host.raspberrypi error: reading io-package.json Error: ENOENT: no such file or directory, open
                             '/opt/iobroker/node_modules/iobroker.js-controller/adapter/history/io-package.json'
                            ERROR: process exited with code 20
                            ```` `  
                            

                            Ich muss wohl diese Abhängigkeit noch rausnehmen.

                            1 Reply Last reply Reply Quote 0
                            • V
                              versteckt last edited by

                              Morgähn, bez. Setpoint bei HM-CC-TC Thermostaten.

                              Hab mal schnell einen "Trigger" mit Javascript eingebaut, somit sollte immer ein

                              Wert in der Datenbank / Historie vorhanden sein und ich kann meine Graphen

                              korrekt anzeigen.

                              Zumindest das kann ich erst nach ein paar Stunden definitiv beantworten.

                              on("hm-rpc.2.JEQ0710403.1.TEMPERATURE"/*Schlafzimmer*/, function(data)
                              {
                              log("Schlafzimmer Subscribe begin","info");
                              var setpoint = getState('hm-rpc.2.JEQ0710403.2.SETPOINT').val;
                              setState('hm-rpc.2.JEQ0710403.2.SETPOINT', setpoint);
                              log("Schlafzimmer Subscribe end","info");
                              });
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • V
                                versteckt last edited by

                                Guten Morgen!

                                Mir ist heute etwas eigenartiges aufgefallen, ich weiss nur nicht, ob das so gewollt ist.

                                Und zwar, wenn ich zwei Werte in Flot anzeige, wird die Grafik komisch dargestellt.

                                Ich habe zwei Thermostaten SetPoints übereinandergelegt und erhalte dann das Ergebnis im Bild.

                                Was ich spannend finde ist, das ich rechts zwei unterschiedliche Achswerte sehe und die Linien

                                ähnlich gezeichnet werden.

                                ABER: Der Wert um 05:37 des roten Grafen ist 33% und der Wert des grünen 63%.

                                Müsste dann die Grafik nicht "ein wenig" anders aussehen?

                                Bzw. warum werden immer beide X/Y Achswerte angezeigt?

                                301_flot.png

                                1 Reply Last reply Reply Quote 0
                                • I
                                  iben last edited by

                                  @sissiwup

                                  Wie hast du deine dropdown Auswahl in deinem Screenshot oben erstellt? (OG BAD, 1 Tag)
                                  4312_ceiling.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    Heinzelmaennchen last edited by

                                    @versteckt

                                    Ich glaube das dieses Verhalten in der Tat so gewollt ist um immer alle Werte innerhalb des Diagramms anzeigen zu können.

                                    Will man das ganze nun aber in direkter Relation zueinander sehen versuche mal bitte die Werte von MIN und MAX der beiden Graphen in den Input Einstellungen auf 0 / 100 zu setzen. Dann sollte das korrekt aussehen.

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      versteckt last edited by

                                      @Heinzelmaennchen: Danke, genau das war es, jetzt sieht es richtig aus.
                                      3116_bildschirmfoto_2018-11-08_um_18.44.01.png

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        starfish last edited by

                                        wie funktioniert bei der flot Zeiteinstellung die "Art" statik. Welches Format muss bei "start" und "ende" eingegeben werden?

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

                                          @iben:

                                          @sissiwup

                                          Wie hast du deine dropdown Auswahl in deinem Screenshot oben erstellt? (OG BAD, 1 Tag) `

                                          Hallo,

                                          schau mal da:

                                          http://forum.iobroker.de/viewtopic.php?f=30&t=1498

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

                                            Moin zusammen,

                                            da ich (nach allen Updates, usw.) immer noch die selbem Fehlermeldungen vom SQLite im Log hatte, bin ich nun auch auf mySQL umgestiegen.

                                            Das Log ist jetzt wieder sauber - keine SQL-Fehler mehr.

                                            Gruß,

                                            Eric

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            885
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            149
                                            36641
                                            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