Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESPhome: Wert an nodemcu schreiben

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    ESPhome: Wert an nodemcu schreiben

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

      Hallo zusammen, ich lese meinen Gaszähler mit einem D1 mini und einem optischen IR-Sensor aus, der Impulse erzeugt. Hat jemand eine Lösung, wie ich den aktuellen Wert der Impulse (=Zählerstand) einmalig in den D1 mini schreibe um bei einem Runterladen wieder den aktuellen Wert zu bekommen? Die folgende Anleitung von esphome.io funktioniert nicht, es wird im iobroker kein Objekt "new_pulse_total" angelegt. Und der Wert soll vom D1 mini natürlich nur übernommen werden, wenn er aktualisiert wurde, sonst bleibt der alte Wert stehen und wird nicht an den D1 mini übertragen.

      (Re)Setting the total pulse count
      Using this action, you are able to reset/set the total pulse count. This can be useful if you would like the total sensor to match what you see on your meter you are trying to match.
      
      # Set pulse counter total from home assistant using this service call:
      api:
        services:
          - service: set_pulse_total
            variables:
              new_pulse_total: int
            then:
              - pulse_counter.set_total_pulses:
                  id: pulse_counter_id
                  value: !lambda 'return new_pulse_total;'
      

      Für jeden Hinweis vielen dank vorab!

      fu_zhou 1 Reply Last reply Reply Quote 0
      • fu_zhou
        fu_zhou @fu_zhou last edited by

        gelöst - s. https://forum.iobroker.net/post/1102541

        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

        470
        Online

        32.0k
        Users

        80.5k
        Topics

        1.3m
        Posts

        1
        2
        140
        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