NEWS
[gelöst] Brauche Hilfe beim NSPanel mit Tasmota
-
Ich habe keine Seite die Büro heißt.
Im Script gibt es folgenden Teil:let Buero_Seite_1 = <PageEntities> { 'type': 'cardEntities', 'heading': 'Büro', 'useColor': true, 'items': [ <PageItem>{ id: 'alias.0.NSPanel_1.Schreibtischlampe', interpolateColor: true}, <PageItem>{ id: 'alias.0.NSPanel_1.Deckenbeleuchtung', interpolateColor: true}, <PageItem>{ id: 'alias.0.NSPanel_1.Testlampe2', name: 'Filamentlampe', minValueBrightness: 0, maxValueBrightness: 70, interpolateColor: true}, <PageItem>{ id: 'alias.0.NSPanel_1.Luftreiniger', icon: 'power', icon2: 'power',offColor: MSRed, onColor: MSGreen}Ich hab bis auf den Wetterdienst, panelRecvTopic und panelSendTopic keine Änderungen am Script vorgenommen.
-
@GregorS
Okay dann musst du noch die beiden Stellen anpassen. Der MQTT Pfad muss stimmen.// Indikator Icons im oberen Teil des Screensavers // Mit 3.9.0 neue Parameter - Bitte anpassen - siehe auch Wiki mrIcon1ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.SmartHome.NSPanel_1.stat.POWER1', ScreensaverEntityIconOn: 'lightbulb', //Rename ScreensaverEntityIconOff: null, ScreensaverEntityValue: null, //New ScreensaverEntityValueDecimalPlace : 0, //New ScreensaverEntityValueUnit: null, //New ScreensaverEntityOnColor: On, ScreensaverEntityOffColor: HMIOff }, mrIcon2ScreensaverEntity: { ScreensaverEntity: 'mqtt.0.SmartHome.NSPanel_1.stat.POWER2', ScreensaverEntityIconOn: 'heat-wave', ScreensaverEntityIconOff: null, ScreensaverEntityValue: NSPanel_Path + 'Sensor.ANALOG.Temperature', ScreensaverEntityValueDecimalPlace : 1, ScreensaverEntityValueUnit: '°', ScreensaverEntityOnColor: MSRed, ScreensaverEntityOffColor: Yellow }, -
Habe ich aktualisiert.
Keine Änderung.entityUpd~Büro~button~bPrev~~65535~~~button~bNext~~65535~~~delete~~~~~~delete~~~~~~delete~~~~~~delete~~~~~Frage:
Wie kommen Infos aus dem NSPanel in mqtt.0 mit dem Port 6064? -
Gute Frage, ohne dein System richtig zu kennen, kann ich dir das auch nicht sagen. Wenn du die Einträge löschst, kommen sie dann wieder?
Im Script bitte mal die Page Auflistung wie folgt anpassen.
pages: [ // Buero_Seite_1, //Beispiel-Seite //WLED, //Beispiel-Seite // Radiosender, //Beispiel-Seite // SensorGrid, //Beispiel-Seite //CardLChartExample, //Beispiel-Seite //CardChartExample, //Beispiel-Seite //CardPowerExample, //Beispiel-Seite //SqueezeboxRPC, //Beispiel-Seite //Sonos, //Beispiel-Seite //SpotifyPremium, //Beispiel-Seite //Alexa, //Beispiel-Seite // Buero_Seite_2, //Beispiel-Seite // Buero_Klimaanlage, //Beispiel-Seite // Button_1, //Beispiel-Seite // Test_Licht1, //Beispiel-Seite // Test_Licht2, //Beispiel-Seite // Test_Funktionen, //Beispiel-Seite // Fenster_1, //Beispiel-Seite // Subpages_1, //Beispiel-Seite // Buero_Themostat, //Beispiel-Seite // Buero_Alarm, //Beispiel-Seite NSPanel_Service //Auto-Alias Service Page ], subPages: [ // Abfall, //Beispiel-Unterseite // WLAN, //Beispiel-Unterseite NSPanel_Infos, //Auto-Alias Service Page NSPanel_Wifi_Info_1, //Auto-Alias Service Page NSPanel_Wifi_Info_2, //Auto-Alias Service Page NSPanel_Sensoren, //Auto-Alias Service Page NSPanel_Hardware, //Auto-Alias Service Page NSPanel_Einstellungen, //Auto-Alias Service Page NSPanel_Screensaver, //Auto-Alias Service Page NSPanel_ScreensaverDimmode, //Auto-Alias Service Page NSPanel_ScreensaverOther, //Auto-Alias Service Page NSPanel_Weather, //Auto-Alias Service Page NSPanel_Dateformat, //Auto-Alias Service Page NSPanel_Indicators, //Auto-Alias Service Page NSPanel_Relays, //Auto-Alias Service Page NSPanel_Firmware, //Auto-Alias Service Page NSPanel_FirmwareTasmota, //Auto-Alias Service Page NSPanel_FirmwareBerry, //Auto-Alias Service Page NSPanel_FirmwareNextion, //Auto-Alias Service Page ], button1Page: null, //Beispiel-Seite auf Button 1, wenn Rule2 definiert - Wenn nicht definiert --> button1Page: null, button2Page: null //Beispiel-Seite auf Button 2, wenn Rule2 definiert - Wenn nicht definiert --> button1Page: null, }; -
Habe ich abgeändert.
Jetzt steht in CustomSendentityUpd~NSPanel Service~button~bPrev~~65535~~~button~bNext~~65535~~~button~navigate.NSPanel_Infos~~38060~Infos~mehr...~button~navigate.NSPanel_Einstellungen~~38060~Einstellungen~mehr...~button~navigate.NSPanel_Firmware~~38060~Firmware~mehr...~button~alias.0.NSPanel.1.Config.rebootNSPanel~~32495~Reboot NSPanel~StartObjekte in mqtt.0 werden immer wieder neu angelegt
-
Also das Script, sendet die richtigen Daten. Sie kommen aber im Panel nicht an. Irgend etwas stimmt dann mit der MQTT Verbindung nicht. Kannst du mal die Instanz 0 mal stoppen?
Bleibt die Struktur in MQTT.0 mit den Daten gleich oder haben sich die Verzeichnisse geändert?
-
mqtt.0 ist gestoppt.
Die Datenstruktur in mqtt.0 ist immer dieselbe.
Ich bekomme von dem Rasp nur 16 Werte von Sensoren.
Werte sind auch plausibel.
Nach dem löschen der Objekte vom NSPanel im mqtt.0 habe ich nun folgende fehler im Logmqtt.0 2023-02-18 22:18:06.934 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.sensors" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.898 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.config" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.897 warn State "mqtt.0.tele.tasmota_E7EE88.SENSOR" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.897 warn State "mqtt.0.tele.tasmota_E7EE88.STATE" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.897 warn State "mqtt.0.tele.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.896 warn State "mqtt.0.stat.tasmota_E7EE88.POWER2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.896 warn State "mqtt.0.stat.tasmota_E7EE88.POWER1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.896 warn State "mqtt.0.stat.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.890 warn State "mqtt.0.tele.tasmota_E7EE88.INFO3" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.890 warn State "mqtt.0.tele.tasmota_E7EE88.INFO2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.889 warn State "mqtt.0.tele.tasmota_E7EE88.INFO1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.888 warn State "mqtt.0.cmnd.tasmota_E7EE88.POWER" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:18:06.814 warn State "mqtt.0.tele.tasmota_E7EE88.LWT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.375 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.sensors" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.373 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.config" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.372 warn State "mqtt.0.tele.tasmota_E7EE88.SENSOR" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.372 warn State "mqtt.0.tele.tasmota_E7EE88.STATE" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.372 warn State "mqtt.0.tele.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.371 warn State "mqtt.0.stat.tasmota_E7EE88.POWER2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.371 warn State "mqtt.0.stat.tasmota_E7EE88.POWER1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.371 warn State "mqtt.0.stat.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.370 warn State "mqtt.0.tele.tasmota_E7EE88.INFO3" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.370 warn State "mqtt.0.tele.tasmota_E7EE88.INFO2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.370 warn State "mqtt.0.tele.tasmota_E7EE88.INFO1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.367 warn State "mqtt.0.cmnd.tasmota_E7EE88.POWER" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:15:06.366 warn State "mqtt.0.tele.tasmota_E7EE88.LWT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.394 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.sensors" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.394 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.config" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.394 warn State "mqtt.0.tele.tasmota_E7EE88.SENSOR" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.394 warn State "mqtt.0.tele.tasmota_E7EE88.STATE" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.394 warn State "mqtt.0.tele.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.393 warn State "mqtt.0.stat.tasmota_E7EE88.POWER2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.393 warn State "mqtt.0.stat.tasmota_E7EE88.POWER1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.393 warn State "mqtt.0.stat.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.392 warn State "mqtt.0.tele.tasmota_E7EE88.INFO3" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.392 warn State "mqtt.0.tele.tasmota_E7EE88.INFO2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.392 warn State "mqtt.0.tele.tasmota_E7EE88.INFO1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.392 warn State "mqtt.0.cmnd.tasmota_E7EE88.POWER" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:12:06.391 warn State "mqtt.0.tele.tasmota_E7EE88.LWT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.439 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.sensors" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.438 warn State "mqtt.0.tasmota.discovery.C4DD57E7EE88.config" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.414 warn State "mqtt.0.tele.tasmota_E7EE88.SENSOR" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.414 warn State "mqtt.0.tele.tasmota_E7EE88.STATE" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.414 warn State "mqtt.0.tele.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.413 warn State "mqtt.0.stat.tasmota_E7EE88.POWER2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.413 warn State "mqtt.0.stat.tasmota_E7EE88.POWER1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.413 warn State "mqtt.0.stat.tasmota_E7EE88.RESULT" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.412 warn State "mqtt.0.tele.tasmota_E7EE88.INFO3" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.412 warn State "mqtt.0.tele.tasmota_E7EE88.INFO2" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.372 warn State "mqtt.0.tele.tasmota_E7EE88.INFO1" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.371 warn State "mqtt.0.cmnd.tasmota_E7EE88.POWER" has no existing object, this might lead to an error in future versions mqtt.0 2023-02-18 22:09:06.370 warn State "mqtt.0.tele.tasmota_E7EE88.LWT" has no existing object, this might lead to an error in future versionsHabe das Script mal neu gestartet.
Ich bekomme aber vom NSPanel die Informationen von den Relais sauber rüber.
-
Starte die MQTT.0 Instanz mal neu. Wenn dein Panel sich wieder anmeldet werden auch die Datenpunkte erstellt.
Es gibt bei jeder Instanz ein Info Ordner dort stehen die Verbindungen drin, bitte mal nachsehen.Was meinst du mit Relais Info?
-
Nach dem start von mqtt.0 waren die Objekte wieder da.
Hier die Info von mqtt.0

und hier von mqtt.1

Ich meine den Wert von stat/Power_1 und Power_2 in mqtt.1
-
Langsam bin ich am verzweifeln. Also die Daten kommen vom Panel über den Broker an. Das siehst du an den Relais/Status.
Zusätzlich bekommst du Daten über die Instanz 0, ändern sich da auch die Relais, wie bei Instanz 1?
Ich habe den Verdacht das dein Raspi auch eine Verbindung zum Panel hat. Was läuft den dort. Kannst du das mal prüfen?
-
@tt-tom
hattest recht. Der Rasp hatte tatsächlich die Infos vom NSPanel und hat sie dann immer wieder
publiziert.
Habe sie dort gelöscht und seit dem, habe ich keine Einträge mehr im mqtt.0
Aber ich sehe leider immer noch kein Bild auf dem NSPanel ausser dem drehenden Kreis.
Habe auch mal den mqtt-client auf dem Rasp und dem ioB gestoppt - brachte keinen Erfolg.Ich habe soeben nochmals das Wiki bis Punkt 9 durchgearbeitet.
Unter Punkt 5:
Tasmota „Konsolen/Konsole“ öffnen und in die Kommandozeile
--> FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.9.0.tft
Ist das richtig?
Achtung !!! Die aktuellsten Versionen (3.9.0 könnte nicht mehr aktuell sein) befinden sich "immer" im ioBrokerHabe keine Version v3.9.0.4 finden können.
- 29.01.2023 - v3.9.0 Upgrade TFT 49 - 03.02.2023 - v3.9.0.2 Hotfix Screensaver bExit - 06.02.2023 - v3.9.0.3 PR #754 - added missing 'tempUpdHighLow' ButtonEvent handling - by @fre4242 - 07.02.2023 - v3.9.0.4 Open activepage again after closing popupLight or popupShutter -
MQTT.0 -> haben wir ja ein Problem gelöst.
Ja 3.9.0 ist richtig.
Jetzt müssen wir sehen wie der Broker die Daten zum Panel sendet. Zeige mal bitte nochmal die Einstellung von Tasmota und von MQTT.1.
-
-
-
-
-
-
Ja dann noch viel Spaß bei Konfigurieren... Sieht ja Top aus

-
-
@armilar
Hab aaber noch eine Frage.
links ist die Anzeige für Power1,
bei Betätigung des Taster 2 wir die Temperatur rechts oben gelb.
Ist das so, oder muss ich noch was einstellen?






