Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Scriptfehler bei Json umwandlung

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    818

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    614

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

Scriptfehler bei Json umwandlung

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
20 Beiträge 4 Kommentatoren 1.3k Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • W Wuschl

    @tt-tom ah, vor dem ersten Kommentar war der Schlüssel. Da kommt einmal der "Null", und das macht die Fehlermeldung.

    javascript.0
    	2023-05-07 09:18:34.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:33.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:33.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:33.000	info	script.js.JSON-Objekte.json-Auto-Gtag: null
    javascript.0
    	2023-05-07 09:18:33.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:32.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:32.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:32.001	info	script.js.JSON-Objekte.json-Auto-Gtag: null
    javascript.0
    	2023-05-07 09:18:32.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:31.000	info	script.js.JSON-Objekte.json-Auto-Gtag: SeatLeon
    javascript.0
    	2023-05-07 09:18:30.001	info	script.js.JSON-Objekte.json-Auto-Gtag: AudiA4
    javascript.0
    	2023-05-07 09:18:29.001	info	script.js.JSON-Objekte.json-Auto-Gtag: AudiA4
    javascript.0
    	2023-05-07 09:18:28.000	info	script.js.JSON-Objekte.json-Auto-Gtag: AudiA4
    javascript.0
    	2023-05-07 09:18:27.001	info	script.js.JSON-Objekte.json-Auto-Gtag: AudiA4
    javascript.0
    	2023-05-07 09:18:26.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:26.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
    javascript.0
    	2023-05-07 09:18:26.001	info	script.js.JSON-Objekte.json-Auto-Gtag: null
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #8

    @wuschl sagte in Scriptfehler bei Json umwandlung:

    vor dem ersten Kommentar war der Schlüssel. Da kommt einmal der "Null", und das macht die Fehlermeldung.

    klar!
    und was enthält dann die Variable MQTT?

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    W 1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @wuschl sagte in Scriptfehler bei Json umwandlung:

      vor dem ersten Kommentar war der Schlüssel. Da kommt einmal der "Null", und das macht die Fehlermeldung.

      klar!
      und was enthält dann die Variable MQTT?

      W Offline
      W Offline
      Wuschl
      schrieb am zuletzt editiert von
      #9

      @homoran
      das ist die Ausgabe vom Device

      javascript.0
      	2023-05-07 09:39:43.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:39:43.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:39:43.001	info	script.js.JSON-Objekte.json-Auto-Gtag: undefined
      javascript.0
      	2023-05-07 09:39:42.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:39:42.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:39:42.000	info	script.js.JSON-Objekte.json-Auto-Gtag: undefined
      javascript.0
      	2023-05-07 09:39:41.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-97,'STATE':'ON','PERSEC':0}
      javascript.0
      	2023-05-07 09:39:40.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-97,'STATE':'ON','PERSEC':0}
      javascript.0
      	2023-05-07 09:39:39.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C3A094','NAME':'SeatLeon','RSSI':-88,'STATE':'ON','PERSEC':0}
      javascript.0
      	2023-05-07 09:39:38.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C3A094','NAME':'SeatLeon','RSSI':-88,'STATE':'ON','PERSEC':0}
      

      und die Ausgabe von MQTT

      javascript.0
      	2023-05-07 09:41:14.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:14.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
      javascript.0
      	2023-05-07 09:41:13.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:13.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:13.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
      javascript.0
      	2023-05-07 09:41:12.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:12.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:12.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
      javascript.0
      	2023-05-07 09:41:11.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:10.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:09.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:08.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:07.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:06.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
      javascript.0
      	2023-05-07 09:41:05.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:05.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
      javascript.0
      	2023-05-07 09:41:05.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:00','Switch1':'OFF','ANALOG':{'Temperature1':22.2,'A2':1822},'TempUnit':'C'}
      
      HomoranH 1 Antwort Letzte Antwort
      0
      • W Wuschl

        @homoran
        das ist die Ausgabe vom Device

        javascript.0
        	2023-05-07 09:39:43.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:39:43.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:39:43.001	info	script.js.JSON-Objekte.json-Auto-Gtag: undefined
        javascript.0
        	2023-05-07 09:39:42.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:39:42.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:39:42.000	info	script.js.JSON-Objekte.json-Auto-Gtag: undefined
        javascript.0
        	2023-05-07 09:39:41.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-97,'STATE':'ON','PERSEC':0}
        javascript.0
        	2023-05-07 09:39:40.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-97,'STATE':'ON','PERSEC':0}
        javascript.0
        	2023-05-07 09:39:39.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C3A094','NAME':'SeatLeon','RSSI':-88,'STATE':'ON','PERSEC':0}
        javascript.0
        	2023-05-07 09:39:38.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'MAC':'7C2F80C3A094','NAME':'SeatLeon','RSSI':-88,'STATE':'ON','PERSEC':0}
        

        und die Ausgabe von MQTT

        javascript.0
        	2023-05-07 09:41:14.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:14.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
        javascript.0
        	2023-05-07 09:41:13.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:13.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:13.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
        javascript.0
        	2023-05-07 09:41:12.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:12.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:12.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:10','Switch1':'OFF','ANALOG':{'Temperature1':22,'A2':1817},'TempUnit':'C'}
        javascript.0
        	2023-05-07 09:41:11.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:10.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:09.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:08.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:07.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:06.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:05','IBEACON':{'MAC':'7C2F80C4633E','NAME':'AudiA4','RSSI':-93,'STATE':'ON','PERSEC':0}}
        javascript.0
        	2023-05-07 09:41:05.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:05.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
        javascript.0
        	2023-05-07 09:41:05.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {'Time':'2023-05-07T08:41:00','Switch1':'OFF','ANALOG':{'Temperature1':22.2,'A2':1822},'TempUnit':'C'}
        
        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #10

        @wuschl sagte in Scriptfehler bei Json umwandlung:

        und die Ausgabe von MQTT

        das ist kein json.
        hast du die Konvertierung immer noch drin?

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        W 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @wuschl sagte in Scriptfehler bei Json umwandlung:

          und die Ausgabe von MQTT

          das ist kein json.
          hast du die Konvertierung immer noch drin?

          W Offline
          W Offline
          Wuschl
          schrieb am zuletzt editiert von
          #11

          @homoran hab es ohne probiert, aber kein Unterschied, gleiche Fehlermeldung.

          HomoranH 1 Antwort Letzte Antwort
          0
          • W Wuschl

            @homoran hab es ohne probiert, aber kein Unterschied, gleiche Fehlermeldung.

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #12

            @wuschl sagte in Scriptfehler bei Json umwandlung:

            @homoran hab es ohne probiert, aber kein Unterschied, gleiche Fehlermeldung.

            auch gleicher Inhalt der Variable MQTT?
            Zeigen, zeigen, zeigen!

            kein Support per PN! - Fragen im Forum stellen -
            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            W 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @wuschl sagte in Scriptfehler bei Json umwandlung:

              @homoran hab es ohne probiert, aber kein Unterschied, gleiche Fehlermeldung.

              auch gleicher Inhalt der Variable MQTT?
              Zeigen, zeigen, zeigen!

              W Offline
              W Offline
              Wuschl
              schrieb am zuletzt editiert von
              #13

              @homoran

              javascript.0
              	2023-05-07 09:57:55.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
              javascript.0
              	2023-05-07 09:57:54.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:54.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:54.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
              javascript.0
              	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:53.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
              javascript.0
              	2023-05-07 09:57:52.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:52.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:52.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
              javascript.0
              	2023-05-07 09:57:51.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
              javascript.0
              	2023-05-07 09:57:50.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
              javascript.0
              	2023-05-07 09:57:49.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
              javascript.0
              	2023-05-07 09:57:48.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
              admin.0
              	2023-05-07 09:57:47.640	info	==> Connected system.user.admin from ::ffff:192.168.178.37
              javascript.0
              	2023-05-07 09:57:47.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
              javascript.0
              	2023-05-07 09:57:46.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
              javascript.0
              	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
              javascript.0
              	2023-05-07 09:57:45.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:40","Switch1":"OFF","ANALOG":{"Temperature1":21.8,"A2":1826},"TempUnit":"C"}
              
              HomoranH DJMarc75D 2 Antworten Letzte Antwort
              0
              • W Wuschl

                @homoran

                javascript.0
                	2023-05-07 09:57:55.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                javascript.0
                	2023-05-07 09:57:54.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:54.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:54.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                javascript.0
                	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:53.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                javascript.0
                	2023-05-07 09:57:52.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:52.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:52.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                javascript.0
                	2023-05-07 09:57:51.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                javascript.0
                	2023-05-07 09:57:50.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                javascript.0
                	2023-05-07 09:57:49.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                javascript.0
                	2023-05-07 09:57:48.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                admin.0
                	2023-05-07 09:57:47.640	info	==> Connected system.user.admin from ::ffff:192.168.178.37
                javascript.0
                	2023-05-07 09:57:47.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                javascript.0
                	2023-05-07 09:57:46.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                javascript.0
                	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                javascript.0
                	2023-05-07 09:57:45.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:40","Switch1":"OFF","ANALOG":{"Temperature1":21.8,"A2":1826},"TempUnit":"C"}
                
                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #14

                @wuschl DAS ist ein JSON!
                also schon mal einen Fehler über den debug gefunden!

                dieses Json enthält kein "NAME"

                Deine Logik muss solche Pakete ausfiltern, und nur die anderen weiter bearbeiten., wenn es nicht anders geht.

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                W 1 Antwort Letzte Antwort
                1
                • W Wuschl

                  @homoran

                  javascript.0
                  	2023-05-07 09:57:55.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                  javascript.0
                  	2023-05-07 09:57:54.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:54.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:54.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                  javascript.0
                  	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:53.000	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:53.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                  javascript.0
                  	2023-05-07 09:57:52.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:52.001	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:52.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:50","Switch1":"OFF","ANALOG":{"Temperature1":21.7,"A2":1822},"TempUnit":"C"}
                  javascript.0
                  	2023-05-07 09:57:51.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                  javascript.0
                  	2023-05-07 09:57:50.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                  javascript.0
                  	2023-05-07 09:57:49.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:47","IBEACON":{"MAC":"7C2F80C4633E","NAME":"AudiA4","RSSI":0,"STATE":"OFF","PERSEC":0}}
                  javascript.0
                  	2023-05-07 09:57:48.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                  admin.0
                  	2023-05-07 09:57:47.640	info	==> Connected system.user.admin from ::ffff:192.168.178.37
                  javascript.0
                  	2023-05-07 09:57:47.000	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                  javascript.0
                  	2023-05-07 09:57:46.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:44","IBEACON":{"MAC":"7C2F80C3A094","NAME":"SeatLeon","RSSI":-95,"STATE":"ON","PERSEC":0}}
                  javascript.0
                  	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:45.002	error	script.js.JSON-Objekte.json-Auto-Gtag: Cannot get NAME of undefined
                  javascript.0
                  	2023-05-07 09:57:45.001	info	script.js.JSON-Objekte.json-Auto-Gtag: {"Time":"2023-05-07T08:57:40","Switch1":"OFF","ANALOG":{"Temperature1":21.8,"A2":1826},"TempUnit":"C"}
                  
                  DJMarc75D Offline
                  DJMarc75D Offline
                  DJMarc75
                  schrieb am zuletzt editiert von
                  #15

                  @wuschl so prinzipiell kommen die Fehler davon dass Du den Wert von dem "anderen" Datenpunkt ja überhaupt nicht abfrägst (in eine Variable setzen). Dort gibts auch diw gewünschten Attribute.

                  Lehrling seit 1975 !!!
                  Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                  https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                  W 1 Antwort Letzte Antwort
                  0
                  • DJMarc75D DJMarc75

                    @wuschl so prinzipiell kommen die Fehler davon dass Du den Wert von dem "anderen" Datenpunkt ja überhaupt nicht abfrägst (in eine Variable setzen). Dort gibts auch diw gewünschten Attribute.

                    W Offline
                    W Offline
                    Wuschl
                    schrieb am zuletzt editiert von
                    #16

                    @djmarc75 das ist eine mögliche Idee, aber die Frage ist was ich abfrage ? dann kommt die Fehlermeldung vom anderen Datenpunkt...

                    1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @wuschl DAS ist ein JSON!
                      also schon mal einen Fehler über den debug gefunden!

                      dieses Json enthält kein "NAME"

                      Deine Logik muss solche Pakete ausfiltern, und nur die anderen weiter bearbeiten., wenn es nicht anders geht.

                      W Offline
                      W Offline
                      Wuschl
                      schrieb am zuletzt editiert von
                      #17

                      @homoran und wie kann ich ein Attribut ausfiltern? Gibt ja kein "nicht"

                      T HomoranH 2 Antworten Letzte Antwort
                      0
                      • W Wuschl

                        @homoran und wie kann ich ein Attribut ausfiltern? Gibt ja kein "nicht"

                        T Offline
                        T Offline
                        TT-Tom
                        schrieb am zuletzt editiert von TT-Tom
                        #18

                        @wuschl du kannst dein device auf null prüfen

                        versuche mal das
                        Bildschirmfoto 2023-05-07 um 10.25.20.png

                        ne besser so "nicht Null"
                        Bildschirmfoto 2023-05-07 um 10.27.00.png

                        Gruß Tom
                        https://github.com/tt-tom17
                        Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                        NSPanel Script Wiki
                        https://github.com/joBr99/nspanel-lovelace-ui/wiki

                        NSPanel Adapter Wiki
                        https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                        W 1 Antwort Letzte Antwort
                        0
                        • T TT-Tom

                          @wuschl du kannst dein device auf null prüfen

                          versuche mal das
                          Bildschirmfoto 2023-05-07 um 10.25.20.png

                          ne besser so "nicht Null"
                          Bildschirmfoto 2023-05-07 um 10.27.00.png

                          W Offline
                          W Offline
                          Wuschl
                          schrieb am zuletzt editiert von Wuschl
                          #19

                          @tt-tom funktioniert. Top. Super Idee

                          1 Antwort Letzte Antwort
                          0
                          • W Wuschl

                            @homoran und wie kann ich ein Attribut ausfiltern? Gibt ja kein "nicht"

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von Homoran
                            #20

                            @wuschl sagte in Scriptfehler bei Json umwandlung:

                            Gibt ja kein "nicht"

                            doch!
                            Screenshot_20230507-110740_Firefox.jpg

                            falls nicht Attribut von Name
                            mache (den Rest)

                            kein Support per PN! - Fragen im Forum stellen -
                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                            Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            0

                            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            488

                            Online

                            32.9k

                            Benutzer

                            82.9k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe