Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. SONOFF NSPanel mit Lovelace UI

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

SONOFF NSPanel mit Lovelace UI

Scheduled Pinned Locked Moved Hardware
lovelace uinspanelsonoff
7.7k Posts 271 Posters 6.7m Views 253 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.
  • T TT-Tom

    @teletapi Mach doch aus dem iconColor eine variable und setze den Wert je nach Wunsch.

    ["id", "value", "unit", "icon", "iconColor", "speed"]
    [1, pwr1, "W", "battery-high", 3, speedPwr1]
    
    teletapiT Online
    teletapiT Online
    teletapi
    wrote on last edited by teletapi
    #7286

    @tt-tom said in SONOFF NSPanel mit Lovelace UI:

    [1, pwr1, "W", "battery-high", 3, speedPwr1]

    Wenn du mir jetzt noch sagen würdest wie, dann wäre ich dabei. Das sind alles spanische Dörfer für mich die verursachen bei mir Knoten im Kopf... 😉

    T 1 Reply Last reply
    0
    • teletapiT teletapi

      @tt-tom said in SONOFF NSPanel mit Lovelace UI:

      [1, pwr1, "W", "battery-high", 3, speedPwr1]

      Wenn du mir jetzt noch sagen würdest wie, dann wäre ich dabei. Das sind alles spanische Dörfer für mich die verursachen bei mir Knoten im Kopf... 😉

      T Offline
      T Offline
      TT-Tom
      wrote on last edited by
      #7287

      @teletapi

      Gib mir die Datenpunkte welche die Farben ändern sollen oder Grenzwerte, die die Farben ändern.

      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

      teletapiT 1 Reply Last reply
      0
      • arteckA arteck

        @armilar sagte in SONOFF NSPanel mit Lovelace UI:

        @arteck

        nein, an der Stelle nicht... Nur den Wert selbst

        Andere Möglichkeiten?
        Zeilenumbruch vielleicht?

        ArmilarA Offline
        ArmilarA Offline
        Armilar
        Most Active Forum Testing
        wrote on last edited by
        #7288

        @arteck

        Text abkürzen würde mir aktuell nur einfallen...

        Kurzer Blick auf das Layout der cardGrid2:

        60a654f8-7f30-4bc2-b4da-0aee5d7f77f1-image.png

        8 Entitäten, wobei bereits der Bezeichner in der kleinsten Schriftgröße ( Fontsize 0 ) ist. Jetzt könnte man denken, da wäre noch Platz - aber mit dem Zeilenumbruch landest du mit dem Text im nächsten Icon...

        Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
        https://github.com/joBr99/nspanel-lovelace-ui/wiki

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        arteckA 1 Reply Last reply
        0
        • T TT-Tom

          @teletapi

          Gib mir die Datenpunkte welche die Farben ändern sollen oder Grenzwerte, die die Farben ändern.

          teletapiT Online
          teletapiT Online
          teletapi
          wrote on last edited by teletapi
          #7289

          @tt-tom Danke dir, ich hab als Datenpunkt derzeit: 0_userdata.0.PV.now.Battery_Power als lade/entlade datenpunkt müsste ja auch: modbus.0.holdingRegisters._BatterySOC funktionieren. Als möglichen Alias für Battery_soc hab ich diesen Alias angelegt: alias.0.NSPanel.PV_Anlage.Battery_Soc.SET

          Eigentlich geht es mir nur darum wenn Voll dann grün, beim Laden Rot und wenns möglich wäre fürs entladen gelb.

          Ich habe jetzt auch nochmal ChatGPT gefragt wegen der Variable für das iconColor.
          Da wurde mir das folgende angepasste script erzeugt.

          schedule("* * * * *", function () {
              var powerCardJson = "0_userdata.0.NSPanel.Powercard";
          
              var pwr1Raw = getState("0_userdata.0.PV.now.Battery_Power").val || 0;
              var pwr1 = Math.abs(Math.round(pwr1Raw));  // Betrag für Anzeige
              var pwr2 = Math.round(getState("modbus.0.holdingRegisters._Total_Active_power_(Grid_Meter)").val);
              var pwr3 = "";
              var pwr4 = "";
              var pwr5 = Math.round(getState("sonoff.0.Tasmota Energie LG E320.E320_Power_in").val);
              var pwr6 = 0;
              var pwrHome = Math.round(getState("0_userdata.0.PV.now.Load_Total_Power").val || 0);
          
              var keys = ["id", "value", "unit", "icon", "iconColor", "speed"];
              var helperBase = "0_userdata.0.NSPanel.PowercardHelper";
          
              if (!existsObject(helperBase)) {
                  createState(helperBase, null, { type: "channel", common: { name: "PowercardHelper" }, native: {} });
              }
          
              function createStateIfNotExists(id, initialValue = 0) {
                  if (!existsState(id)) {
                      createState(id, initialValue, {
                          name: "Last Power Wert",
                          role: "value",
                          type: "number",
                          unit: "W",
                          read: true,
                          write: false
                      });
                  }
              }
          
              createStateIfNotExists(helperBase + ".PWR1_Last");
              createStateIfNotExists(helperBase + ".PWR2_Last");
              createStateIfNotExists(helperBase + ".PWR5_Last");
          
              function getLastValue(id) {
                  var s = getState(id);
                  return s ? s.val : 0;
              }
          
              function setLastValue(id, val) {
                  setState(id, val, true);
              }
          
              function calcSpeed(current, last) {
                  if (current > last) return 2;
                  else if (current < last) return -2;
                  else return 0;
              }
          
              var pwr1Last = getLastValue(helperBase + ".PWR1_Last");
              var pwr2Last = getLastValue(helperBase + ".PWR2_Last");
              var pwr5Last = getLastValue(helperBase + ".PWR5_Last");
          
              var speedPwr1 = calcSpeed(pwr1Raw, pwr1Last);  // Richtung basiert auf Originalwert
              var speedPwr2 = calcSpeed(pwr2, pwr2Last);
              var speedPwr5 = calcSpeed(pwr5, pwr5Last);
          
              setLastValue(helperBase + ".PWR1_Last", pwr1Raw);
              setLastValue(helperBase + ".PWR2_Last", pwr2);
              setLastValue(helperBase + ".PWR5_Last", pwr5);
          
              // Dynamische iconColor für Batterie
              var iconColorBatt;
              if (pwr1Raw > 50) {
                  iconColorBatt = 3;  // rot → Laden
              } else if (pwr1Raw < -50) {
                  iconColorBatt = 4;  // gelb → Entladen
              } else if (Math.abs(pwr1Raw) <= 50) {
                  iconColorBatt = 7;  // grün → Voll
              } else {
                  iconColorBatt = 1;  // grau → fallback
              }
          
              var home = [0, pwrHome, "W", "home-lightning-bolt-outline", 0, 0];
          
              // Batterie → ID 1
              var item1 = [1, pwr1, "W", "battery-high", iconColorBatt, speedPwr1];
          
              var item2 = [2, pwr2, "W", "solar-power-variant-outline", 3, speedPwr2];
              var item3 = [3, pwr3, "", "", 0, 0];
              var item4 = [4, pwr4, "", "", 0, 0];
              var item5 = [5, pwr5, "W", "transmission-tower", 10, speedPwr5];
              var item6 = [6, pwr6, "kW", "", 0, 0];
          
              function func(tags, values) {
                  return tags.reduce((acc, tag, index) => {
                      acc[tag] = values[index];
                      return acc;
                  }, {});
              }
          
              setState(
                  powerCardJson,
                  JSON.stringify([
                      func(keys, home),
                      func(keys, item1),
                      func(keys, item2),
                      func(keys, item3),
                      func(keys, item4),
                      func(keys, item5),
                      func(keys, item6),
                  ])
              );
          });
          
          
          T 1 Reply Last reply
          0
          • teletapiT teletapi

            @tt-tom Danke dir, ich hab als Datenpunkt derzeit: 0_userdata.0.PV.now.Battery_Power als lade/entlade datenpunkt müsste ja auch: modbus.0.holdingRegisters._BatterySOC funktionieren. Als möglichen Alias für Battery_soc hab ich diesen Alias angelegt: alias.0.NSPanel.PV_Anlage.Battery_Soc.SET

            Eigentlich geht es mir nur darum wenn Voll dann grün, beim Laden Rot und wenns möglich wäre fürs entladen gelb.

            Ich habe jetzt auch nochmal ChatGPT gefragt wegen der Variable für das iconColor.
            Da wurde mir das folgende angepasste script erzeugt.

            schedule("* * * * *", function () {
                var powerCardJson = "0_userdata.0.NSPanel.Powercard";
            
                var pwr1Raw = getState("0_userdata.0.PV.now.Battery_Power").val || 0;
                var pwr1 = Math.abs(Math.round(pwr1Raw));  // Betrag für Anzeige
                var pwr2 = Math.round(getState("modbus.0.holdingRegisters._Total_Active_power_(Grid_Meter)").val);
                var pwr3 = "";
                var pwr4 = "";
                var pwr5 = Math.round(getState("sonoff.0.Tasmota Energie LG E320.E320_Power_in").val);
                var pwr6 = 0;
                var pwrHome = Math.round(getState("0_userdata.0.PV.now.Load_Total_Power").val || 0);
            
                var keys = ["id", "value", "unit", "icon", "iconColor", "speed"];
                var helperBase = "0_userdata.0.NSPanel.PowercardHelper";
            
                if (!existsObject(helperBase)) {
                    createState(helperBase, null, { type: "channel", common: { name: "PowercardHelper" }, native: {} });
                }
            
                function createStateIfNotExists(id, initialValue = 0) {
                    if (!existsState(id)) {
                        createState(id, initialValue, {
                            name: "Last Power Wert",
                            role: "value",
                            type: "number",
                            unit: "W",
                            read: true,
                            write: false
                        });
                    }
                }
            
                createStateIfNotExists(helperBase + ".PWR1_Last");
                createStateIfNotExists(helperBase + ".PWR2_Last");
                createStateIfNotExists(helperBase + ".PWR5_Last");
            
                function getLastValue(id) {
                    var s = getState(id);
                    return s ? s.val : 0;
                }
            
                function setLastValue(id, val) {
                    setState(id, val, true);
                }
            
                function calcSpeed(current, last) {
                    if (current > last) return 2;
                    else if (current < last) return -2;
                    else return 0;
                }
            
                var pwr1Last = getLastValue(helperBase + ".PWR1_Last");
                var pwr2Last = getLastValue(helperBase + ".PWR2_Last");
                var pwr5Last = getLastValue(helperBase + ".PWR5_Last");
            
                var speedPwr1 = calcSpeed(pwr1Raw, pwr1Last);  // Richtung basiert auf Originalwert
                var speedPwr2 = calcSpeed(pwr2, pwr2Last);
                var speedPwr5 = calcSpeed(pwr5, pwr5Last);
            
                setLastValue(helperBase + ".PWR1_Last", pwr1Raw);
                setLastValue(helperBase + ".PWR2_Last", pwr2);
                setLastValue(helperBase + ".PWR5_Last", pwr5);
            
                // Dynamische iconColor für Batterie
                var iconColorBatt;
                if (pwr1Raw > 50) {
                    iconColorBatt = 3;  // rot → Laden
                } else if (pwr1Raw < -50) {
                    iconColorBatt = 4;  // gelb → Entladen
                } else if (Math.abs(pwr1Raw) <= 50) {
                    iconColorBatt = 7;  // grün → Voll
                } else {
                    iconColorBatt = 1;  // grau → fallback
                }
            
                var home = [0, pwrHome, "W", "home-lightning-bolt-outline", 0, 0];
            
                // Batterie → ID 1
                var item1 = [1, pwr1, "W", "battery-high", iconColorBatt, speedPwr1];
            
                var item2 = [2, pwr2, "W", "solar-power-variant-outline", 3, speedPwr2];
                var item3 = [3, pwr3, "", "", 0, 0];
                var item4 = [4, pwr4, "", "", 0, 0];
                var item5 = [5, pwr5, "W", "transmission-tower", 10, speedPwr5];
                var item6 = [6, pwr6, "kW", "", 0, 0];
            
                function func(tags, values) {
                    return tags.reduce((acc, tag, index) => {
                        acc[tag] = values[index];
                        return acc;
                    }, {});
                }
            
                setState(
                    powerCardJson,
                    JSON.stringify([
                        func(keys, home),
                        func(keys, item1),
                        func(keys, item2),
                        func(keys, item3),
                        func(keys, item4),
                        func(keys, item5),
                        func(keys, item6),
                    ])
                );
            });
            
            
            T Offline
            T Offline
            TT-Tom
            wrote on last edited by
            #7290

            @teletapi
            Ja sieht gut aus, so ähnlich hätte ich es auch gemacht.

            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

            teletapiT 1 Reply Last reply
            0
            • T TT-Tom

              @teletapi
              Ja sieht gut aus, so ähnlich hätte ich es auch gemacht.

              teletapiT Online
              teletapiT Online
              teletapi
              wrote on last edited by
              #7291

              @tt-tom Danke dir dann werde ich das mal so testen

              1 Reply Last reply
              0
              • ArmilarA Armilar

                @arteck

                Text abkürzen würde mir aktuell nur einfallen...

                Kurzer Blick auf das Layout der cardGrid2:

                60a654f8-7f30-4bc2-b4da-0aee5d7f77f1-image.png

                8 Entitäten, wobei bereits der Bezeichner in der kleinsten Schriftgröße ( Fontsize 0 ) ist. Jetzt könnte man denken, da wäre noch Platz - aber mit dem Zeilenumbruch landest du mit dem Text im nächsten Icon...

                arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                wrote on last edited by
                #7292

                @armilar sagte in SONOFF NSPanel mit Lovelace UI:

                Text abkürzen würde mir aktuell nur einfallen...

                das hab ich schon ... sieht nur bähh aus

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                1 Reply Last reply
                0
                • MichaelFM MichaelF

                  @armilar Danke, das war es.

                  Grüße

                  MichaelFM Offline
                  MichaelFM Offline
                  MichaelF
                  wrote on last edited by MichaelF
                  #7293

                  @michaelf sagte in SONOFF NSPanel mit Lovelace UI:

                  @armilar Danke, das war es.

                  Grüße

                  Hi, ein kleines Problem gibt es leider noch das Display schaltet sich nicht mehr nach der eingestellten Nachtzeit ab.

                  Dimmer Nacht steht auf 0

                  Gibt es vielleicht ein Tipp wo ich schauen muss ?

                  Grade noch entdeckt:

                  web.0
                  2025-06-26 15:03:44.677	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                  
                  web.0
                  2025-06-26 15:03:44.676	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                  
                  web.0
                  2025-06-26 15:03:44.676	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                  
                  web.0
                  2025-06-26 15:03:44.675	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                  
                  web.0
                  2025-06-26 15:03:42.347	info	==> Connected system.user.admin from ::ffff:192.168.178.252
                  
                  web.0
                  2025-06-26 15:03:39.697	info	<== Disconnect system.user.admin from ::ffff:192.168.178.252 vis.0
                  
                  web.0
                  2025-06-26 15:02:52.997	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                  
                  web.0
                  2025-06-26 15:02:52.996	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                  
                  web.0
                  2025-06-26 15:02:52.996	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                  
                  web.0
                  2025-06-26 15:02:52.995	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                  

                  Allerdings Funktioniert das Dimmen am Tag, meine ich zumindest.

                  Grüße

                  arteckA ArmilarA 2 Replies Last reply
                  0
                  • MichaelFM MichaelF

                    @michaelf sagte in SONOFF NSPanel mit Lovelace UI:

                    @armilar Danke, das war es.

                    Grüße

                    Hi, ein kleines Problem gibt es leider noch das Display schaltet sich nicht mehr nach der eingestellten Nachtzeit ab.

                    Dimmer Nacht steht auf 0

                    Gibt es vielleicht ein Tipp wo ich schauen muss ?

                    Grade noch entdeckt:

                    web.0
                    2025-06-26 15:03:44.677	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                    
                    web.0
                    2025-06-26 15:03:44.676	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                    
                    web.0
                    2025-06-26 15:03:44.676	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                    
                    web.0
                    2025-06-26 15:03:44.675	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                    
                    web.0
                    2025-06-26 15:03:42.347	info	==> Connected system.user.admin from ::ffff:192.168.178.252
                    
                    web.0
                    2025-06-26 15:03:39.697	info	<== Disconnect system.user.admin from ::ffff:192.168.178.252 vis.0
                    
                    web.0
                    2025-06-26 15:02:52.997	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                    
                    web.0
                    2025-06-26 15:02:52.996	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                    
                    web.0
                    2025-06-26 15:02:52.996	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                    
                    web.0
                    2025-06-26 15:02:52.995	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                    

                    Allerdings Funktioniert das Dimmen am Tag, meine ich zumindest.

                    Grüße

                    arteckA Offline
                    arteckA Offline
                    arteck
                    Developer Most Active
                    wrote on last edited by
                    #7294

                    @michaelf sagte in SONOFF NSPanel mit Lovelace UI:

                    alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL

                    da ist das problem

                    alias.0.alias.0.
                    

                    ist falsch

                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                    MichaelFM 1 Reply Last reply
                    0
                    • arteckA arteck

                      @michaelf sagte in SONOFF NSPanel mit Lovelace UI:

                      alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL

                      da ist das problem

                      alias.0.alias.0.
                      

                      ist falsch

                      MichaelFM Offline
                      MichaelFM Offline
                      MichaelF
                      wrote on last edited by MichaelF
                      #7295

                      @arteck Ist das Falsch im Skript oder im Objekt ?

                      Update, habe es im Objektbaum gefunden und gelöscht. Aber für das nicht abschalten war das nicht verantwortlich, oder ?

                      Grüße und Danke

                      arteckA 1 Reply Last reply
                      0
                      • MichaelFM MichaelF

                        @arteck Ist das Falsch im Skript oder im Objekt ?

                        Update, habe es im Objektbaum gefunden und gelöscht. Aber für das nicht abschalten war das nicht verantwortlich, oder ?

                        Grüße und Danke

                        arteckA Offline
                        arteckA Offline
                        arteck
                        Developer Most Active
                        wrote on last edited by
                        #7296

                        @michaelf da ist noch ein fehler

                        NSPanel..Dimmode
                        

                        da ist ein punkt zu viel

                        zigbee hab ich, zwave auch, nuc's genauso und HA auch

                        MichaelFM 1 Reply Last reply
                        0
                        • arteckA arteck

                          @michaelf da ist noch ein fehler

                          NSPanel..Dimmode
                          

                          da ist ein punkt zu viel

                          MichaelFM Offline
                          MichaelFM Offline
                          MichaelF
                          wrote on last edited by
                          #7297

                          @arteck In den Objekten nicht zu finden?

                          1 Reply Last reply
                          0
                          • MichaelFM MichaelF

                            @michaelf sagte in SONOFF NSPanel mit Lovelace UI:

                            @armilar Danke, das war es.

                            Grüße

                            Hi, ein kleines Problem gibt es leider noch das Display schaltet sich nicht mehr nach der eingestellten Nachtzeit ab.

                            Dimmer Nacht steht auf 0

                            Gibt es vielleicht ein Tipp wo ich schauen muss ?

                            Grade noch entdeckt:

                            web.0
                            2025-06-26 15:03:44.677	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                            
                            web.0
                            2025-06-26 15:03:44.676	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                            
                            web.0
                            2025-06-26 15:03:44.676	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                            
                            web.0
                            2025-06-26 15:03:44.675	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                            
                            web.0
                            2025-06-26 15:03:42.347	info	==> Connected system.user.admin from ::ffff:192.168.178.252
                            
                            web.0
                            2025-06-26 15:03:39.697	info	<== Disconnect system.user.admin from ::ffff:192.168.178.252 vis.0
                            
                            web.0
                            2025-06-26 15:02:52.997	error	Error on "subscribeForeignStates": Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target
                            
                            web.0
                            2025-06-26 15:02:52.996	warn	Alias alias.0.NSPanel.1.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                            
                            web.0
                            2025-06-26 15:02:52.996	warn	Alias alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL has no target 5
                            
                            web.0
                            2025-06-26 15:02:52.995	warn	Alias alias.0.alias.0.NSPanel..Dimmode.brightnessDay.ACTUAL has no target 5
                            

                            Allerdings Funktioniert das Dimmen am Tag, meine ich zumindest.

                            Grüße

                            ArmilarA Offline
                            ArmilarA Offline
                            Armilar
                            Most Active Forum Testing
                            wrote on last edited by Armilar
                            #7298

                            @michaelf

                            wieso "web.0" ???

                            javascript.0 würde ich im Zusammenhang mit dem Script ja noch verstehen... Ich denke da musst du an einer völlig anderen Stelle suchen...

                            Der zu visualisierende Alias wäre dann sicherlich

                            alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL
                            

                            Sieht für mich aus, als wäre in vis.0 ein Fehler der diese Meldung wirft

                            Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                            https://github.com/joBr99/nspanel-lovelace-ui/wiki

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            MichaelFM 1 Reply Last reply
                            0
                            • ArmilarA Armilar

                              @michaelf

                              wieso "web.0" ???

                              javascript.0 würde ich im Zusammenhang mit dem Script ja noch verstehen... Ich denke da musst du an einer völlig anderen Stelle suchen...

                              Der zu visualisierende Alias wäre dann sicherlich

                              alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL
                              

                              Sieht für mich aus, als wäre in vis.0 ein Fehler der diese Meldung wirft

                              MichaelFM Offline
                              MichaelFM Offline
                              MichaelF
                              wrote on last edited by MichaelF
                              #7299

                              @armilar
                              was ich grade gefunden habe:

                              {
                                "common": {
                                  "name": "alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL",
                                  "desc": "Manuell erzeugt",
                                  "role": "state",
                                  "type": "number",
                                  "read": true,
                                  "write": true,
                                  "def": 0
                                },
                                "type": "state",
                                "native": {},
                                "from": "system.adapter.admin.0",
                                "user": "system.user.admin",
                                "ts": 1750409085470,
                                "_id": "alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL",
                                "acl": {
                                  "object": 1636,
                                  "state": 1636,
                                  "owner": "system.user.admin",
                                  "ownerGroup": "system.group.administrator"
                                }
                              }
                              

                              Wie passiert das denn ?

                              Kann ich das einfach löschen ?

                              ArmilarA 1 Reply Last reply
                              0
                              • MichaelFM MichaelF

                                @armilar
                                was ich grade gefunden habe:

                                {
                                  "common": {
                                    "name": "alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL",
                                    "desc": "Manuell erzeugt",
                                    "role": "state",
                                    "type": "number",
                                    "read": true,
                                    "write": true,
                                    "def": 0
                                  },
                                  "type": "state",
                                  "native": {},
                                  "from": "system.adapter.admin.0",
                                  "user": "system.user.admin",
                                  "ts": 1750409085470,
                                  "_id": "alias.0.alias.0.NSPanel.1.Dimmode.brightnessDay.ACTUAL",
                                  "acl": {
                                    "object": 1636,
                                    "state": 1636,
                                    "owner": "system.user.admin",
                                    "ownerGroup": "system.group.administrator"
                                  }
                                }
                                

                                Wie passiert das denn ?

                                Kann ich das einfach löschen ?

                                ArmilarA Offline
                                ArmilarA Offline
                                Armilar
                                Most Active Forum Testing
                                wrote on last edited by
                                #7300

                                @michaelf

                                So eine doppelte alias.0 - Verkettung habe ich auch noch nie gesehen?

                                Irgendwann mal den Alias-Path im Script geändert?

                                Du kannst jederzeit die erstellten Verzeichnisse eines NSPanel unter 0_userdata.NSPanel.X und alias.0.NSPanel.X löschen.

                                Mit Scriptstart werden die wieder sauber erzeugt... Bis auf die paar individuellen Anpassungen...

                                Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                MichaelFM 2 Replies Last reply
                                0
                                • ArmilarA Armilar

                                  @michaelf

                                  So eine doppelte alias.0 - Verkettung habe ich auch noch nie gesehen?

                                  Irgendwann mal den Alias-Path im Script geändert?

                                  Du kannst jederzeit die erstellten Verzeichnisse eines NSPanel unter 0_userdata.NSPanel.X und alias.0.NSPanel.X löschen.

                                  Mit Scriptstart werden die wieder sauber erzeugt... Bis auf die paar individuellen Anpassungen...

                                  MichaelFM Offline
                                  MichaelFM Offline
                                  MichaelF
                                  wrote on last edited by MichaelF
                                  #7301

                                  @armilar Habe ich grade gemacht Danke!

                                  Alias-Path habe ich so wissentlich nicht geändert

                                  Aber mit dem abschalten(Display) bei Nacht hat dies doch eigentlich auch nichts zu tun, oder ?

                                  ArmilarA 1 Reply Last reply
                                  0
                                  • MichaelFM MichaelF

                                    @armilar Habe ich grade gemacht Danke!

                                    Alias-Path habe ich so wissentlich nicht geändert

                                    Aber mit dem abschalten(Display) bei Nacht hat dies doch eigentlich auch nichts zu tun, oder ?

                                    ArmilarA Offline
                                    ArmilarA Offline
                                    Armilar
                                    Most Active Forum Testing
                                    wrote on last edited by
                                    #7302

                                    @michaelf

                                    Aber mit dem abschalten(Display) bei Nacht hat dies doch eigentlich auch nichts zu tun, oder ?

                                    Nein, da bedient sich das Script seiner eigenen Datenpunkte unter 0_userdata

                                    Installationsanleitung, Tipps, Alias-Definitionen, FAQ für das Sonoff NSPanel mit lovelace UI unter ioBroker
                                    https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    ArmilarA 1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      timbo
                                      wrote on last edited by
                                      #7303

                                      Moin,

                                      ich habe letztens den JavaScript Adapter auf die 9.0.6 geupdated und nun wollen meine beiden Panels nicht mehr. Im Log steht folgendes:

                                      script.js.common.NSPanel_Windfang: TypeScript compilation failed: await setStateAsync(NSPanel_Path + 'PageNavi', <iobJS.State>{ val: "{ pagetype: 'page', pageId: 0 }", ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_brightnessDay', <iobJS.State>{ val: 8, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_hourDay', <iobJS.State>{ val: 7, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_brightnessNight', <iobJS.State>{ val: 1, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_hourNight', <iobJS.State>{ val: 22, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(meanPower, <iobJS.State>{ val: meanConsumption, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(screensaverNotifyHeading, <iobJS.State>{ val: '', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(screensaverNotifyText, <iobJS.State>{ val: '', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(obj.id, <iobJS.State>{ val: obj.state.val, ack: true }); // ack new value ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_locales_json', <iobJS.State>{ val: JSON.stringify(response.data), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_locales_service_json', <iobJS.State>{ val: JSON.stringify(response.data), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Tasmota_Firmware.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Berry_Driver.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Display_Firmware.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyHeading, <iobJS.State>{ val: Headline, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyHeadingColor, <iobJS.State>{ val: HeadlineColor, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton1Text, <iobJS.State>{ val: Button1, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton1TextColor, <iobJS.State>{ val: Button1Color, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton2Text, <iobJS.State>{ val: Button2, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton2TextColor, <iobJS.State>{ val: Button2Color, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifySleepTimeout, <iobJS.State>{ val: Timeout, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyInternalName, <iobJS.State>{ val: InternalName, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyLayout, <iobJS.State>{ val: Layout, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyText, <iobJS.State>{ val: [formatDate(getDateObject(new Date().getTime()), 'TT.MM.JJJJ SS:mm:ss'), '\r\n', '\r\n', Text].join(''), ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_ipAddress', <iobJS.State>{ val: get_current_tasmota_ip_address(), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.onlineVersion', <iobJS.State>{ val: TasmotaVersionOnline, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.currentVersion', <iobJS.State>{ val: JSON.parse(JSON.stringify(response.data)).nlui_driver_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.currentVersion', <iobJS.State>{ val: tasmoVersion, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Uptime', <iobJS.State>{ val: Tasmota_JSON.StatusPRM.Uptime, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Version', <iobJS.State>{ val: Tasmota_JSON.StatusFWR.Version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Hardware', <iobJS.State>{ val: TasmotaHardware[0] + '\r\n' + TasmotaHardware[1], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.AP', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.AP, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.SSId', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.SSId, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.BSSId', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.BSSId, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Channel', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Channel, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Mode', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Mode, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.RSSI', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.RSSI, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Signal', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Signal, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Product', <iobJS.State>{ val: 'SONOFF NSPanel', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.onlineVersion', <iobJS.State>{ val: BerryDriverVersionOnline, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'TFT_Firmware.onlineVersion', <iobJS.State>{ val: NSPanelVersion, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.onlineVersion', <iobJS.State>{ val: desired_display_firmware_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.currentVersion', <iobJS.State>{ val: split[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Version', <iobJS.State>{ val: split[3], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'TFT_Firmware.onlineVersion', <iobJS.State>{ val: tft_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyInternalName, <iobJS.State>{ val: words[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyAction, <iobJS.State>{ val: true, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyInternalName, <iobJS.State>{ val: words[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyAction, <iobJS.State>{ val: false, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. unsubscribe(value); ^ERROR: Argument of type 'unknown' is not assignable to parameter of type 'string | RegExp | string[]'. await setStateAsync(NSPanel_Path + 'Sensor.Time', <iobJS.State>{ val: dateTime[0] + '\r\n' + dateTime[1], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.TempUnit', <iobJS.State>{ val: '°' + Tasmota_Sensor.TempUnit, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.ANALOG.Temperature', <iobJS.State>{ val: parseFloat(Tasmota_Sensor.ANALOG.Temperature1), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.ESP32.Temperature', <iobJS.State>{ val: parseFloat(Tasmota_Sensor.ESP32.Temperature), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. val: iobJS.StateValue; ^ERROR: 'global.iobJS' has no exported member named 'StateValue'. Did you mean 'StateACL'? val: iobJS.StateValue; ^ERROR: 'global.iobJS' has no exported member named 'StateValue'. Did you mean 'StateACL'?

                                      Kennt das jemand?

                                      Gruß Timo

                                      ? 1 Reply Last reply
                                      0
                                      • T timbo

                                        Moin,

                                        ich habe letztens den JavaScript Adapter auf die 9.0.6 geupdated und nun wollen meine beiden Panels nicht mehr. Im Log steht folgendes:

                                        script.js.common.NSPanel_Windfang: TypeScript compilation failed: await setStateAsync(NSPanel_Path + 'PageNavi', <iobJS.State>{ val: "{ pagetype: 'page', pageId: 0 }", ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_brightnessDay', <iobJS.State>{ val: 8, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_hourDay', <iobJS.State>{ val: 7, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_brightnessNight', <iobJS.State>{ val: 1, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Dimmode_hourNight', <iobJS.State>{ val: 22, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(meanPower, <iobJS.State>{ val: meanConsumption, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(screensaverNotifyHeading, <iobJS.State>{ val: '', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(screensaverNotifyText, <iobJS.State>{ val: '', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(obj.id, <iobJS.State>{ val: obj.state.val, ack: true }); // ack new value ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_locales_json', <iobJS.State>{ val: JSON.stringify(response.data), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_locales_service_json', <iobJS.State>{ val: JSON.stringify(response.data), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Tasmota_Firmware.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Berry_Driver.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.currentVersion', <iobJS.State>{ val: getState(NSPanel_Path + 'Display_Firmware.onlineVersion').val, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyHeading, <iobJS.State>{ val: Headline, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyHeadingColor, <iobJS.State>{ val: HeadlineColor, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton1Text, <iobJS.State>{ val: Button1, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton1TextColor, <iobJS.State>{ val: Button1Color, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton2Text, <iobJS.State>{ val: Button2, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyButton2TextColor, <iobJS.State>{ val: Button2Color, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifySleepTimeout, <iobJS.State>{ val: Timeout, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyInternalName, <iobJS.State>{ val: InternalName, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyLayout, <iobJS.State>{ val: Layout, ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(popupNotifyText, <iobJS.State>{ val: [formatDate(getDateObject(new Date().getTime()), 'TT.MM.JJJJ SS:mm:ss'), '\r\n', '\r\n', Text].join(''), ack: false }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_ipAddress', <iobJS.State>{ val: get_current_tasmota_ip_address(), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.onlineVersion', <iobJS.State>{ val: TasmotaVersionOnline, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.currentVersion', <iobJS.State>{ val: JSON.parse(JSON.stringify(response.data)).nlui_driver_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota_Firmware.currentVersion', <iobJS.State>{ val: tasmoVersion, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Uptime', <iobJS.State>{ val: Tasmota_JSON.StatusPRM.Uptime, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Version', <iobJS.State>{ val: Tasmota_JSON.StatusFWR.Version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Hardware', <iobJS.State>{ val: TasmotaHardware[0] + '\r\n' + TasmotaHardware[1], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.AP', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.AP, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.SSId', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.SSId, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.BSSId', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.BSSId, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Channel', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Channel, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Mode', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Mode, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.RSSI', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.RSSI, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Wifi.Signal', <iobJS.State>{ val: Tasmota_JSON.StatusSTS.Wifi.Signal, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Tasmota.Product', <iobJS.State>{ val: 'SONOFF NSPanel', ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Berry_Driver.onlineVersion', <iobJS.State>{ val: BerryDriverVersionOnline, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'TFT_Firmware.onlineVersion', <iobJS.State>{ val: NSPanelVersion, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.onlineVersion', <iobJS.State>{ val: desired_display_firmware_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Display_Firmware.currentVersion', <iobJS.State>{ val: split[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'NSPanel_Version', <iobJS.State>{ val: split[3], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'TFT_Firmware.onlineVersion', <iobJS.State>{ val: tft_version, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyInternalName, <iobJS.State>{ val: words[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyAction, <iobJS.State>{ val: true, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyInternalName, <iobJS.State>{ val: words[2], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. setState(popupNotifyAction, <iobJS.State>{ val: false, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. unsubscribe(value); ^ERROR: Argument of type 'unknown' is not assignable to parameter of type 'string | RegExp | string[]'. await setStateAsync(NSPanel_Path + 'Sensor.Time', <iobJS.State>{ val: dateTime[0] + '\r\n' + dateTime[1], ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.TempUnit', <iobJS.State>{ val: '°' + Tasmota_Sensor.TempUnit, ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.ANALOG.Temperature', <iobJS.State>{ val: parseFloat(Tasmota_Sensor.ANALOG.Temperature1), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. await setStateAsync(NSPanel_Path + 'Sensor.ESP32.Temperature', <iobJS.State>{ val: parseFloat(Tasmota_Sensor.ESP32.Temperature), ack: true }); ^ERROR: Namespace 'global.iobJS' has no exported member 'State'. val: iobJS.StateValue; ^ERROR: 'global.iobJS' has no exported member named 'StateValue'. Did you mean 'StateACL'? val: iobJS.StateValue; ^ERROR: 'global.iobJS' has no exported member named 'StateValue'. Did you mean 'StateACL'?

                                        Kennt das jemand?

                                        Gruß Timo

                                        ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #7304

                                        @timbo

                                        Der Fehler ist im Beta-Thread vom Javascript 9.0.x beschrieben und benannt worden.

                                        Also einfach wieder auf die 8.9.2 downgraden, dann laeuft das wieder.

                                        T 1 Reply Last reply
                                        0
                                        • ? A Former User

                                          @timbo

                                          Der Fehler ist im Beta-Thread vom Javascript 9.0.x beschrieben und benannt worden.

                                          Also einfach wieder auf die 8.9.2 downgraden, dann laeuft das wieder.

                                          T Offline
                                          T Offline
                                          timbo
                                          wrote on last edited by
                                          #7305

                                          @neuschwansteini Danke, funktioniert wieder

                                          T 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          644

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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