Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter zum Abfragen vom Aktien, Krypto ...

    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

    Adapter zum Abfragen vom Aktien, Krypto ...

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PatrickFro @Homoran last edited by PatrickFro

      @homoran Achso. Bei mir passt alles beim parsen. Ich würde nur lieber per blockly abfragen und es direkt in mein umfangreiches Script einbauen.
      Parse-Fehler habe ich nur ca. 2 Mal am Tag bei unterschiedlichen Links

      1 Reply Last reply Reply Quote 0
      • SMS
        SMS @TheBam last edited by SMS

        @thebam Wie bekomme ich den GELB hinterlegten?

        Link Text

        b60cd826-8c4e-46b3-a159-632cac99f741-image.png

        So klappt es nicht:
        7d5cb69d-3b0d-4624-ae89-4ba64e2c8081-image.png
        <div>(\d*.\d*,\d*)<span>USD

        TheBam 1 Reply Last reply Reply Quote 0
        • TheBam
          TheBam @SMS last edited by

          @sms sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

          (\d*.\d*,\d*)

          Probier mal damit:
          class="pid-1061443-last" id="last_last">(\d*.\d*,\d*)<

          SMS 1 Reply Last reply Reply Quote 0
          • SMS
            SMS @TheBam last edited by

            @thebam sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

            class="pid-1061443-last" id="last_last">(\d*.\d*,\d*)<

            leider nein

            TheBam 1 Reply Last reply Reply Quote 0
            • TheBam
              TheBam @SMS last edited by

              @sms
              Gerade auch ausprobiert über regex101 geht es aber vom adapter aus klappt es nicht. Warum kannst du das nicht von finanzen.net nehmen wie oben schon beschrieben?

              SMS 1 Reply Last reply Reply Quote 0
              • SMS
                SMS @TheBam last edited by

                @thebam Hab ich jetzt auch genommen. Dankeschön! 🙂

                TheBam 1 Reply Last reply Reply Quote 0
                • TheBam
                  TheBam @SMS last edited by

                  @sms
                  regex.jpg
                  ok hauptsache klappt aber komich das der im regex101 geht aber nicht im Adapter.

                  SMS 1 Reply Last reply Reply Quote 0
                  • SMS
                    SMS @TheBam last edited by

                    @thebam Würde ich das denn auch irgendwie abrufen können:
                    a3141d46-f905-40e0-bbb4-f1875c520895-image.png
                    Link Text

                    Falls ja, wie in der vis darstellen?

                    TheBam 1 Reply Last reply Reply Quote 0
                    • TheBam
                      TheBam @SMS last edited by

                      @sms
                      puhhh das würde ich direkt über die vis einbinden. html widget was mittels script auf die tabellen schaut alles andere ist wahnsinnige Programmier Arbeit.
                      Anbei mal meine Programmierung wie ich mir die angebote von unserem metzger hole. Spiel einfach mal mit den zahlen rum einmal ist da wo er drauf schauen soll und einmal wie groß das in deiner vis sein soll.
                      Ansonsten fällt mir auf die schnelle auch nis anderes ein.

                      <div style="position:relative;width:1000px;height:2000px;overflow:auto;">

                          <iframe src="URL hier eintragen" height="1000" width="2000" style="border:none;overflow:hidden;position:absolute;left:-750px;top:-320px;">
                      
                      
                      
                          </iframe>
                      

                      </div>

                      SMS 1 Reply Last reply Reply Quote 0
                      • SMS
                        SMS @TheBam last edited by

                        @thebam

                        aber wie komme ich genau auf die Tabelle?

                        TheBam 1 Reply Last reply Reply Quote 0
                        • TheBam
                          TheBam @SMS last edited by TheBam

                          @sms Probier mal damit ein htmp widget einfügen und dann den code da rein

                          <div style="position:relative;width:500px;height:2000px;overflow:auto;">
                          
                              <iframe src="https://kursprognose.com/ethereum-kurs-prognose-eth-in-euro" height="1100" width="1000" style="border:none;overflow:hidden;position:absolute;left:-30px;top:-550px;">
                          
                              </iframe>
                          
                          </div>
                          

                          Oder direckt als widget import:

                          [{"tpl":"tplHtml","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html":"<div style=\"position:relative;width:500px;height:2000px;overflow:auto;\">\n\n    <iframe src=\"https://kursprognose.com/ethereum-kurs-prognose-eth-in-euro\" height=\"1100\" width=\"1000\" style=\"border:none;overflow:hidden;position:absolute;left:-30px;top:-550px;\">\n\n    </iframe>\n\n</div>"},"style":{"left":"311px","top":"59px","width":"368px","height":"539px"},"widgetSet":"basic"}]
                          
                          SMS 1 Reply Last reply Reply Quote 0
                          • SMS
                            SMS @TheBam last edited by SMS

                            @thebam sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                            <div style="position:relative;width:500px;height:2000px;overflow:auto;"> <iframe src="https://kursprognose.com/ethereum-kurs-prognose-eth-in-euro" height="1100" width="1000" style="border:none;overflow:hidden;position:absolute;left:-30px;top:-550px;"> </iframe> </div>

                            Sieht so aus: widget basic html

                            0b08ed3d-c9e6-4b3e-b9e2-79bee76cf031-image.png

                            hab's glaub geschafft

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

                              @sms
                              ja kann sein das du noch die werte anpassen musst liegt an der auflösung von vis, bzw. deinen anzeige einstellungen.
                              einfach die high und width werte ändern bis es passt

                              SMS 1 Reply Last reply Reply Quote 0
                              • SMS
                                SMS @TheBam last edited by

                                @thebam genau!

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mading last edited by

                                  Könnte mir jemand mit dem regex helfen, ich versuche die OpenText Aktie auszulesen: https://www.finanzen.net/aktien/open_text-aktie

                                  lobomau 1 Reply Last reply Reply Quote 0
                                  • lobomau
                                    lobomau @mading last edited by lobomau

                                    @mading die haben da irgendwas geändert bei finanzen.net. Muss man sich bei der Seite jetzt anmelden? Keine meiner Aktien wird mehr durch den Parser korrekt angezeigt. Alle Aktien haben nun den gleichen Kurs.

                                    Als Beispiel wie es mal funktionierte:

                                    https://www.finanzen.net/aktien/bmw-aktie

                                    nowrap">(\d{0,2}.\d{2})

                                    fcbb8bde-f1d7-4bd9-9ac4-d7526ffa28a8-image.png

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      mading @lobomau last edited by mading

                                      @lobomau hi, sie haben wohl was am html geändert.

                                      versuch mal das als regex, bei mir gehts: class="snapshot__value-current realtime-push"><span>(\d*,\d*)</span> <span class="snapshot__value-unit">EUR

                                      1 Reply Last reply Reply Quote 1
                                      • missi
                                        missi last edited by

                                        Moin,
                                        gibt es neue Lösungsansätze ?

                                        HTML><HEAD>
                                        <TITLE>Access Denied</TITLE>
                                        </HEAD><BODY>
                                        <H1>Access Denied</H1>

                                        You don't have permission to access "http://www.finanzen.net/devisen/realtimekurs/ethereum-euro-kurs" on this server.<P>
                                        Reference #18.571d1002.1675260390.3cadc4f2
                                        </BODY>
                                        </HTML>
                                        HTML><HEAD>
                                        <TITLE>Access Denied</TITLE>
                                        </HEAD><BODY>
                                        <H1>Access Denied</H1>

                                        You don't have permission to access "http://www.finanzen.net/devisen/realtimekurs/ethereum-euro-kurs" on this server.<P>
                                        Reference #18.571d1002.1675260390.3cadc4f2
                                        </BODY>
                                        </HTML>

                                        Bekomme denn Berechtigungsfehler auch mometan.

                                        Beste Grüße

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mading last edited by

                                          @missi sagte in Adapter zum Abfragen vom Aktien, Krypto ...:

                                          http://www.finanzen.net/devisen/realtimekurs/ethereum-euro-kurs

                                          geht das?

                                          <div id="snapshot-value-fst-current-0" class="snapshot__value-current realtime-push">
                                          			<span>(\d*,\d*)</span><span class="snapshot__value-unit">EUR</span>
                                          
                                          1 Reply Last reply Reply Quote 1
                                          • OliverIO
                                            OliverIO last edited by

                                            @mading

                                            Nein.
                                            finanzen.net hat den parser adapter mittlerweile ausgesperrt.
                                            evtl geht was mit skript.

                                            siehe auch
                                            https://forum.iobroker.net/topic/61933/parser-wird-seitenzugriff-verweigert/31?_=1675294191499

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

                                            Support us

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

                                            543
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            51
                                            5659
                                            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