Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Energieanzeige (kWh) über HTML Tabelle - vis

    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

    Energieanzeige (kWh) über HTML Tabelle - vis

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

      @Nordischerjung gibt es

      poste bitte den json export der datenpunkte für meross.0 und auch fritzdect.0 mit den steckdosen

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

        @liv-in-sky sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

        json export der datenpunkte

        {
         "fritzdect.0.DECT200_087610439476": {
           "type": "channel",
           "common": {
             "name": "FRITZ!DECT 200 #1",
             "role": "switch"
           },
           "native": {
             "aid": "087610439476"
           },
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387823,
           "_id": "fritzdect.0.DECT200_087610439476",
           "acl": {
             "object": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.devicelock": {
           "type": "state",
           "common": {
             "name": "Switch Button lock",
             "type": "boolean",
             "read": true,
             "write": false,
             "role": "indicator"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387875,
           "_id": "fritzdect.0.DECT200_087610439476.devicelock",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.energy": {
           "type": "state",
           "common": {
             "name": "Switch total energy",
             "type": "number",
             "unit": "Wh",
             "min": 0,
             "read": true,
             "write": false,
             "role": "value.power.consumption",
             "desc": "Switch total energy"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387872,
           "_id": "fritzdect.0.DECT200_087610439476.energy",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.fwversion": {
           "type": "state",
           "common": {
             "name": "FW version",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "firmware version"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387828,
           "_id": "fritzdect.0.DECT200_087610439476.fwversion",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.id": {
           "type": "state",
           "common": {
             "name": "ID",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "ID"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387825,
           "_id": "fritzdect.0.DECT200_087610439476.id",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.lock": {
           "type": "state",
           "common": {
             "name": "Switch UI/API lock",
             "type": "boolean",
             "read": true,
             "write": false,
             "role": "indicator"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387869,
           "_id": "fritzdect.0.DECT200_087610439476.lock",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.manufacturer": {
           "type": "state",
           "common": {
             "name": "Manufacturer",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "Manufacturer"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387829,
           "_id": "fritzdect.0.DECT200_087610439476.manufacturer",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.mode": {
           "type": "state",
           "common": {
             "name": "Switch mode",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "Switch mode"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387868,
           "_id": "fritzdect.0.DECT200_087610439476.mode",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.name": {
           "type": "state",
           "common": {
             "name": "Name",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "Name"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387827,
           "_id": "fritzdect.0.DECT200_087610439476.name",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.power": {
           "type": "state",
           "common": {
             "name": "Switch act power",
             "type": "number",
             "unit": "W",
             "min": 0,
             "max": 4000,
             "read": true,
             "write": false,
             "role": "value.power",
             "desc": "Switch act power",
             "custom": {
               "sourceanalytix.0": {
                 "enabled": true,
                 "alias": "Sprudelwasser",
                 "state_type": "kWh_consumption",
                 "state_unit": "automatically",
                 "costs": true,
                 "consumption": true,
                 "meter_values": true,
                 "start_day": -0.7576769199999999,
                 "start_week": 0,
                 "start_month": 0,
                 "start_quarter": 0,
                 "start_year": 0
               }
             }
           },
           "native": {},
           "from": "system.adapter.sourceanalytix.0",
           "ts": 1580425200083,
           "_id": "fritzdect.0.DECT200_087610439476.power",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           },
           "user": "system.user.admin"
         },
         "fritzdect.0.DECT200_087610439476.present": {
           "type": "state",
           "common": {
             "name": "Switch present",
             "type": "boolean",
             "read": true,
             "write": false,
             "role": "indicator.connected",
             "desc": "Switch present"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387827,
           "_id": "fritzdect.0.DECT200_087610439476.present",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.prodname": {
           "type": "state",
           "common": {
             "name": "Product Name",
             "type": "string",
             "read": true,
             "write": false,
             "role": "text",
             "desc": "Product Name"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387830,
           "_id": "fritzdect.0.DECT200_087610439476.prodname",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.state": {
           "type": "state",
           "common": {
             "name": "Switch on/off",
             "type": "boolean",
             "read": true,
             "write": true,
             "role": "switch",
             "desc": "Switch on/off"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387831,
           "_id": "fritzdect.0.DECT200_087610439476.state",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.temp": {
           "type": "state",
           "common": {
             "name": "actual Temp",
             "type": "number",
             "unit": "°C",
             "read": true,
             "write": false,
             "role": "value.temperature",
             "desc": "actual Temp"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387873,
           "_id": "fritzdect.0.DECT200_087610439476.temp",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         },
         "fritzdect.0.DECT200_087610439476.voltage": {
           "type": "state",
           "common": {
             "name": "Switch act voltage",
             "type": "number",
             "unit": "V",
             "min": 0,
             "max": 250,
             "read": true,
             "write": false,
             "role": "value.voltage",
             "desc": "Switch act voltage"
           },
           "native": {},
           "from": "system.adapter.fritzdect.0",
           "ts": 1544640387876,
           "_id": "fritzdect.0.DECT200_087610439476.voltage",
           "acl": {
             "object": 1636,
             "state": 1636,
             "owner": "system.user.admin",
             "ownerGroup": "system.group.administrator"
           }
         }
        }
        

        meinst du das? Von meross hab ich zur Zeit nur Outdoor Steckdosen ohne Messung. Die mit Messung bekomme ich erst Montag

        liv-in-sky 3 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Nordischerjung last edited by

          @Nordischerjung nein ich meine den ganzen pfad https://forum.iobroker.net/post/355793 und dann die ganze datei hier posten (einfach in den post ziehen -

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

            @Nordischerjung sorry -alles gut - war schon richtig so

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

              bäuchte eure hilfe bei 2 themen - homee user und mihome user

              es geht um den wert , ob das device online ist - ich muss noch mal ein update machen, weil die werte für die beiden maken nicht klar sind

              mihome: ws steht in state_in_use - ist das eine zahl oder boolean - wenn zahl, steht dann 0 und 1 oder kann da was anderes stehen

              homee: wie kann ich herausfinden, ob das gerät online ist

              problem - sind sie offline, werden die daten zum berechnen weiter mitgezälht, obwohl nicht aktiv

              O crunchip 2 Replies Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Nordischerjung last edited by

                @Nordischerjung fritzdect ist drin (beim nächsten update dabei)

                Image 3.png

                meross: machen wir wenn du die datenpunkte hast

                1 Reply Last reply Reply Quote 1
                • O
                  Oli @liv-in-sky last edited by

                  @liv-in-sky
                  mit dem homee Adapter derzeit leider gar nicht.

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

                    @Oli wie oft werden den die daten upgedatet - evtl geht was über last_change irgendeines datenpunktes - wobei es da am adapter selbst liegt, ob er updated, wenn keine oder keine veränderten daten kommen - kannst du bitte mal testen

                    kurzscript - datenpunkt kannst du ändern auf deine geräte - müßte aber eh von dir sein

                    alle 20 sekunden wird die zeit diff gemessen - wann er das letzte mal gändert wurde
                    wir suchen den unterschied zw. gerät ist aktiv ( also wie oft liest der adapter die daten und macht update) und was geschieht mit dieser zeitdifferenz, wenn gerät offline - also nicht im netzwerk erreichbar

                     schedule(' */20 * * * * *',  function () {
                    
                    var ddd=getState("homee.0.MeteringPlug-20.CurrentEnergyUse-190").lc
                    
                    
                    
                    log(parseInt((new Date().getTime())) - new Date(ddd))
                    
                     });
                    
                    O N 3 Replies Last reply Reply Quote 0
                    • O
                      Oli @liv-in-sky last edited by

                      @liv-in-sky
                      Kann ich aber leider erst Montag Abend testen.

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

                        @Oli kein thema

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

                          @liv-in-sky was brauchst du zwecks mihome?

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

                            @crunchip hi M

                            hast du mihome steckdosen, die eine energieanzeige haben

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

                              @liv-in-sky hab ich selbst grad gemerkt🤦 sind ja im Energie script. Nein leider nix mit Strom von Mihome

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

                                @crunchip dann warte ich halt bis montag

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @liv-in-sky last edited by

                                  @liv-in-sky sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

                                  @crunchip hi M

                                  hast du mihome steckdosen, die eine energieanzeige haben

                                  Hi, ich hab so eine, unter anderem...
                                  Was brauchst du davon? ( Konnte hier noch nicht soviel mitlesen die letzten Wochen..)

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

                                    @ilovegym hi - eigentlich nur das hier - ich muss irgendwie rausfinden, wenn das ding offline ist

                                    https://forum.iobroker.net/post/368458

                                    O vauvau07 2 Replies Last reply Reply Quote 0
                                    • O
                                      Oli @liv-in-sky last edited by

                                      @liv-in-sky
                                      Ich glaube nicht, dass der homee Adapter sowas abbildet

                                      https://forum.iobroker.net/topic/26083/wünsche-für-den-homee-adapter

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

                                        @liv-in-sky
                                        ist es möglich folgendes Gerät einzubinden
                                        zigbee.0.00158d0003893df5.json

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

                                          @Oli deshalb versuche ich den dp-update-cyclus zu finden und ob der adapter diese updates auch macht, wenn das gerät nicht online ist

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

                                            @vauvau07 sind schön längst drin - hat das script sofort erkannt

                                            Image 2.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            902
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            37
                                            696
                                            129610
                                            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