Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. PARSER - REGEX-EINSTELLUNGEN

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    PARSER - REGEX-EINSTELLUNGEN

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

      Ersuche um eure Unterstützung bei der Erstellung des Parser/RegEx.
      Im nachstehenden html Teil eines lokalen Web-Servers möchte ich die "Lufttemperatur" auslesen - hier im Beispiel 19.1 °C

      <tbody><tr>
      			<td width="234"><b>Bezeichnung</b></td>
      			<td width="120" align="center"><b>Zustand</b></td>
      			<td width="84" align="center"><b>EIN</b></td>
      			<td align="center" width="84"><b>AUS</b></td>
      		</tr>
      		<tr>
      			<td width="234">&nbsp;</td>
      			<td width="120" align="center">&nbsp;</td>
      			<td width="84" align="center">&nbsp;</td>
      			<td align="center" width="84">&nbsp;</td>
      		</tr>
      		<tr>
      			<td width="234">Wassertemperatur</td>
      			<td width="120" align="center"> 28.4   °C</td>
      			<td width="84" align="center">&nbsp;</td>
      			<td align="center" width="84">&nbsp;</td>
      		</tr>
      		<tr>
      			<td width="234">Lufttemperatur</td>
      			<td width="120" align="center"> 19.1   °C</td>
      			<td width="84" align="center">&nbsp;</td>
      			<td align="center" width="84">&nbsp;</td>
      		</tr>
      	</tbody>
      

      Danke

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @ToK last edited by Homoran

        @tok sagte in PARSER - REGEX-EINSTELLUNGEN:

        Im nachstehenden html Teil eines lokalen Web-Servers

        Quelltext oder aufgearbeitetes HTML?

        Wenn ersteres: Luftt[^c]+[^\d]+([\d.]+)

        T 1 Reply Last reply Reply Quote 1
        • T
          ToK @Homoran last edited by ToK

          @homoran Danke, der Wert 246 wird angezeigt - nur das Komma fehlt - wenn ich im Parser "Komma" aktiviere und speichere verschwindet die Kommaaktivierung binnen Sekunden wieder ... ?

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @ToK last edited by Homoran

            @tok sagte in PARSER - REGEX-EINSTELLUNGEN:

            der Wert 246 wird angezeigt

            zeigen
            (im Parsereditor)

            @tok sagte in PARSER - REGEX-EINSTELLUNGEN:

            wenn ich im Parser "Komma" aktiviere und speichere verschwindet die Kommaaktivierung binnen Sekunden wieder

            der Wert enthält ja auch kein Komma, sondern den standardmäßig korrekten Dezimalpunkt

            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

            788
            Online

            32.0k
            Users

            80.5k
            Topics

            1.3m
            Posts

            2
            4
            52
            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