Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Strom Geräte als HTML Tabelle - Vis - Iqontrol

    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

    Strom Geräte als HTML Tabelle - Vis - Iqontrol

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

      @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

      für input bin ich dankbar

      Sehe diesen Thread erst jetzt.

      Wenn ich am pc bin nerve ich euch gerne

      Homematic Messteckdose (Telekom-Version)

      {
       "_id": "hm-rpc.0.LTK0124795",
       "type": "device",
       "common": {
         "name": "Strom_Arcade_Games",
         "icon": "/icons/93_hm-es-pmsw1-pl_thumb.png"
       },
       "native": {
         "ADDRESS": "LTK0124795",
         "AVAILABLE_FIRMWARE": "2.5",
         "CHILDREN": [
           "LTK0124795:0",
           "LTK0124795:1",
           "LTK0124795:2",
           "LTK0124795:3",
           "LTK0124795:4",
           "LTK0124795:5",
           "LTK0124795:6"
         ],
         "FIRMWARE": "2.5",
         "FLAGS": 1,
         "INTERFACE": "MEQ1888457",
         "PARAMSETS": [
           "MASTER"
         ],
         "PARENT": "",
         "RF_ADDRESS": 3291348,
         "ROAMING": 0,
         "RX_MODE": 1,
         "TYPE": "HM-ES-PMSw1-Pl",
         "UPDATABLE": 1,
         "VERSION": 16
       },
       "from": "system.adapter.hm-rega.0",
       "user": "system.user.admin",
       "ts": 1577621401282,
       "acl": {
         "object": 1636,
         "owner": "system.user.admin",
         "ownerGroup": "system.group.administrator"
       }
      }
      

      Ich habe dann noch einen Hutschienen-Aktor, den muss ich allerdings erst mal irgendwo anklemmen.
      Mache ich ASAP

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

        Done!

        {
         "from": "system.adapter.hm-rega.0",
         "user": "system.user.admin",
         "ts": 1579341156065,
         "common": {
           "name": "Strom_Buero",
           "icon": "/icons/110_hm-es-pmsw1-dr_thump.png"
         },
         "native": {
           "ADDRESS": "NEQ0116043",
           "FIRMWARE": "2.5",
           "INTERFACE": "KEQ1065589",
           "PARENT": "",
           "TYPE": "HM-ES-PMSw1-DR",
           "FLAGS": 1,
           "RF_ADDRESS": 4501779,
           "ROAMING": 0,
           "RX_MODE": 1,
           "UPDATABLE": 1,
           "VERSION": 16,
           "CHILDREN": [
             "NEQ0116043:0",
             "NEQ0116043:1",
             "NEQ0116043:2",
             "NEQ0116043:3",
             "NEQ0116043:4",
             "NEQ0116043:5",
             "NEQ0116043:6"
           ],
           "PARAMSETS": [
             "MASTER"
           ]
         },
         "acl": {
           "object": 1636,
           "owner": "system.user.admin",
           "ownerGroup": "system.group.administrator"
         },
         "_id": "hm-rpc.0.NEQ0116043",
         "type": "device"
        }
        

        Dann mal viel Spaß

        liv-in-sky 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Homoran last edited by

          @Homoran

          danke werd ich haben

          1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

            @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

            moin,
            wollte heute mit dem script beginnen - falls noch jmd wünsche wegen der spalten anordnung hat - wäre jetzt ein guter zeitpunkt

            Eventuell eine Summe der Werte?

            Ich glaube du träumst schon sicher nur mehr von Tabellen. 😀

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @sigi234 last edited by

              @sigi234

              um ehrlich zu sein - mir fehlt gerade der überblick -die datenpunkte sind so unterschiedlich - die selktoren auswahl ist auch nicht klar - die tabellen selbst sind nicht das problem

              werte die bei sonoff da sind - müßten für manche devices erstmal berechnet werden ... - ich sortiere noch

              was meinst du mit summe der werte ?

              sigi234 2 Replies Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @liv-in-sky last edited by

                @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                was meinst du mit summe der werte ?

                Wieviel Verbrauch(Watt) haben alle Geräte zusammen.

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • sigi234
                  sigi234 Forum Testing Most Active @liv-in-sky last edited by

                  @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                  die datenpunkte sind so unterschiedlich

                  Ja, das Problem ist das ja nicht alle Geräte eine Leistungsmessung haben.

                  HS100 - Ohne
                  HS110 - Mit

                  Homoran 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @sigi234 last edited by

                    @sigi234 Ansicht eine gute Idee nur welche: gesamt gesamt oder täglich gesamt oder monatl gesamt

                    Und diese Werte existieren bei vielen eurer geposteten Beispiel-dp garnicht

                    sigi234 1 Reply Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

                      @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                      Und diese Werte existieren bei vielen eurer geposteten Beispiel-dp garnicht

                      Ja, genau deswegen.
                      Aber da kommen wir vom nur Tabelle Thema ab.Dafür gibt es ja die entsprechenden Adapter.

                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @sigi234 last edited by

                        @sigi234 das bedeutet ich musste für alle ohne Leistung Messung eine kleine Datenbank anlegen und diese pflegen -tägliche Werte addieren um Mitternacht, monatliche Werte berechnen ....

                        Ich denke das kann ich nicht bewerkstelligen -was anderes wäre es wenn der Tabellen Nutzer einen solchen dp zur verfügung stellt - mit diesen werten - und die im script abgerufen werden

                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @liv-in-sky last edited by

                          @liv-in-sky sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                          @sigi234 das bedeutet ich musste für alle ohne Leistung Messung eine kleine Datenbank anlegen und diese pflegen -tägliche Werte addieren um Mitternacht, monatliche Werte berechnen ....

                          Ich denke das kann ich nicht bewerkstelligen -was anderes wäre es wenn der Tabellen Nutzer einen solchen dp zur verfügung stellt - mit diesen werten - und die im script abgerufen werden

                          Lass es , ich mache das mit Blockly ZB:

                          on({id: new RegExp('hs100\\.0\\.192_168_178_23\\.totalMonthNow' + "|" + 'hs100\\.0\\.192_168_178_43\\.totalMonthNow'), change: "ne"}, function (obj) {
                              setState("javascript.0.Eigene_Datenpunkte.Summe_Bezug"/*Summe_Bezug*/, (getState("hs100.0.192_168_178_23.totalMonthNow").val + getState("hs100.0.192_168_178_43.totalMonthNow").val), true);
                          });
                          
                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @sigi234 last edited by

                            @sigi234 sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                            Ja, das Problem ist das ja nicht alle Geräte eine Leistungsmessung haben

                            ich hatte es so verstanden, dass nur Geräte mit Leistungsmessung erfasst werden sollen.

                            Alle Aktoren ob sie an oder aus siend ist IMHO zuviel

                            ? sigi234 2 Replies Last reply Reply Quote 0
                            • ?
                              A Former User @Homoran last edited by

                              @Homoran die Meinung Teile ich auch. Sonst wirkt es überladen und man verliert den fokus und sich in Details

                              1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active @Homoran last edited by

                                @Homoran sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                                ich hatte es so verstanden, dass nur Geräte mit Leistungsmessung erfasst werden sollen.

                                Ich nicht, ein Status in der Tabelle ob ein Gerät eingeschaltet ist wäre schon gut.
                                ZB.:
                                Steckdose Wohnzimmer: ON

                                Homoran 1 Reply Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active last edited by sigi234

                                  @liv-in-sky

                                  Shelly`s auch mitnehmen?

                                  https://forum.iobroker.net/topic/24219/shelly-1-pm-leistungsmessung

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

                                    @sigi234 sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                                    ein Status in der Tabelle ob ein Gerät eingeschaltet ist wäre schon gut.

                                    Das wird bei 100 Aktoren aber schon heftig

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @Homoran last edited by

                                      @Homoran sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                                      @sigi234 sagte in Strom Geräte als HTML Tabelle - Vis - Iqontrol:

                                      ein Status in der Tabelle ob ein Gerät eingeschaltet ist wäre schon gut.

                                      Das wird bei 100 Aktoren aber schon heftig

                                      Jupp, vielleicht als Option?

                                      1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active last edited by

                                        Hm, ich denke bei den vielen Tabellen was @liv-in-sky macht wäre da ein Tabellen-Adapter möglich/sinnvoll ?
                                        Nur mal so als Kopfkino. 😐

                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator last edited by

                                          hab auch noch ein Objekt

                                          Xiaomi Mija Smart Plug
                                          mihome.0.devices.plug_158d0001f24aad.json

                                          liv-in-sky 1 Reply Last reply Reply Quote 0
                                          • M
                                            MartyBr @sigi234 last edited by

                                            @sigi234
                                            Ich habe mehrere Shellys im Einsatz:

                                            {
                                              "from": "system.adapter.shelly.0",
                                              "user": "system.user.admin",
                                              "ts": 1578827875860,
                                              "common": {
                                                "name": "Switch",
                                                "type": "boolean",
                                                "role": "switch",
                                                "read": true,
                                                "write": true,
                                                "def": false,
                                                "custom": {
                                                  "iot.0": {
                                                    "smartName": {
                                                      "de": "Shelly1"
                                                    }
                                                  }
                                                }
                                              },
                                              "native": {},
                                              "acl": {
                                                "object": 1636,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.administrator",
                                                "state": 1636
                                              },
                                              "_id": "shelly.0.SHPLG-S#04096C#1.Relay0.Switch",
                                              "type": "state"
                                            }
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            838
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            13
                                            289
                                            26885
                                            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