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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Hardware
  4. SONOFF NSPanel mit Lovelace UI (TypeScript Version)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    13
    1
    142

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

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

SONOFF NSPanel mit Lovelace UI (TypeScript Version)

Scheduled Pinned Locked Moved Hardware
lovelace uinspanelsonoff
8.0k Posts 277 Posters 7.2m Views 262 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.
  • A AlfredTetzlaff

    @alfredtetzlaff
    Bin erstmal afk....Morgen gehts weiter mit Probieren....

    Danke an alle.......Einen schönen feierabend

    A Offline
    A Offline
    AlfredTetzlaff
    wrote on last edited by
    #2485

    @alfredtetzlaff
    und auf angelsäxisch umgestellt...

    Glück Auf....

    1 Reply Last reply
    1
    • T tklein

      @tt-tom habe geupdated und die entsprechenden objekte gelöscht. wurde auch wieder neu angelegt :-)

      3ee05e80-efc5-4ae0-acdd-7a997173ae88-grafik.png

      Aber irgendie scheinen noch alte Daten im Display angezeigt zu werden. Auch nach dem Neustart. Sprich Räume/Views von der alten Version, die ich deaktivert habe

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

      @tklein Welche Script Version hast du geladen? die neuste von GitHub?

      Zeige bitte mal den diesen Abschnitt von deinem Script.

      // _________________________________ Ab hier keine Konfiguration mehr _____________________________________
      
      const request = require('request');
      
      //Desired Firmware
      const tft_version: string = 'v4.0.4';
      const desired_display_firmware_version = 50;
      const berry_driver_version = 8;
      const tasmotaOtaUrl: string = 'http://ota.tasmota.com/tasmota32/release/';
      
      let useMediaEvents: boolean = false;
      let timeoutMedia: any;
      let timeoutPower: any;
      let bgColorScrSaver: number = 0;
      let globalTracklist: any;
      
      async function Init_Release() {
          const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52]
          const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.4','4.1.0','4.2.0']
          try {
      

      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

      T 1 Reply Last reply
      0
      • T TT-Tom

        @tklein Welche Script Version hast du geladen? die neuste von GitHub?

        Zeige bitte mal den diesen Abschnitt von deinem Script.

        // _________________________________ Ab hier keine Konfiguration mehr _____________________________________
        
        const request = require('request');
        
        //Desired Firmware
        const tft_version: string = 'v4.0.4';
        const desired_display_firmware_version = 50;
        const berry_driver_version = 8;
        const tasmotaOtaUrl: string = 'http://ota.tasmota.com/tasmota32/release/';
        
        let useMediaEvents: boolean = false;
        let timeoutMedia: any;
        let timeoutPower: any;
        let bgColorScrSaver: number = 0;
        let globalTracklist: any;
        
        async function Init_Release() {
            const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52]
            const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.4','4.1.0','4.2.0']
            try {
        
        T Offline
        T Offline
        tklein
        wrote on last edited by
        #2487

        @tt-tom habe javascript/device etc neu gesrtet. jetzt werden nur noch die demoseiten angezeigt

        969eaa56-91a8-46e6-9a24-ecf652657a83-grafik.png

        Jetzt geht es wieder ans Basteln der Views. Mal sehen, was ich vom alten Stand noch nutzen kann.
        Muss mal sehen, ob/wie ich im Homescreen oben link den Status des Relais anzeigen lassen kann bzw oben recht die Temp von einem Alias Device (Temperatur Wohnzimmer)

        Ich möchte das Dislplay auch zum steuern der Heizung nutzen und mit dem Relais den Stellmotor steuern. Lief bisher über einen Shelly 1

        Grüße und Danke soweit erstmal.

        T 1 Reply Last reply
        0
        • T tklein

          @tt-tom habe javascript/device etc neu gesrtet. jetzt werden nur noch die demoseiten angezeigt

          969eaa56-91a8-46e6-9a24-ecf652657a83-grafik.png

          Jetzt geht es wieder ans Basteln der Views. Mal sehen, was ich vom alten Stand noch nutzen kann.
          Muss mal sehen, ob/wie ich im Homescreen oben link den Status des Relais anzeigen lassen kann bzw oben recht die Temp von einem Alias Device (Temperatur Wohnzimmer)

          Ich möchte das Dislplay auch zum steuern der Heizung nutzen und mit dem Relais den Stellmotor steuern. Lief bisher über einen Shelly 1

          Grüße und Danke soweit erstmal.

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

          @tklein

          Wie gesagt ein paar Sachen in der Schreibweise haben sich geändert.

          page wird jetzt

          let Seitenname  = <PageEntities>
          

          definiert. Die Navigation zwischen den Seiten hat sich auch geändert. Siehe Wiki Navigation

          Die PageItem haben jetzt auch mehr Funktionen bekommen.

          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

          T 1 Reply Last reply
          0
          • T TT-Tom

            @tklein

            Wie gesagt ein paar Sachen in der Schreibweise haben sich geändert.

            page wird jetzt

            let Seitenname  = <PageEntities>
            

            definiert. Die Navigation zwischen den Seiten hat sich auch geändert. Siehe Wiki Navigation

            Die PageItem haben jetzt auch mehr Funktionen bekommen.

            T Offline
            T Offline
            tklein
            wrote on last edited by
            #2489

            @tt-tom klasse, besten Dank,

            Was/wo kann ich bei diesem Fehler machen?

            10:18:00.185	warn	javascript.0 (28654) at HandleScreensaverStatusIcons (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8133:25)
            10:18:00.185	warn	javascript.0 (28654) at HandleScreensaverUpdate (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8044:13)
            10:18:00.186	warn	javascript.0 (28654) at Object.<anonymous> (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:2619:9)
            10:18:00.188	warn	javascript.0 (28654) at HandleScreensaverStatusIcons (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8155:30)
            10:18:00.189	warn	javascript.0 (28654) at HandleScreensaverUpdate (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8044:13)
            10:18:00.189	warn	javascript.0 (28654) at Object.<anonymous> (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:2619:9)
            
            L 1 Reply Last reply
            0
            • T Offline
              T Offline
              tklein
              wrote on last edited by tklein
              #2490

              wo muss ich das einstellen/hinzufügen?

              export const config: Config = {
                  ...
                  mrIcon1ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.stat.tasmota_E7F5D8.POWER1, ScreensaverEntityIcon: 'light-switch', ScreensaverEntityOnColor: On, ScreensaverEntityOffColor: Off  },
                  mrIcon2ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.stat.tasmota_E7F5D8.POWER1', ScreensaverEntityIcon: 'lightbulb', ScreensaverEntityOnColor: On, ScreensaverEntityOffColor: Off  },
              

              Hier reinfügen?

              adecf2ce-1cbf-4f92-8ac7-d29b9ffd1729-grafik.png

              Sorry bin sonst primär nur in Blockly unterwegs. :-)

              T 1 Reply Last reply
              0
              • T tklein

                wo muss ich das einstellen/hinzufügen?

                export const config: Config = {
                    ...
                    mrIcon1ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.stat.tasmota_E7F5D8.POWER1, ScreensaverEntityIcon: 'light-switch', ScreensaverEntityOnColor: On, ScreensaverEntityOffColor: Off  },
                    mrIcon2ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.stat.tasmota_E7F5D8.POWER1', ScreensaverEntityIcon: 'lightbulb', ScreensaverEntityOnColor: On, ScreensaverEntityOffColor: Off  },
                

                Hier reinfügen?

                adecf2ce-1cbf-4f92-8ac7-d29b9ffd1729-grafik.png

                Sorry bin sonst primär nur in Blockly unterwegs. :-)

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

                @tklein Die Icon werden jetzt so konfiguriert.

                    mrIcon1ScreensaverEntity: 
                        { 
                            ScreensaverEntity: NSPanel_Path + 'Relay.1', 
                            ScreensaverEntityIconOn: 'lightbulb',                           //Rename
                            ScreensaverEntityIconOff: null, 
                            ScreensaverEntityValue: null,                                   //New
                            ScreensaverEntityValueDecimalPlace : 0,                         //New
                            ScreensaverEntityValueUnit: null,                               //New
                            ScreensaverEntityOnColor: On, 
                            ScreensaverEntityOffColor: HMIOff 
                        },
                    mrIcon2ScreensaverEntity: 
                        { 
                            ScreensaverEntity: 'deconz.0.Sensors.5.open', 
                            ScreensaverEntityIconOn: 'heat-wave',
                            ScreensaverEntityIconOff: null, 
                            ScreensaverEntityValue: 'deconz.0.Sensors.65.temperature',
                            ScreensaverEntityValueDecimalPlace : 1,
                            ScreensaverEntityValueUnit: '°', 
                            ScreensaverEntityOnColor: MSRed, 
                            ScreensaverEntityOffColor: Yellow 
                        },
                

                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

                1 Reply Last reply
                0
                • T tklein

                  @tt-tom klasse, besten Dank,

                  Was/wo kann ich bei diesem Fehler machen?

                  10:18:00.185	warn	javascript.0 (28654) at HandleScreensaverStatusIcons (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8133:25)
                  10:18:00.185	warn	javascript.0 (28654) at HandleScreensaverUpdate (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8044:13)
                  10:18:00.186	warn	javascript.0 (28654) at Object.<anonymous> (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:2619:9)
                  10:18:00.188	warn	javascript.0 (28654) at HandleScreensaverStatusIcons (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8155:30)
                  10:18:00.189	warn	javascript.0 (28654) at HandleScreensaverUpdate (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:8044:13)
                  10:18:00.189	warn	javascript.0 (28654) at Object.<anonymous> (script.js.common.Sonoff_Panel.Panel_1.Panel_1_2023_03_08:2619:9)
                  
                  L Offline
                  L Offline
                  L4rs
                  wrote on last edited by L4rs
                  #2492

                  Moin @tklein, Schau Dir mal die Stelle zur 'bottomScreensaverEntity 4' NsPanelTs_without_Examples, Zeile 693ff. an:

                              // bottomScreensaverEntity 4
                              {
                                  ScreensaverEntity: '0_userdata.0.wetter.Windrichtung',
                                  ScreensaverEntityFactor: 0,
                                  ScreensaverEntityDecimalPlaces: 0,
                                  ScreensaverEntityIconOn: 'windsock',
                                  ScreensaverEntityIconOff: null,
                                  ScreensaverEntityText: 'Windr.',
                                  ScreensaverEntityUnitText: '°',
                                  ScreensaverEntityIconColor: White
                              },
                  

                  Dort wird auf '0_userdata.0.wetter.Windrichtung' zugegriffen - den DP gab es bei mir aber nicht, weshalb ich hier ähnliche Fehler hatte. Vielleicht liegt es bei Dir auch daran?

                  Gruß, L4rs

                  T 1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sniker
                    wrote on last edited by Sniker
                    #2493

                    Hallo zusammen,

                    kann mir jemand sagen wie ich mein NSpanel aktualisiere. Ich müsst noch einen recht alten stand haben 3.6.0.3. Kann in der Doku nicht wirklich was dazu finden.
                    Muss ich dazu Tasmota aktualisieren, nur das Script oder die autoexec?

                    T 1 Reply Last reply
                    0
                    • S Sniker

                      Hallo zusammen,

                      kann mir jemand sagen wie ich mein NSpanel aktualisiere. Ich müsst noch einen recht alten stand haben 3.6.0.3. Kann in der Doku nicht wirklich was dazu finden.
                      Muss ich dazu Tasmota aktualisieren, nur das Script oder die autoexec?

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

                      @sniker ein paar Seiten zurück war das grade Thema gewesen. @tklein hat/läuft auch grade den Prozess durch. Wenn noch Fragen offen sind hier melden.

                      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

                      S 1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by A Former User
                        #2495

                        Guten Morgen.
                        Ich wollte gerade bei meinem Panel die TFT-Firmware aktualisieren. Aber es kommt folgender Fehler:

                        00:00:52.808 FLH: Something has gone wrong flashing display firmware [bytes('1AFFFFFF1AFFFFFF1AFFFFFF')]
                        00:00:52.955 FLH: Send (High Speed) flash start
                        00:00:53.306 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                        

                        Vorher habe ich

                        Backlog UrlFetch https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1
                        

                        ausgeführt

                        T 1 Reply Last reply
                        0
                        • ? A Former User

                          Guten Morgen.
                          Ich wollte gerade bei meinem Panel die TFT-Firmware aktualisieren. Aber es kommt folgender Fehler:

                          00:00:52.808 FLH: Something has gone wrong flashing display firmware [bytes('1AFFFFFF1AFFFFFF1AFFFFFF')]
                          00:00:52.955 FLH: Send (High Speed) flash start
                          00:00:53.306 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                          

                          Vorher habe ich

                          Backlog UrlFetch https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1
                          

                          ausgeführt

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

                          @darkness_08

                          Welche Version hast du aktuell installiert?
                          Tasmota
                          Berry
                          TFT

                          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

                          ? 1 Reply Last reply
                          0
                          • L L4rs

                            Moin @tklein, Schau Dir mal die Stelle zur 'bottomScreensaverEntity 4' NsPanelTs_without_Examples, Zeile 693ff. an:

                                        // bottomScreensaverEntity 4
                                        {
                                            ScreensaverEntity: '0_userdata.0.wetter.Windrichtung',
                                            ScreensaverEntityFactor: 0,
                                            ScreensaverEntityDecimalPlaces: 0,
                                            ScreensaverEntityIconOn: 'windsock',
                                            ScreensaverEntityIconOff: null,
                                            ScreensaverEntityText: 'Windr.',
                                            ScreensaverEntityUnitText: '°',
                                            ScreensaverEntityIconColor: White
                                        },
                            

                            Dort wird auf '0_userdata.0.wetter.Windrichtung' zugegriffen - den DP gab es bei mir aber nicht, weshalb ich hier ähnliche Fehler hatte. Vielleicht liegt es bei Dir auch daran?

                            Gruß, L4rs

                            T Offline
                            T Offline
                            tklein
                            wrote on last edited by
                            #2497

                            @l4rs said in SONOFF NSPanel mit Lovelace UI:

                            Dort wird auf '0_userdata.0.wetter.Windrichtung' zugegriffen - den DP gab es bei mir aber nicht, weshalb ich hier ähnliche Fehler hatte. Vielleicht liegt es bei Dir auch daran?

                            Gruß, L4rs

                            @l4rs Hi,

                            vielen Dank für den Tip! Es lag daran.

                            Habe jetzt eine DP vom Netamo Crawler Adapter genommen. Der gibt die Himmelsrichtungen und nicht die Gradzahl von der Windrichtung aus.

                            Mal sehen oben ich eine Funktion finde, die aus Gradangaben eine Windrichtung wie N oder SW macht.

                            Grüße
                            Thomas

                            L 1 Reply Last reply
                            1
                            • T TT-Tom

                              @darkness_08

                              Welche Version hast du aktuell installiert?
                              Tasmota
                              Berry
                              TFT

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

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

                              @darkness_08

                              Welche Version hast du aktuell installiert?
                              Tasmota
                              Berry
                              TFT

                              Tasmota:
                              12.4.0(nspanel)

                              Berry:
                              8

                              TFT:
                              50 / v4.0.3

                              Ich hoffe das waren die richtigen Werte die du brauchst. Jeweils die "currentVersion"

                              ArmilarA 1 Reply Last reply
                              0
                              • ? A Former User

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

                                @darkness_08

                                Welche Version hast du aktuell installiert?
                                Tasmota
                                Berry
                                TFT

                                Tasmota:
                                12.4.0(nspanel)

                                Berry:
                                8

                                TFT:
                                50 / v4.0.3

                                Ich hoffe das waren die richtigen Werte die du brauchst. Jeweils die "currentVersion"

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

                                @darkness_08

                                Versuche mal eine von denen:

                                Nextion Upload Proto 1.2 with 921600 Baud (same as FlashNextion):

                                FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.1 with 921600 Baud:

                                FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.2 with 115200 Baud:

                                FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.1 with 115200 Baud:

                                FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.2 with 256000 Baud:

                                FlashNextionAdv4 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.1 with 256000 Baud:

                                FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                

                                Nextion Upload Proto 1.1 with 921600 Baud and communication init on 9600 Baud:

                                FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                

                                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.

                                ? 1 Reply Last reply
                                0
                                • ArmilarA Armilar

                                  @darkness_08

                                  Versuche mal eine von denen:

                                  Nextion Upload Proto 1.2 with 921600 Baud (same as FlashNextion):

                                  FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.1 with 921600 Baud:

                                  FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.2 with 115200 Baud:

                                  FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.1 with 115200 Baud:

                                  FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.2 with 256000 Baud:

                                  FlashNextionAdv4 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.1 with 256000 Baud:

                                  FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                  

                                  Nextion Upload Proto 1.1 with 921600 Baud and communication init on 9600 Baud:

                                  FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                  
                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by A Former User
                                  #2500

                                  @armilar sagte in SONOFF NSPanel mit Lovelace UI:

                                  Leider kein Erfolg.

                                  @darkness_08

                                  Versuche mal eine von denen:

                                  Nextion Upload Proto 1.2 with 921600 Baud (same as FlashNextion):

                                  FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                  
                                  06:10:45.504 CMD: FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                  06:10:45.518 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  06:10:45.559 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  06:10:46.730 FLH: Send (High Speed) flash start
                                  06:10:47.083 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.1 with 921600 Baud:

                                  FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:15.174 CMD: FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                  00:00:15.188 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:15.227 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  00:00:16.397 FLH: Send (High Speed) flash start
                                  00:00:16.749 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.2 with 115200 Baud:

                                  FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:19.023 CMD: FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                  00:00:19.036 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:19.075 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  00:00:20.100 FLH: Something has gone wrong flashing display firmware [bytes('1AFFFFFF1AFFFFFF1AFFFFFF')]
                                  00:00:20.246 FLH: Send (High Speed) flash start
                                  00:00:20.598 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.1 with 115200 Baud:

                                  FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:29.204 CMD: FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                  00:00:29.217 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:29.240 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  00:00:30.415 FLH: Send (High Speed) flash start
                                  00:00:30.862 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.2 with 256000 Baud:

                                  FlashNextionAdv4 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:19.069 CMD: FlashNextionAdv4 http://nspanel.pky.eu/lui.tf
                                  00:00:19.084 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:19.125 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tf
                                  00:00:20.299 FLH: Send (High Speed) flash start
                                  00:00:20.746 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.1 with 256000 Baud:

                                  FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:15.294 CMD: FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                  00:00:15.307 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:15.348 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  00:00:16.519 FLH: Send (High Speed) flash start
                                  00:00:16.870 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                  

                                  Nextion Upload Proto 1.1 with 921600 Baud and communication init on 9600 Baud:

                                  FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                  
                                  00:00:15.539 CMD: FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                  00:00:15.552 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                  00:00:15.603 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                  00:00:16.624 FLH: Something has gone wrong flashing display firmware [bytes('8FDEFB')]
                                  
                                  ArmilarA 1 Reply Last reply
                                  0
                                  • T tklein

                                    @l4rs said in SONOFF NSPanel mit Lovelace UI:

                                    Dort wird auf '0_userdata.0.wetter.Windrichtung' zugegriffen - den DP gab es bei mir aber nicht, weshalb ich hier ähnliche Fehler hatte. Vielleicht liegt es bei Dir auch daran?

                                    Gruß, L4rs

                                    @l4rs Hi,

                                    vielen Dank für den Tip! Es lag daran.

                                    Habe jetzt eine DP vom Netamo Crawler Adapter genommen. Der gibt die Himmelsrichtungen und nicht die Gradzahl von der Windrichtung aus.

                                    Mal sehen oben ich eine Funktion finde, die aus Gradangaben eine Windrichtung wie N oder SW macht.

                                    Grüße
                                    Thomas

                                    L Offline
                                    L Offline
                                    L4rs
                                    wrote on last edited by L4rs
                                    #2501

                                    @tklein said in SONOFF NSPanel mit Lovelace UI:

                                    Mal sehen oben ich eine Funktion finde, die aus Gradangaben eine Windrichtung wie N oder SW macht.

                                    Du könntest z.B. diese nehmen: 😉

                                    function gradeToDirection(grade) {
                                      grade = parseFloat(grade);
                                      if (isNaN(grade) || grade < 0.0 || grade > 360.0) {
                                        return "--";
                                      }
                                    
                                      if (grade < 11.25 || grade >= 348.75) {
                                        return "N";
                                      } else {
                                        const directions = {
                                          NNO:  22.5,      NO:  45.0,      ONO:  67.5,      O:  90.0,
                                          OSO: 112.5,      SO: 135.0,      SSO: 157.5,      S: 180.0,
                                          SSW: 202.5,      SW: 225.0,      WSW: 247.5,      W: 270.0,
                                          WNW: 292.5,      NW: 315.0,      NNW: 337.5,
                                        };
                                    
                                        for (const [key, val] of Object.entries(directions)) {
                                          if (grade >= val - 11.25 && grade < val + 11.25) {
                                            return key;
                                          }
                                        }
                                      }
                                    }
                                    

                                    Gruß, L4rs

                                    1 Reply Last reply
                                    0
                                    • T TT-Tom

                                      @sniker ein paar Seiten zurück war das grade Thema gewesen. @tklein hat/läuft auch grade den Prozess durch. Wenn noch Fragen offen sind hier melden.

                                      S Offline
                                      S Offline
                                      Sniker
                                      wrote on last edited by
                                      #2502

                                      @tt-tom danke dir. Ich habe es irgendwie hin bekommen. Mein Problem ist halt, das wenn ich zu lang nicht am NS Panel was gemacht habe, da wieder rein zu kommen. Aber eine Anleitung wie man richtig vorgeht bei update, fehlt trotzdem irgendwie.

                                      T 1 Reply Last reply
                                      0
                                      • ? A Former User

                                        @armilar sagte in SONOFF NSPanel mit Lovelace UI:

                                        Leider kein Erfolg.

                                        @darkness_08

                                        Versuche mal eine von denen:

                                        Nextion Upload Proto 1.2 with 921600 Baud (same as FlashNextion):

                                        FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                        
                                        06:10:45.504 CMD: FlashNextionAdv0 http://nspanel.pky.eu/lui.tft
                                        06:10:45.518 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        06:10:45.559 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        06:10:46.730 FLH: Send (High Speed) flash start
                                        06:10:47.083 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.1 with 921600 Baud:

                                        FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:15.174 CMD: FlashNextionAdv1 http://nspanel.pky.eu/lui.tft
                                        00:00:15.188 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:15.227 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        00:00:16.397 FLH: Send (High Speed) flash start
                                        00:00:16.749 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.2 with 115200 Baud:

                                        FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:19.023 CMD: FlashNextionAdv2 http://nspanel.pky.eu/lui.tft
                                        00:00:19.036 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:19.075 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        00:00:20.100 FLH: Something has gone wrong flashing display firmware [bytes('1AFFFFFF1AFFFFFF1AFFFFFF')]
                                        00:00:20.246 FLH: Send (High Speed) flash start
                                        00:00:20.598 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.1 with 115200 Baud:

                                        FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:29.204 CMD: FlashNextionAdv3 http://nspanel.pky.eu/lui.tft
                                        00:00:29.217 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:29.240 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        00:00:30.415 FLH: Send (High Speed) flash start
                                        00:00:30.862 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.2 with 256000 Baud:

                                        FlashNextionAdv4 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:19.069 CMD: FlashNextionAdv4 http://nspanel.pky.eu/lui.tf
                                        00:00:19.084 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:19.125 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tf
                                        00:00:20.299 FLH: Send (High Speed) flash start
                                        00:00:20.746 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.1 with 256000 Baud:

                                        FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:15.294 CMD: FlashNextionAdv5 http://nspanel.pky.eu/lui.tft
                                        00:00:15.307 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:15.348 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        00:00:16.519 FLH: Send (High Speed) flash start
                                        00:00:16.870 BRY: Exception> 'type_error' - unsupported operand type(s) for <: 'nil' and 'int'
                                        

                                        Nextion Upload Proto 1.1 with 921600 Baud and communication init on 9600 Baud:

                                        FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                        
                                        00:00:15.539 CMD: FlashNextionAdv6 http://nspanel.pky.eu/lui.tft
                                        00:00:15.552 MQT: SmartHome/02_Kueche/02-nspanel/stat/RESULT = {"FlashNextionAdv":"Done"}
                                        00:00:15.603 FLH: host: nspanel.pky.eu, port: 80, get: /lui.tft
                                        00:00:16.624 FLH: Something has gone wrong flashing display firmware [bytes('8FDEFB')]
                                        
                                        ArmilarA Offline
                                        ArmilarA Offline
                                        Armilar
                                        Most Active Forum Testing
                                        wrote on last edited by
                                        #2503

                                        @darkness_08

                                        Hängt dein NSPanel nicht im Internet? Gastzugang oder irgendetwas anderes? Sieht so aus, als käme es an die URL nicht ran.

                                        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.

                                        ? 2 Replies Last reply
                                        0
                                        • S Sniker

                                          @tt-tom danke dir. Ich habe es irgendwie hin bekommen. Mein Problem ist halt, das wenn ich zu lang nicht am NS Panel was gemacht habe, da wieder rein zu kommen. Aber eine Anleitung wie man richtig vorgeht bei update, fehlt trotzdem irgendwie.

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

                                          @sniker okay, welche Informationen wären für dich hilfreich gewesen? Da du es jetzt geschafft hast, kannst du uns da unterstützen, wo die Stolperstellen sind. Wir nehmen sie dann im Wiki auf. Danke

                                          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

                                          S 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

                                          562

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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