Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Uptime im aktuellen Shelly-Adapter

    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

    Uptime im aktuellen Shelly-Adapter

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

      Im neuen Shelly-Adapter wird ja die Uptime (leider) nicht mehr in DD:HH:MM:SS angezeigt, sondern nur noch als Sekunden (analog dem Wert des Shelly).

      Vielleicht sehe ich ja nur den Wald vor lauter Bäumen nicht. Gibt es einen einfachen Weg, aus der Zahl wieder die gewohnte Anzeige zu bekommen?

      Bin mit NodeRed (Anfänger) unterwegs und Recherchen haben mich bislang leider nicht weitergebracht.

      Die alte Anzeige ...

      Uptime1.PNG

      ... sagt halt mehr aus als:

      Uptime2.PNG

      Freue mich über Eure Hinweise und Vorschläge.

      Schönes WE allen.

      mickym haus-automatisierung 2 Replies Last reply Reply Quote 1
      • mickym
        mickym Most Active @66er last edited by mickym

        OK - so kombiniert geht es:

        e9b43df0-1900-4c55-be77-e080aa6bb38f-image.png

        [
           {
               "id": "0c1ebb4c482f63c9",
               "type": "inject",
               "z": "289f539dcc33814e",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "777617",
               "payloadType": "num",
               "x": 650,
               "y": 4340,
               "wires": [
                   [
                       "8f8a7be954d513c3"
                   ]
               ]
           },
           {
               "id": "634da8a501886a7b",
               "type": "inject",
               "z": "289f539dcc33814e",
               "name": "",
               "props": [
                   {
                       "p": "payload"
                   }
               ],
               "repeat": "",
               "crontab": "",
               "once": false,
               "onceDelay": 0.1,
               "topic": "",
               "payload": "300000",
               "payloadType": "num",
               "x": 650,
               "y": 4300,
               "wires": [
                   [
                       "8f8a7be954d513c3"
                   ]
               ]
           },
           {
               "id": "8f8a7be954d513c3",
               "type": "change",
               "z": "289f539dcc33814e",
               "name": "",
               "rules": [
                   {
                       "t": "set",
                       "p": "payload",
                       "pt": "msg",
                       "to": "$floor(payload/86400) & \"D\"\t& $fromMillis(payload%86400*1000,'[H00]:[m]:[s]')\t",
                       "tot": "jsonata"
                   }
               ],
               "action": "",
               "property": "",
               "from": "",
               "to": "",
               "reg": false,
               "x": 830,
               "y": 4300,
               "wires": [
                   [
                       "1eb8ae98416a2254"
                   ]
               ]
           },
           {
               "id": "1eb8ae98416a2254",
               "type": "debug",
               "z": "289f539dcc33814e",
               "name": "",
               "active": true,
               "tosidebar": true,
               "console": false,
               "tostatus": false,
               "complete": "false",
               "statusVal": "",
               "statusType": "auto",
               "x": 1030,
               "y": 4300,
               "wires": []
           }
        ]
        

        66er 1 Reply Last reply Reply Quote 0
        • haus-automatisierung
          haus-automatisierung Developer Most Active @66er last edited by

          @66er Siehe https://forum.iobroker.net/topic/56186/shelly-adapter-6-0-0-uptime/7

          66er 1 Reply Last reply Reply Quote 0
          • 66er
            66er @haus-automatisierung last edited by

            @haus-automatisierung

            Vielen Dank. 👍

            1 Reply Last reply Reply Quote 0
            • 66er
              66er @mickym last edited by

              @mickym

              Vielen Dank. 👍

              66er 1 Reply Last reply Reply Quote 0
              • 66er
                66er @66er last edited by

                @66er

                Getestet und funktioniert. 👍

                Was 1 Node mit dem richtigen Inhalt alles ausmacht. ☺

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

                Support us

                ioBroker
                Community Adapters
                Donate

                948
                Online

                31.9k
                Users

                80.2k
                Topics

                1.3m
                Posts

                3
                6
                321
                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