Navigation

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

    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

    Fronius Ohmpilot

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

      Hallo liebe Forengemeinde,

      Die Formsuche nach Ohmpilot hat bei mir leider keine Ergebnis gebracht 😞
      Hat irgendjemand schon die Daten des Fronius Ohmpilot ausgelesen? Wenn ja, wäre es toll, wenn mir jemand erklären könnte, wie das funktioniert.

      Vielen Dank und viele Grüße
      Jessica

      M 1 Reply Last reply Reply Quote 0
      • M
        Mah0ni @Jessie last edited by Mah0ni

        @jessie
        Hallo Jessie
        Ich habe mich heute das erste mal mit ioBroker befasst und hatte die gleiche Herausforderung.
        Mein Ohmpilot ist mit dem Netzwerk Verbunden und hat eine Fixe IP Adresse.
        Gelöst fürs Erste habe ich es mit dem Adapter: "parser"

        Folgende Seite habe ich vom Ohmpilot ausgelesen: http://IP_ADRESSE_VOM_OHMPILOT/view.shtml

        RegEx für Boilerthemperatur, sofern bei Dir ein PT1000 verbaut ist:
        (?<=valTemperatur">)[\s\S]*?(?=/)

        Rolle: Temperatur
        Typ: Number
        Einheit: °C

        RegEx für Stromaufnahme:
        (?<=valHeatPower">)[\s\S]*?(?=/)

        Rolle: Wert
        Typ: Number
        Einheit: Watt

        RegEx für den Status:
        (?<=id="valState">)[\s\S]*?(?=/)

        Rolle: Status
        Typ: Number
        Einheit: Keine

        Wobei der Status eine Zahl ist 0 = Alles OK, Die anderen Status habe ich noch nicht herausgefunden aus Zeitgründe. 5 ist Vermutlich "Boost" wenn Du drei mal den Knopf am Ohmpilot drückst.

        836c1b9a-bd07-42a2-b962-44848903af9d-image.png

        ea12e5ff-8f35-4f64-811a-86d40cb2b3d6-image.png

        Lass es mich / uns Wissen, wenn es eine Bessere Methode gibt den Ohmpilot auszulesen 🙂

        MfG
        Mah0ni

        D S 2 Replies Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Moin,
          hat der Ohmpilot keine Modbus Schnittstelle ?

          1 Reply Last reply Reply Quote 0
          • D
            diwoma @Mah0ni last edited by

            @mah0ni
            Ich versuche auch das HTML zu parsen, bin aber zu schwach auf der Brust für RegEx.

            <div class="row align-center paddingTopBottom20pxToChildren">
            					<div class="col-md-4 ng-scope col-xs-6">
            						<div class="circle"></div>
            						<p class="marginBottom20px"></p>
            						<p><span class="glyphicon icon-status-ok icon"></span></p>
            						<p class="font-important" id="valState">0</p>
            						<p id="State">STATUS</p>
            					</div>
            					<div class="col-md-4 ng-scope col-xs-6">
            						<div class="circle"></div>
            						<p class="marginBottom20px"></p>
            						<p><span class="glyphicon icon-temperature icon"></span></p>
            						<p class="font-important" id="valTemperatur">8.0 &#176;C</p>
            						<p id="Temperature">TEMPERATUR</p>
            					</div>
            					<div class="col-md-4 ng-scope col-xs-6">
            						<div class="circle"></div>
            						<p class="marginBottom20px"></p>
            						<p><span class="glyphicon icon-performance icon"></span></p>
            						<p class="font-important" id="valHeatPower">0 W</p>
            						<p id="HeatPower">HEIZLEISTUNG</p>
            					</div>
            				</div>
            

            Könntest Du mir bitte das RegEx für mein HTML entwickeln?

            D 1 Reply Last reply Reply Quote 0
            • S
              schari @Mah0ni last edited by

              @mah0ni

              Ich bin so froh das es solche Leute gibt wie dich! 😄
              1.000 Dank, du hast mir viele (wenn auch bald die letzten) grauen Haare erspart ! 😁

              1 Reply Last reply Reply Quote 0
              • D
                diwoma @diwoma last edited by

                @diwoma Ich habe es dann doch selbst herausbekommen.

                (?<="valState">)[\s\S]*?(?=<\/)
                (?<="valTemperatur">)[\s\S]*?(?=<\/)
                (?<="valHeatPower">)[\s\S]*?(?=<\/)
                

                Das Escape beim Slash hat gefehlt. Und das '<' davor, aber ich glaube, das ist nicht so wichtig, weil ja sowieso nur die Zahlen als Wert genommen werden, wenn das Feld numerisch definiert ist

                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

                913
                Online

                31.9k
                Users

                80.2k
                Topics

                1.3m
                Posts

                fronius ohmpilot
                5
                6
                951
                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