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. Entwicklung
  4. [Neuer Adapter] iobroker.sunnyportal

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    674

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

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

[Neuer Adapter] iobroker.sunnyportal

Scheduled Pinned Locked Moved Entwicklung
195 Posts 54 Posters 40.4k Views 44 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.
  • SlowmanS Offline
    SlowmanS Offline
    Slowman
    wrote on last edited by
    #64

    Habe nach der Neuinstallation folgenden Fehlermeldung und Adapter verbindet sich nicht mehr:

    host.ioroker	2020-04-19 14:14:15.217	info	Restart adapter system.adapter.sunnyportal.0 because enabled
    host.ioroker	2020-04-19 14:14:15.217	info	instance system.adapter.sunnyportal.0 terminated with code 0 (NO_ERROR)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at endReadableNT (_stream_readable.js:1145:12)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at IncomingMessage.emit (events.js:203:15)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Object.onceWrapper (events.js:286:20)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1076:12)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Request.emit (events.js:198:13)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1154:10)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Request.emit (events.js:198:13)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.sunnyportal/build/sunnyPortalService.js:36:36)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: at JSON.parse (<anonymous>)
    host.ioroker	2020-04-19 14:14:15.217	error	Caught by controller[0]: SyntaxError: Unexpected token < in JSON at position 4
    sunnyportal.0	2020-04-19 14:14:14.709	info	(3755) Terminated (NO_ERROR): Without reason
    sunnyportal.0	2020-04-19 14:14:14.709	info	(3755) terminating
    sunnyportal.0	2020-04-19 14:14:14.705	info	(3755) Cleaned everything up...
    sunnyportal.0	2020-04-19 14:14:14.705	error	at endReadableNT (_stream_readable.js:1145:12)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at IncomingMessage.emit (events.js:203:15)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Object.onceWrapper (events.js:286:20)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1076:12)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Request.emit (events.js:198:13)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1154:10)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Request.emit (events.js:198:13)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at Request.request [as _callback] (/opt/iobroker/node_modules/iobroker.sunnyportal/build/sunnyPortalService.js:36:36)
    sunnyportal.0	2020-04-19 14:14:14.705	error	at JSON.parse (<anonymous>)
    sunnyportal.0	2020-04-19 14:14:14.705	error	(3755) SyntaxError: Unexpected token < in JSON at position 4
    sunnyportal.0	2020-04-19 14:14:14.705	error	(3755) uncaught exception: Unexpected token < in JSON at position 4
    sunnyportal.0	2020-04-19 14:14:14.168	info	(3755) starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.sunnyportal, node: v10.20.1
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcaspar
      wrote on last edited by
      #65

      @Slowman said in [Neuer Adapter] iobroker.sunnyportal:

      SyntaxError: Unexpected token < in JSON at position 4

      das klingt danach, als ob du vom Sunny Portal HTML zurück bekommst und kein JSON. Passen die Login Daten?

      1 Reply Last reply
      0
      • SlowmanS Offline
        SlowmanS Offline
        Slowman
        wrote on last edited by
        #66

        Ja, war auch meine erste Handlung nach Paste&Copy per Hand eingetragen. Mit den Daten die ich dort einschreibe komme ich ins Portal rein.

        1 Reply Last reply
        0
        • SlowmanS Offline
          SlowmanS Offline
          Slowman
          wrote on last edited by
          #67

          Kann es zuföällig an der Node.JS Version liegen. Da dies erst mit dem Update auf 10.20.1 zu Problemen mit dem Login geführt hat. Bei NodeJS 12..x genauso.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Compacty87
            wrote on last edited by
            #68

            Ich hab den Adapter zum Teil erfolgreich mit meinem SMA Sunnyboy 5000- TL21 im Einsatz. Danke fürs Erstellen!!!

            Leider bekomme ich nur die momentane Produktion und den Timestamp zur Verfügung gestellt.

            Gesamteroduktion, TagesProduktion usw. sollte doch eigentlich auch laufen, oder?

            1 Reply Last reply
            0
            • M mcaspar

              @bunni das muss ich mal Testen wie sich SunnyPortal bei einem so kurzen Interval verhält. Du kannst den Wert auch selber im Code bei dir anpassen. Einfach die /opt/iobroker/node_modules/iobroker.sunnyportal/build/main.js Datei des Adapters in deiner ioBroker Installation anpassen. In Zeile 38, da steht aktuell 60 * 1000, dies kannst du auf 20 * 1000 anpassen.

              @TBRFSEE Ich wollte den Adapter jetzt erstmal mit für das Abfragen der aktuellen Daten stabil ans laufen bekommen. Der Plan ist aber auch die Tages, Monats und Jahresdaten mit abzufragen. Diese Funktionen werde ich später mal einbauen

              C Offline
              C Offline
              Compacty87
              wrote on last edited by
              #69

              @mcaspar wenn ich die Datei bezüglich des Abfragzyklus änedern und speichern will, bekomme ich angezeit, dass ich keine Berechtigung habe die Datei zu ändern

              1 Reply Last reply
              0
              • d-dnrnD d-dnrn

                Ich habe den Adapter installiert und Logindaten eingetragen, Adapter ist auch grün, bekomme unter Objekte alledings nur einen einzigen Eintrag .current.TimeStamp sonst gar nichts.

                Muss ich noch wo anders etwas konfigurieren?

                M Offline
                M Offline
                mcmuller
                wrote on last edited by mcmuller
                #70

                @d-dnrn da hänge ich mich mal dran, gleiches Fehlerbild bei mir. Neue Installation heute von V0.15. Habe auch den Tipp von @Winni probiert, aber nach wie vor nur .current.TimeStamp und keine Fehlermeldung im Log. sunnyportal.png

                ioBroker auf FreeNAS (FreeBSD 11.1), CCU2, ALPHA2 FBH-Steuerung, Opensprinker, Frankies Poolcontroller, div. Prodinos, SMA Webbox, Enigma Receiver

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  Kischde87
                  wrote on last edited by
                  #71

                  Danke für den Adapter! Hatte den Adapter jetzt zwei Tage ohne Probleme laufen. Jetzt funktioniert bei mir das Login nicht mehr...

                  Log:

                  sunnyportal.0	2020-05-07 19:42:24.695	error	(27884) Error: Login Failed, no redirect to Dashboard
                  sunnyportal.0	2020-05-07 19:42:24.693	warn	(27884) Login Failed, no redirect to Dashboard
                  

                  Neuinstallation bringen keinen Erfolg...

                  Hatte Jemand schon selbiges Problem?

                  ub.privatU 1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    eve11
                    wrote on last edited by
                    #72

                    Ja, bei mir dasselbe Problem.

                    Wahrscheinlich hat sich da etwas bei SMA geändert.

                    Mfg

                    Heiko

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thomas.flaechsig
                      wrote on last edited by
                      #73

                      Auch von mir bestätigt. Vor 3 Tagen konnte ich selbiges Problem mit De-/Neuinstallation lösen - hilft jetzt nicht mehr. Auch das Anlegen eines weiteren Benutzers im Sunny-Portal, dessen Login-Daten dann genutzt werden brachte keinen Erfolg.

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        ntsa86
                        wrote on last edited by
                        #74

                        Selbes Thema bei mir (heute erstmalig installiert)

                        1 Reply Last reply
                        0
                        • David MustrophD Offline
                          David MustrophD Offline
                          David Mustroph
                          wrote on last edited by
                          #75

                          bei mir gibt es leider das gleiche Problem. hatte vor einigen Tage schon einmal installiert, da hatte noch alles geklappt... heute bei einer erneuten Installation klappt es leider nicht mehr.

                          LG

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            Compacty87
                            wrote on last edited by
                            #76

                            Bei mir leider das selbe Problem...

                            1 Reply Last reply
                            0
                            • ub.privatU Offline
                              ub.privatU Offline
                              ub.privat
                              wrote on last edited by
                              #77

                              Moin.moin,

                              Adapter installiert, unter Instanz auch als aktiv (grüner Punkt) angezeigt.
                              Leider kein Eintrag unter Objekte!????
                              Im Fehlerlog folgendes:

                              sunnyportal.0	2020-05-10 11:59:20.467	error	(6325) Error: Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:59:20.466	warn	(6325) Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:58:20.495	error	(6325) Error: Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:58:20.494	warn	(6325) Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:57:20.464	error	(6325) Error: Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:57:20.463	warn	(6325) Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:56:20.482	error	(6325) Error: Login Failed, no redirect to Dashboard
                              sunnyportal.0	2020-05-10 11:56:20.480	warn	(6325) Login Failed, no redirect to Dashboard
                              

                              Werde daraus nicht wirklich schlau...
                              Wäre nett, wenn jemand hierzu einen Tipp hat.

                              Aus dem Adapter bekomme ich ihne viel gerechne alle relevanten Werte!

                              Danke im voraus...

                              1 Reply Last reply
                              0
                              • K Kischde87

                                Danke für den Adapter! Hatte den Adapter jetzt zwei Tage ohne Probleme laufen. Jetzt funktioniert bei mir das Login nicht mehr...

                                Log:

                                sunnyportal.0	2020-05-07 19:42:24.695	error	(27884) Error: Login Failed, no redirect to Dashboard
                                sunnyportal.0	2020-05-07 19:42:24.693	warn	(27884) Login Failed, no redirect to Dashboard
                                

                                Neuinstallation bringen keinen Erfolg...

                                Hatte Jemand schon selbiges Problem?

                                ub.privatU Offline
                                ub.privatU Offline
                                ub.privat
                                wrote on last edited by
                                #78

                                @Kischde87

                                Ja, habe das seleb Problem...

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  mcaspar
                                  wrote on last edited by
                                  #79

                                  Bei mir ist das Problem auch aufgetreten. Den Login konnte ich lösen, bekomme aber aktuell noch Authentication Fehler beim Abfragen der Daten. Sobald ich das auch gelöst habe, werde ich eine neue Version bereitstellen.
                                  Oder falls jemand von euch das Problem im Code fixen kann, erstellt gerne einen Pull Request im Github Repo

                                  N C 2 Replies Last reply
                                  5
                                  • M mcaspar

                                    Bei mir ist das Problem auch aufgetreten. Den Login konnte ich lösen, bekomme aber aktuell noch Authentication Fehler beim Abfragen der Daten. Sobald ich das auch gelöst habe, werde ich eine neue Version bereitstellen.
                                    Oder falls jemand von euch das Problem im Code fixen kann, erstellt gerne einen Pull Request im Github Repo

                                    N Offline
                                    N Offline
                                    ntsa86
                                    wrote on last edited by
                                    #80

                                    @mcaspar ich drück ganz uneigennützig die Daumen ;-)

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      Compacty87
                                      wrote on last edited by
                                      #81

                                      Gibt's schon Neuigkeiten? Mir ist aufgefallen dass beim Einloggen auf sunnyportal.de neuerdings vor dem Dashboard ein Werbefenster für eine neue App aufpoppt. Hat das vielleicht damit was zu tun?

                                      1 Reply Last reply
                                      0
                                      • E Offline
                                        E Offline
                                        Elektrudo
                                        wrote on last edited by
                                        #82

                                        Leider auch bei mir. Error: Login Failed, no redirect to Dashboard. Würde gerne die Werte nutzen um einige Stromverbraucher via IOBroker zu schalten 😳

                                        1xiobroker synology Docker container
                                        1xiobroker NanoPi-M4 (noch master)
                                        1xiobroker Raspberry nur für deconz

                                        1 Reply Last reply
                                        0
                                        • M mcaspar

                                          Bei mir ist das Problem auch aufgetreten. Den Login konnte ich lösen, bekomme aber aktuell noch Authentication Fehler beim Abfragen der Daten. Sobald ich das auch gelöst habe, werde ich eine neue Version bereitstellen.
                                          Oder falls jemand von euch das Problem im Code fixen kann, erstellt gerne einen Pull Request im Github Repo

                                          C Offline
                                          C Offline
                                          Compacty87
                                          wrote on last edited by
                                          #83

                                          @mcaspar gibts nen aktuellen Zwischenstand?

                                          M 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          578

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          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