Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Uptime im aktuellen Shelly-Adapter

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    674

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Uptime im aktuellen Shelly-Adapter

Scheduled Pinned Locked Moved Node-Red
6 Posts 3 Posters 568 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 66er6 Offline
    66er6 Offline
    66er
    wrote on last edited by
    #1

    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.

    LG
    Stefan

    mickymM haus-automatisierungH 2 Replies Last reply
    1
    • 66er6 66er

      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.

      mickymM Offline
      mickymM Offline
      mickym
      Most Active
      wrote on last edited by mickym
      #2

      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": []
         }
      ]
      

      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

      66er6 1 Reply Last reply
      0
      • 66er6 66er

        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.

        haus-automatisierungH Online
        haus-automatisierungH Online
        haus-automatisierung
        Developer Most Active
        wrote on last edited by
        #3

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

        🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
        🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
        📚 Meine inoffizielle ioBroker Dokumentation

        66er6 1 Reply Last reply
        0
        • haus-automatisierungH haus-automatisierung

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

          66er6 Offline
          66er6 Offline
          66er
          wrote on last edited by
          #4

          @haus-automatisierung

          Vielen Dank. 👍

          LG
          Stefan

          1 Reply Last reply
          0
          • mickymM 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": []
               }
            ]
            

            66er6 Offline
            66er6 Offline
            66er
            wrote on last edited by
            #5

            @mickym

            Vielen Dank. 👍

            LG
            Stefan

            66er6 1 Reply Last reply
            0
            • 66er6 66er

              @mickym

              Vielen Dank. 👍

              66er6 Offline
              66er6 Offline
              66er
              wrote on last edited by
              #6

              @66er

              Getestet und funktioniert. 👍

              Was 1 Node mit dem richtigen Inhalt alles ausmacht. ☺

              LG
              Stefan

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

              ioBroker
              Community Adapters
              Donate

              570

              Online

              32.7k

              Users

              82.6k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Home
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe