Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neuer Adapter: SMA Wechselrichter mit sbfspot

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Neuer Adapter: SMA Wechselrichter mit sbfspot

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
248 Beiträge 26 Kommentatoren 57.2k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    Andersmacher
    schrieb am zuletzt editiert von
    #143

    @Rene_HM Zu "Widget im VIS sichtbar?":
    Ich meine, ich hatte es so formuliert, daß im VIS (Runtime) sinngemäß "keine aktuellen Daten vorhanden" angezeigt wird. Aber nicht "in einem" Widget, sondern "anstelle" (jedenfalls nur ein String, keinerlei Grafik) und dem ist auch so.
    Im Vis-Editor hingegen ist gar nichts zu sehen.

    Aus meinem Post vom 16.03.2020:
    Mit "Crontab -e" sehe ich bei mir z. B. über Putty im Editor folgende Einträge:

    */5 6-22 * * * /usr/local/bin/sbfspot.3/daydata
    55 05 * * * /usr/local/bin/sbfspot.3/monthdata

    Das ist auch heute noch so.
    Das bedeutet doch, daß die Cronjobs laufen - oder?
    Und ich sehe ja auch alle 5 Minuten neue Werte in der Ausgabe eines manuell abgesetzten "select * from vwSpotData;".

    Im Log von sbfspot sehe ich keinerlei Fehlereinträge. Der Wert für EToday ist aber jedesmal mit 0.000kWh gelogt. Auszug aus dem Log:

    Energy Production:
    EToday: 0.000kWh
    ETotal: 896.318kWh
    Operation Time: 605.78h
    Feed-In Time : 577.53h

    Ich hatte also offenbar richtig in Erinnerung, daß dieser Wert immer Null ausgibt.
    Wenn das WR-bedingt so sein sollte, wird man das nicht ändern können. Aber ich verstehe dann trotzdem nicht, daß sich Dein Widget nicht zeigt und sei es eben mit Null-Werten.

    ioBroker auf Raspi4B 8GB Debian(12) 64Bit

    1 Antwort Letzte Antwort
    0
    • alex9926A Offline
      alex9926A Offline
      alex9926
      schrieb am zuletzt editiert von
      #144

      Hallo zusammen,

      dank der Hilfe hier im Forum hat es nun endlich geklappt mit der Integration in den ioBroker. Im nächsten Schritt wollte ich jetzt das ganze im Multihost-Betrieb realisieren, da die Bluetoothverbindung nicht bis zum Raspberry Pi 4 (Master) reicht. Jetzt erhalte ich folgende Fehlermeldung. Hat da jemand eine Idee zu?472b9715-9a3f-44ee-87aa-6b969aa441a2-image.png

      Rene_HMR 1 Antwort Letzte Antwort
      0
      • alex9926A alex9926

        Hallo zusammen,

        dank der Hilfe hier im Forum hat es nun endlich geklappt mit der Integration in den ioBroker. Im nächsten Schritt wollte ich jetzt das ganze im Multihost-Betrieb realisieren, da die Bluetoothverbindung nicht bis zum Raspberry Pi 4 (Master) reicht. Jetzt erhalte ich folgende Fehlermeldung. Hat da jemand eine Idee zu?472b9715-9a3f-44ee-87aa-6b969aa441a2-image.png

        Rene_HMR Offline
        Rene_HMR Offline
        Rene_HM
        Developer
        schrieb am zuletzt editiert von
        #145

        @alex9926 siehe hier https://github.com/rg-engineering/ioBroker.sbfspot#known-issues

        1 Antwort Letzte Antwort
        0
        • alex9926A Offline
          alex9926A Offline
          alex9926
          schrieb am zuletzt editiert von
          #146

          Habe da nichts passendes gefunden. Ohne Multihost lief es ja bereits.

          Rene_HMR 1 Antwort Letzte Antwort
          0
          • alex9926A alex9926

            Habe da nichts passendes gefunden. Ohne Multihost lief es ja bereits.

            Rene_HMR Offline
            Rene_HMR Offline
            Rene_HM
            Developer
            schrieb am zuletzt editiert von
            #147

            @alex9926 es fehlt das package sqlite3. Das muss installiert werden, wie es auf der verlinkten Seite steht. Durch die Multihost-Umstellung hast du irgendwie das Paket verloren (evtl. weil sbfspot jetzt auf einem anderen System laufen soll, oder durch andere Installationen)

            1 Antwort Letzte Antwort
            0
            • J Offline
              J Offline
              james4711
              schrieb am zuletzt editiert von
              #148

              Hallo!

              Ich habe ein Problem mit dem Widget.
              Wenn ich das Widget meiner Visualisierung hinzufüge passiert (wenn ich Instanz und Seriennummer fülle) gar nichts. Es wird nichts dargestellt.
              Wenn ich Instanz und/oder Seriennummer weglasse erhalte ich immerhin einen Hinweis:
              e1f86942-aa2d-4db6-8a25-80f3b7534f11-image.png

              Mit allen Daten habe ich nur eine große, schwarze Fläche.

              Woran kann das liegen!

              Danke für die Hilfe.

              LG,

              Dieter

              J 1 Antwort Letzte Antwort
              0
              • J james4711

                Hallo!

                Ich habe ein Problem mit dem Widget.
                Wenn ich das Widget meiner Visualisierung hinzufüge passiert (wenn ich Instanz und Seriennummer fülle) gar nichts. Es wird nichts dargestellt.
                Wenn ich Instanz und/oder Seriennummer weglasse erhalte ich immerhin einen Hinweis:
                e1f86942-aa2d-4db6-8a25-80f3b7534f11-image.png

                Mit allen Daten habe ich nur eine große, schwarze Fläche.

                Woran kann das liegen!

                Danke für die Hilfe.

                LG,

                Dieter

                J Offline
                J Offline
                james4711
                schrieb am zuletzt editiert von
                #149

                @james4711
                Als Ergänzung: Im Browser in der Webconsole erhalte ich: vis.binds.sbfspot.history.update is not a function.

                Kann es damit zu tun haben??

                Danke!

                Rene_HMR 1 Antwort Letzte Antwort
                0
                • J james4711

                  @james4711
                  Als Ergänzung: Im Browser in der Webconsole erhalte ich: vis.binds.sbfspot.history.update is not a function.

                  Kann es damit zu tun haben??

                  Danke!

                  Rene_HMR Offline
                  Rene_HMR Offline
                  Rene_HM
                  Developer
                  schrieb am zuletzt editiert von
                  #150

                  @james4711 sagte in Neuer Adapter: SMA Wechselrichter mit sbfspot:

                  Bitte mal das ganze log aus dem browser posten.
                  hast du den Adapter neu installiert oder aktualisiert?

                  1 Antwort Letzte Antwort
                  0
                  • J Offline
                    J Offline
                    james4711
                    schrieb am zuletzt editiert von
                    #151

                    Hab das jetzt mal weiter eingrenzt.
                    Irgendwie findet er die Datei /vis/widgets/sbfspot/flot/jquery.canvaswrapper.js nicht.
                    Liegt auch nicht dort, sondern wie die anderen in lib/js/flot/...
                    Auch wenn ich sie in den Pfad hinkopiere, wo er sie sucht geht's nicht!

                    [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                    index.html:13655 GET http://192.168.0.6:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js net::ERR_ABORTED 404 (Not Found)
                    index.html:3469 Version vis-canvas-gauges: 0.1.5
                    index.html:4012 Version vis-history: 1.0.0
                    info.js:9 Version Info-Adapter-Widget: 0.0.8
                    index.html:5057 Version vis-jqui-mfd: 1.0.12
                    justgage.js:115 Version justgage: 1.0.2
                    index.html:9330 Version vis-map: 1.0.3
                    index.html:10483 Metro version: "1.1.2"
                    milight.js:135 Milight widget version: 0.0.3
                    players.js:58 Version players: 0.1.0
                    index.html:13655 GET http://192.168.0.6:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js net::ERR_ABORTED 404 (Not Found)
                    jquery.flot.js:12 Uncaught TypeError: Cannot read property 'Canvas' of undefined
                    at jquery.flot.js:12
                    at jquery.flot.js:2958
                    (anonymous) @ jquery.flot.js:12
                    (anonymous) @ jquery.flot.js:2958
                    jquery.flot.saturated.js:42 Uncaught TypeError: Cannot set property 'saturated' of undefined
                    at jquery.flot.saturated.js:42
                    at jquery.flot.saturated.js:43
                    (anonymous) @ jquery.flot.saturated.js:42
                    (anonymous) @ jquery.flot.saturated.js:43
                    jquery.flot.browser.js:97 Uncaught TypeError: Cannot set property 'browser' of undefined
                    at jquery.flot.browser.js:97
                    at jquery.flot.browser.js:98
                    (anonymous) @ jquery.flot.browser.js:97
                    (anonymous) @ jquery.flot.browser.js:98
                    jquery.flot.drawSeries.js:662 Uncaught TypeError: Cannot set property 'drawSeries' of undefined
                    at jquery.flot.drawSeries.js:662
                    at jquery.flot.drawSeries.js:663
                    (anonymous) @ jquery.flot.drawSeries.js:662
                    (anonymous) @ jquery.flot.drawSeries.js:663
                    jquery.flot.uiConstants.js:3 Uncaught TypeError: Cannot set property 'uiConstants' of undefined
                    at jquery.flot.uiConstants.js:3
                    at jquery.flot.uiConstants.js:10
                    (anonymous) @ jquery.flot.uiConstants.js:3
                    (anonymous) @ jquery.flot.uiConstants.js:10
                    jquery.flot.time.js:26 Uncaught TypeError: Cannot read property 'saturated' of undefined
                    at jquery.flot.time.js:26
                    at jquery.flot.time.js:585
                    (anonymous) @ jquery.flot.time.js:26
                    (anonymous) @ jquery.flot.time.js:585
                    jquery.flot.legend.js:431 Uncaught TypeError: Cannot read property 'plugins' of undefined
                    at jquery.flot.legend.js:431
                    at jquery.flot.legend.js:437
                    (anonymous) @ jquery.flot.legend.js:431
                    (anonymous) @ jquery.flot.legend.js:437
                    jquery.flot.axislabels_V2.js:463 Uncaught TypeError: Cannot read property 'plugins' of undefined
                    at jquery.flot.axislabels_V2.js:463
                    at jquery.flot.axislabels_V2.js:469

                    Danke!

                    Rene_HMR 1 Antwort Letzte Antwort
                    0
                    • J james4711

                      Hab das jetzt mal weiter eingrenzt.
                      Irgendwie findet er die Datei /vis/widgets/sbfspot/flot/jquery.canvaswrapper.js nicht.
                      Liegt auch nicht dort, sondern wie die anderen in lib/js/flot/...
                      Auch wenn ich sie in den Pfad hinkopiere, wo er sie sucht geht's nicht!

                      [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                      index.html:13655 GET http://192.168.0.6:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js net::ERR_ABORTED 404 (Not Found)
                      index.html:3469 Version vis-canvas-gauges: 0.1.5
                      index.html:4012 Version vis-history: 1.0.0
                      info.js:9 Version Info-Adapter-Widget: 0.0.8
                      index.html:5057 Version vis-jqui-mfd: 1.0.12
                      justgage.js:115 Version justgage: 1.0.2
                      index.html:9330 Version vis-map: 1.0.3
                      index.html:10483 Metro version: "1.1.2"
                      milight.js:135 Milight widget version: 0.0.3
                      players.js:58 Version players: 0.1.0
                      index.html:13655 GET http://192.168.0.6:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js net::ERR_ABORTED 404 (Not Found)
                      jquery.flot.js:12 Uncaught TypeError: Cannot read property 'Canvas' of undefined
                      at jquery.flot.js:12
                      at jquery.flot.js:2958
                      (anonymous) @ jquery.flot.js:12
                      (anonymous) @ jquery.flot.js:2958
                      jquery.flot.saturated.js:42 Uncaught TypeError: Cannot set property 'saturated' of undefined
                      at jquery.flot.saturated.js:42
                      at jquery.flot.saturated.js:43
                      (anonymous) @ jquery.flot.saturated.js:42
                      (anonymous) @ jquery.flot.saturated.js:43
                      jquery.flot.browser.js:97 Uncaught TypeError: Cannot set property 'browser' of undefined
                      at jquery.flot.browser.js:97
                      at jquery.flot.browser.js:98
                      (anonymous) @ jquery.flot.browser.js:97
                      (anonymous) @ jquery.flot.browser.js:98
                      jquery.flot.drawSeries.js:662 Uncaught TypeError: Cannot set property 'drawSeries' of undefined
                      at jquery.flot.drawSeries.js:662
                      at jquery.flot.drawSeries.js:663
                      (anonymous) @ jquery.flot.drawSeries.js:662
                      (anonymous) @ jquery.flot.drawSeries.js:663
                      jquery.flot.uiConstants.js:3 Uncaught TypeError: Cannot set property 'uiConstants' of undefined
                      at jquery.flot.uiConstants.js:3
                      at jquery.flot.uiConstants.js:10
                      (anonymous) @ jquery.flot.uiConstants.js:3
                      (anonymous) @ jquery.flot.uiConstants.js:10
                      jquery.flot.time.js:26 Uncaught TypeError: Cannot read property 'saturated' of undefined
                      at jquery.flot.time.js:26
                      at jquery.flot.time.js:585
                      (anonymous) @ jquery.flot.time.js:26
                      (anonymous) @ jquery.flot.time.js:585
                      jquery.flot.legend.js:431 Uncaught TypeError: Cannot read property 'plugins' of undefined
                      at jquery.flot.legend.js:431
                      at jquery.flot.legend.js:437
                      (anonymous) @ jquery.flot.legend.js:431
                      (anonymous) @ jquery.flot.legend.js:437
                      jquery.flot.axislabels_V2.js:463 Uncaught TypeError: Cannot read property 'plugins' of undefined
                      at jquery.flot.axislabels_V2.js:463
                      at jquery.flot.axislabels_V2.js:469

                      Danke!

                      Rene_HMR Offline
                      Rene_HMR Offline
                      Rene_HM
                      Developer
                      schrieb am zuletzt editiert von Rene_HM
                      #152

                      @james4711 hast du schon mal ein upload vom vis gemacht?

                      bild.png

                      1 Antwort Letzte Antwort
                      0
                      • J Offline
                        J Offline
                        james4711
                        schrieb am zuletzt editiert von
                        #153

                        Hab ich jetzt gemacht ... keine Änderung .. gleiche Fehlermeldungen ..

                        Rene_HMR 1 Antwort Letzte Antwort
                        0
                        • J james4711

                          Hab ich jetzt gemacht ... keine Änderung .. gleiche Fehlermeldungen ..

                          Rene_HMR Offline
                          Rene_HMR Offline
                          Rene_HM
                          Developer
                          schrieb am zuletzt editiert von
                          #154

                          @james4711 installiere mal von github https://github.com/rg-engineering/ioBroker.sbfspot und dann wieder upload vis (nicht sbfspot!)

                          1 Antwort Letzte Antwort
                          0
                          • J Offline
                            J Offline
                            james4711
                            schrieb am zuletzt editiert von
                            #155

                            So .. hab ich jetzt gemacht.
                            Fehler sind weg .... aber leider noch immer nichts zu sehen.

                            Log:

                            [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                            index.html:3469 Version vis-canvas-gauges: 0.1.5
                            index.html:4012 Version vis-history: 1.0.0
                            info.js:9 Version Info-Adapter-Widget: 0.0.8
                            index.html:5057 Version vis-jqui-mfd: 1.0.12
                            justgage.js:115 Version justgage: 1.0.2
                            index.html:9330 Version vis-map: 1.0.3
                            index.html:10483 Metro version: "1.1.2"
                            milight.js:135 Milight widget version: 0.0.3
                            players.js:58 Version players: 0.1.0
                            index.html:14341 Version vis-sbfspot: 2.4.0
                            index.html:16742 Version vis-weather: 2.4.1
                            conn.js:273 2020-03-24T19:20:31.175Z Connected => authenticate
                            conn.js:293 2020-03-24T19:20:31.356Z Authenticated: true

                            Rene_HMR 1 Antwort Letzte Antwort
                            0
                            • J james4711

                              So .. hab ich jetzt gemacht.
                              Fehler sind weg .... aber leider noch immer nichts zu sehen.

                              Log:

                              [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                              index.html:3469 Version vis-canvas-gauges: 0.1.5
                              index.html:4012 Version vis-history: 1.0.0
                              info.js:9 Version Info-Adapter-Widget: 0.0.8
                              index.html:5057 Version vis-jqui-mfd: 1.0.12
                              justgage.js:115 Version justgage: 1.0.2
                              index.html:9330 Version vis-map: 1.0.3
                              index.html:10483 Metro version: "1.1.2"
                              milight.js:135 Milight widget version: 0.0.3
                              players.js:58 Version players: 0.1.0
                              index.html:14341 Version vis-sbfspot: 2.4.0
                              index.html:16742 Version vis-weather: 2.4.1
                              conn.js:273 2020-03-24T19:20:31.175Z Connected => authenticate
                              conn.js:293 2020-03-24T19:20:31.356Z Authenticated: true

                              Rene_HMR Offline
                              Rene_HMR Offline
                              Rene_HM
                              Developer
                              schrieb am zuletzt editiert von
                              #156

                              @james4711 wie ein paar posts weiter oben schon mal beschrieben: Ich benötige einen trigger, der das Zeichnen auslösst. Nur dann sieht man die richtigen logs. Also bitte einmal den Namen der Instanz verändern (zum Schluß natürlich wieder richtig eingeben) und dann das log nochmal posten...

                              1 Antwort Letzte Antwort
                              0
                              • J Offline
                                J Offline
                                james4711
                                schrieb am zuletzt editiert von
                                #157

                                Hi Rene!

                                Sorry .... ist sich gestern nicht mehr ausgegangen.
                                Habe jetzt den Namen auf sbfspot.1 geändert.
                                Ergebnis:
                                1c71629c-8d38-4a97-a881-a1e5971c119c-image.png

                                Danach wieder auf sbfspot.0. Ergebnis:
                                [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                                VM14938 index.html:3469 Version vis-canvas-gauges: 0.1.5
                                VM14940 index.html:4012 Version vis-history: 1.0.0
                                info.js:9 Version Info-Adapter-Widget: 0.0.8
                                index.html:5057 Version vis-jqui-mfd: 1.0.12
                                justgage.js:115 Version justgage: 1.0.2
                                index.html:9330 Version vis-map: 1.0.3
                                index.html:10483 Metro version: "1.1.2"
                                milight.js:135 Milight widget version: 0.0.3
                                players.js:58 Version players: 0.1.0
                                index.html:14341 Version vis-sbfspot: 2.4.0
                                index.html:16742 Version vis-weather: 2.4.1
                                conn.js:273 2020-03-25T08:01:22.278Z Connected => authenticate
                                conn.js:293 2020-03-25T08:01:22.452Z Authenticated: true
                                vis.js:3167 Create inner vis object sbfspot.0.304907836.EToday
                                vis.js:3167 Create inner vis object sbfspot.0.304907836.history.last30Days
                                index.html:14375 sbfspot history (w00037)
                                index.html:14960 bind sbfspot.0.304907836.history.last30Days
                                index.html:14600 ShowChart sbfspot (w00037)
                                index.html:14606 need to wait... (w00037)
                                index.html:14600 ShowChart sbfspot (w00037)
                                index.html:14611 ShowChart sbfspot begin (w00037)
                                index.html:14649 sel 2
                                index.html:14815 barwidth = 43200000
                                index.html:14514 CalcTicks4X: DayDiff 11 (1585047600000 1584097200000)
                                jquery.flot.js:1349 +++
                                jquery.flot.js:1349 +++
                                jquery.flot.js:2452 major
                                jquery.flot.js:2452 major
                                index.html:14406 legendformater label undefined
                                index.html:14421 GridMarkings: DayDiff 11 (1585047600000 1584097200000)
                                jquery.flot.js:1824 #1#1#
                                jquery.flot.js:1861 major
                                jquery.flot.js:1911 show 13.Mar on 0.5/-4.015625 Text is 23.328125 width and 8 high
                                jquery.flot.js:1911 show 18.Mar on -21.5/-4.015625 Text is 23.328125 width and 8 high
                                jquery.flot.js:1911 show 23.Mar on -42.5/-4.015625 Text is 23.328125 width and 8 high
                                jquery.flot.js:1861 major
                                jquery.flot.js:1911 show 2.2 kWh on -1/-20.5 Text is 27.55078125 width and 8 high

                                Letzte Zeile wiederholt sich dutzende male

                                LG

                                Rene_HMR 1 Antwort Letzte Antwort
                                0
                                • J james4711

                                  Hi Rene!

                                  Sorry .... ist sich gestern nicht mehr ausgegangen.
                                  Habe jetzt den Namen auf sbfspot.1 geändert.
                                  Ergebnis:
                                  1c71629c-8d38-4a97-a881-a1e5971c119c-image.png

                                  Danach wieder auf sbfspot.0. Ergebnis:
                                  [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                                  VM14938 index.html:3469 Version vis-canvas-gauges: 0.1.5
                                  VM14940 index.html:4012 Version vis-history: 1.0.0
                                  info.js:9 Version Info-Adapter-Widget: 0.0.8
                                  index.html:5057 Version vis-jqui-mfd: 1.0.12
                                  justgage.js:115 Version justgage: 1.0.2
                                  index.html:9330 Version vis-map: 1.0.3
                                  index.html:10483 Metro version: "1.1.2"
                                  milight.js:135 Milight widget version: 0.0.3
                                  players.js:58 Version players: 0.1.0
                                  index.html:14341 Version vis-sbfspot: 2.4.0
                                  index.html:16742 Version vis-weather: 2.4.1
                                  conn.js:273 2020-03-25T08:01:22.278Z Connected => authenticate
                                  conn.js:293 2020-03-25T08:01:22.452Z Authenticated: true
                                  vis.js:3167 Create inner vis object sbfspot.0.304907836.EToday
                                  vis.js:3167 Create inner vis object sbfspot.0.304907836.history.last30Days
                                  index.html:14375 sbfspot history (w00037)
                                  index.html:14960 bind sbfspot.0.304907836.history.last30Days
                                  index.html:14600 ShowChart sbfspot (w00037)
                                  index.html:14606 need to wait... (w00037)
                                  index.html:14600 ShowChart sbfspot (w00037)
                                  index.html:14611 ShowChart sbfspot begin (w00037)
                                  index.html:14649 sel 2
                                  index.html:14815 barwidth = 43200000
                                  index.html:14514 CalcTicks4X: DayDiff 11 (1585047600000 1584097200000)
                                  jquery.flot.js:1349 +++
                                  jquery.flot.js:1349 +++
                                  jquery.flot.js:2452 major
                                  jquery.flot.js:2452 major
                                  index.html:14406 legendformater label undefined
                                  index.html:14421 GridMarkings: DayDiff 11 (1585047600000 1584097200000)
                                  jquery.flot.js:1824 #1#1#
                                  jquery.flot.js:1861 major
                                  jquery.flot.js:1911 show 13.Mar on 0.5/-4.015625 Text is 23.328125 width and 8 high
                                  jquery.flot.js:1911 show 18.Mar on -21.5/-4.015625 Text is 23.328125 width and 8 high
                                  jquery.flot.js:1911 show 23.Mar on -42.5/-4.015625 Text is 23.328125 width and 8 high
                                  jquery.flot.js:1861 major
                                  jquery.flot.js:1911 show 2.2 kWh on -1/-20.5 Text is 27.55078125 width and 8 high

                                  Letzte Zeile wiederholt sich dutzende male

                                  LG

                                  Rene_HMR Offline
                                  Rene_HMR Offline
                                  Rene_HM
                                  Developer
                                  schrieb am zuletzt editiert von
                                  #158

                                  @james4711 sagte in Neuer Adapter: SMA Wechselrichter mit sbfspot:

                                  Letzte Zeile wiederholt sich dutzende male

                                  Das ist okay. Hier einfach bei Tickgröße größere Werte eingeben, bis die Zeile nur noch 5 bis 10 mal kommt.

                                  bild.png

                                  Wenn sie dutzendende male kommt, versucht er die Skalierung auch so fein aufzubauen.

                                  und dann mal "Breite des Gitterrandes" verändern. Das hatte ich in der Vergangenheit schon mal, dass dieser Wert sich mal ändern muss...

                                  1 Antwort Letzte Antwort
                                  0
                                  • J Offline
                                    J Offline
                                    james4711
                                    schrieb am zuletzt editiert von
                                    #159

                                    Danke für die Antwort ... habs jetzt mal geändert:

                                    00ffa929-2bca-4e3a-a435-d220eddea77a-image.png

                                    Ergebnis im Log:

                                    [Deprecation] Application Cache was previously restricted to secure origins only from M70 on but now secure origin use is deprecated and will be removed in M82. Please shift your use case over to Service Workers.
                                    VM1882 index.html:3469 Version vis-canvas-gauges: 0.1.5
                                    VM1883 index.html:4012 Version vis-history: 1.0.0
                                    info.js:9 Version Info-Adapter-Widget: 0.0.8
                                    index.html:5057 Version vis-jqui-mfd: 1.0.12
                                    justgage.js:115 Version justgage: 1.0.2
                                    index.html:9330 Version vis-map: 1.0.3
                                    index.html:10483 Metro version: "1.1.2"
                                    milight.js:135 Milight widget version: 0.0.3
                                    players.js:58 Version players: 0.1.0
                                    index.html:14341 Version vis-sbfspot: 2.4.0
                                    index.html:16742 Version vis-weather: 2.4.1
                                    conn.js:273 2020-03-28T18:03:46.546Z Connected => authenticate
                                    conn.js:293 2020-03-28T18:03:46.701Z Authenticated: true
                                    vis.js:3167 Create inner vis object sbfspot.0.304907836.EToday
                                    vis.js:3167 Create inner vis object sbfspot.0.304907836.history.last30Days
                                    index.html:14375 sbfspot history (w00037)
                                    index.html:14960 bind sbfspot.0.304907836.history.last30Days
                                    index.html:14600 ShowChart sbfspot (w00037)
                                    index.html:14606 need to wait... (w00037)
                                    index.html:14600 ShowChart sbfspot (w00037)
                                    index.html:14611 ShowChart sbfspot begin (w00037)
                                    index.html:14649 sel 2
                                    index.html:14815 barwidth = 43200000
                                    index.html:14514 CalcTicks4X: DayDiff 15 (1585393200000 1584097200000)
                                    jquery.flot.js:1349 +++
                                    jquery.flot.js:1349 +++
                                    jquery.flot.js:2452 major
                                    jquery.flot.js:2452 major
                                    index.html:14406 legendformater label ggggg
                                    index.html:14421 GridMarkings: DayDiff 15 (1585393200000 1584097200000)
                                    jquery.flot.js:1824 #1#1#
                                    jquery.flot.js:1861 major
                                    jquery.flot.js:1911 show 13.Mar on 0.5/-19.671875 Text is 34.9921875 width and 12 high
                                    jquery.flot.js:1911 show 18.Mar on -27.5/-19.671875 Text is 34.9921875 width and 12 high
                                    jquery.flot.js:1911 show 23.Mar on -55.5/-19.671875 Text is 34.9921875 width and 12 high
                                    jquery.flot.js:1861 major
                                    jquery.flot.js:1911 show 4.0 kWh on -1/-33.5 Text is 41.326171875 width and 12 high
                                    jquery.flot.js:1911 show 6.0 kWh on -1/-30.5 Text is 41.326171875 width and 12 high
                                    jquery.flot.js:1911 show 8.0 kWh on -1/-27.5 Text is 41.326171875 width and 12 high
                                    jquery.flot.js:1911 show 10.0 kWh on -1/-24.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 12.0 kWh on -1/-21.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 14.0 kWh on -1/-18.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 16.0 kWh on -1/-15.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 18.0 kWh on -1/-12.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 20.0 kWh on -1/-10.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 22.0 kWh on -1/-7.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 24.0 kWh on -1/-4.5 Text is 47.326171875 width and 12 high
                                    jquery.flot.js:1911 show 26.0 kWh on -1/-1.5 Text is 47.326171875 width and 12 high

                                    Ergebnis am Schirm:
                                    Leider nix!

                                    1 Antwort Letzte Antwort
                                    0
                                    • J Offline
                                      J Offline
                                      james4711
                                      schrieb am zuletzt editiert von
                                      #160

                                      Hat noch wer eine Idee was ich machen kann, damit die Anzeige funktioniert?

                                      1 Antwort Letzte Antwort
                                      0
                                      • A Offline
                                        A Offline
                                        Andersmacher
                                        schrieb am zuletzt editiert von
                                        #161

                                        @Rene_HM So, nachdem ich leider eine Pause einlegen mußte, habe ich mich der Thematik des bei mir "unsichtbaren Widgets" noch einmal gewidmet.

                                        Ich habe die Visualisierung ´mal via WR-ModBus-Auslesung, History- und flot-Adapter probiert. Damit erhalte ich problemlos Grafiken der Stromerzeugungswerte.

                                        Dann habe ich Deinen Adapter noch einmal komplett neu installiert. Wieder werden alle WR-Werte in der Rubrik "Objekte" unter sbfspot.0/Seriennummer/History angezeigt, aber Dein Widget (das natürlich via SBFspot.db und nicht via ModBus/History an die Daten kommt) will sich einfach nicht zeigen.

                                        Nachfolgend der aktuelle Browser-Log-Stand der Vis-Runtime:

                                        19:57:14.271 Laden fehlgeschlagen für das <script> mit der Quelle "http://Meine_IP-Adresse:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js". index.html:5493:1
                                        19:57:14.277 Version vis-sbfspot: 2.4.0 index.html:6179:25
                                        19:57:14.273
                                        TypeError: window.Flot is undefined
                                        jquery.flot.js:12:18
                                        19:57:14.273
                                        TypeError: $.plot is undefined
                                        jquery.flot.saturated.js:42:5
                                        19:57:14.274
                                        TypeError: $.plot is undefined
                                        jquery.flot.browser.js:97:5
                                        19:57:14.274
                                        TypeError: $.plot is undefined
                                        jquery.flot.drawSeries.js:662:25
                                        19:57:14.275
                                        TypeError: $.plot is undefined
                                        jquery.flot.uiConstants.js:8:9
                                        19:57:14.275
                                        TypeError: $.plot is undefined
                                        jquery.flot.time.js:26:23
                                        19:57:14.275
                                        TypeError: $.plot is undefined
                                        jquery.flot.legend.js:431:5
                                        19:57:14.276
                                        TypeError: $.plot is undefined
                                        jquery.flot.axislabels_V2.js:463:5
                                        19:57:14.669 Create inner vis object sbfspot.0.4711.history.last30Days vis.js:3167:29
                                        19:57:14.798 [1585850234799] Request 19 states. vis.js:2736:21
                                        19:57:14.985 sbfspot history (w00127) index.html:6213:25
                                        19:57:14.985 bind sbfspot.0.4711.history.last30Days index.html:6798:29
                                        19:57:14.986 ShowChart sbfspot (w00127) index.html:6438:29
                                        19:57:15.986 need to wait... (w00127) index.html:6444:37
                                        19:57:15.987 ShowChart sbfspot (w00127) index.html:6438:29
                                        19:57:15.987 ShowChart sbfspot begin (w00127) index.html:6449:29
                                        19:57:15.988 sel 2 index.html:6487:37
                                        19:57:15.989 barwidth = 43200000 index.html:6653:33
                                        19:57:15.991
                                        TypeError: $.plot is not a function

                                        Für mich sieht es so aus, als ob der Zugriff auf das Javaskript "jquery.canvaswrapper.js" ein/das Problem ist. Wo ich mir jetzt nicht sicher bin:

                                        Hat das grundsätzlich etwas mit dem Flot-Adapter zu tun (Ich habe Dein Widget jedoch in einem View, in dem ich nichts mit flot/History anzeigen lasse.) oder benutzt Du für Dein Widget auch irgend´was, daß mit flot zusammenhängt?

                                        Auf meinem Pi lautet der Pfad jedenfalls:

                                        /opt/iobroker/iobroker-data/files/vis/widgets/sbfspot/lib/js/flot/jquery.canvaswrapper.js

                                        und damit kann er es doch von

                                        "http://Meine_IP-Adresse:8082/vis/widgets/sbfspot/flot/jquery.canvaswrapper.js"

                                        auch gar nicht laden - oder?
                                        Ist das bei mir ein "ungewöhnlicher" Speicherort?
                                        Unter "/opt/iobroker/iobroker-data/files/vis/widgets/sbfspot/" das Verzeinis "flot" anzulegen und "jquery.canvaswrapper.js" da hinein zu kopieren, hat jedenfalls nichts gebracht, selbst dann nicht, wenn mann für "jquery.canvaswrapper.js" dort alle Berechtigungen erteilt.

                                        Weißt Du, bis wohin "http://Meine_IP-Adresse:8082/" tatsächlich vom root-Verzeichnis aus verweist? Dann würde ich es dort auch noch einmal hin kopieren.

                                        ioBroker auf Raspi4B 8GB Debian(12) 64Bit

                                        1 Antwort Letzte Antwort
                                        0
                                        • Rene_HMR Offline
                                          Rene_HMR Offline
                                          Rene_HM
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #162

                                          @Andersmacher , @james4711 nehmt mal bitte die 2.4.3 aus dem latest-Repo. Ich hatte noch zwei kleinere bug fixes nicht veröffentlicht:

                                          • im widget war der Pfad zu den flot/jquery-Dateien nicht korrekt
                                          • im adapter selbst war die Berechnung für die hitsory heute für sqlite noch falsch
                                            Beides ist behoben.
                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          607

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe