-Supported keys for locale config
-
+## Supported keys for locale config
- - `af_xx` - Afrikaans
- - `ar_xx` - Arabic
- - `bg_xx` - Bulgarian
- - `ca_xx` - Catalan
- - `cs_xx` - Czech
- - `da_xx` - Danish
- - `de_xx` - German
- - `el_xx` - Greek
- - `en_xx` - English
- - `es_xx` - Spanish
- - `et_xx` - Estonian
- - `fa_xx` - Persian
- - `fi_xx` - Finnish
- - `fr_xx` - French
- - `he_xx` - Hebrew
- - `hr_xx` - Croatian
- - `hu_xx` - Hungarian
- - `hy_xx` - Armenian
- - `id_xx` - Indonesian
- - `is_xx` - Icelandic
- - `it_xx` - Italian
- - `lb_xx` - Luxembourgish
- - `lt_xx` - Lithuanian
- - `lv_xx` - Latvian
- - `nb_xx` - Norwegian
- - `nl_xx` - Dutch
- - `nn_xx` - Norwegian
- - `pl_xx` - Polish
- - `pt_xx` - Portuguese
- - `ro_xx` - Romanian
- - `ru_xx` - Russian
- - `sk_xx` - Slovak
- - `sl_xx` - Slovenian
- - `sv_xx` - Swedish
- - `th_xx` - Thai
- - `tr_xx` - Turkish
- - `uk_xx` - Ukrainian
- - `vi_xx` - Vietnamese
- - `zh_CN` - Simplified Chinese
- - `zh_TW` - Traditional Chinese
-
-
-
+| Language Code | Language |
+|---------------|---------------------|
+| `af_ZA` | Afrikaans |
+| `ar_SY` | Arabic |
+| `bg_BG` | Bulgarian |
+| `ca_ES` | Catalan |
+| `cs_CZ` | Czech |
+| `da_DK` | Danish |
+| `de_DE` | German |
+| `el_GR` | Greek |
+| `en_US` | English |
+| `es_ES` | Spanish |
+| `et_EE` | Estonian |
+| `fa_IR` | Persian |
+| `fi_FI` | Finnish |
+| `fr_FR` | French |
+| `he_IL` | Hebrew |
+| `hr_xx` | Croatian |
+| `hu_HU` | Hungarian |
+| `hy_AM` | Armenian |
+| `id_ID` | Indonesian |
+| `is_IS` | Icelandic |
+| `it_IT` | Italian |
+| `lb_xx` | Luxembourgish |
+| `lt_LT` | Lithuanian |
+| `lv_LV` | Latvian |
+| `nb_NO` | Norwegian |
+| `nl_NL` | Dutch |
+| `nn_NO` | Norwegian |
+| `pl_PL` | Polish |
+| `pt_PT` | Portuguese |
+| `ro_RO` | Romanian |
+| `ru_RU` | Russian |
+| `sk_SK` | Slovak |
+| `sl_SI` | Slovenian |
+| `sv_SE` | Swedish |
+| `th_TH` | Thai |
+| `tr_TR` | Turkish |
+| `uk_UA` | Ukrainian |
+| `vi_VN` | Vietnamese |
+| `zh_CN` | Simplified Chinese |
+| `zh_TW` | Traditional Chinese |
diff --git a/docs/faq.md b/docs/faq.md
index a1bf4645..bc9a3133 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -16,7 +16,8 @@ The log of your mqtt broker might give you additional information.
Your Tasmota device needs to connect sucessfully to your MQTT Broker, if you are in the waiting for content screen, the panel will send periodic messages to it's mqtt topic.
3. Make sure that you are using the same topic in apps.yaml and in your tasmota configuration.
-The example values are an working example. Please don't modify the Full Topic. [MQTT Config](https://docs.nspanel.pky.eu/configure_mqtt/)
+The examples in the docs ([MQTT Config](https://docs.nspanel.pky.eu/configure_mqtt/)) are an valid (tasmota<>apps.yaml).
+Please don't modify the Full Topic in your Tasmota Config, unless you know the implications, changing the Full Topic will result in diffent Send and Receive Channels, that have to be correct in your apps.yaml.
4. If you are still in the waiting for content screen please share the following items:
- a screenshot of your tasmota mqtt configration (please censor your mqtt password)
diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts
index be4883fe..0fe94669 100644
--- a/ioBroker/NsPanelTs.ts
+++ b/ioBroker/NsPanelTs.ts
@@ -1,23 +1,28 @@
/*-----------------------------------------------------------------------
TypeScript zur Steuerung des SONOFF NSPanel mit dem ioBroker
-- abgestimmt auf TFT 37 / v3.0.0 / BerryDriver 4 / Tasmota 11.1.0
+- abgestimmt auf TFT 38 / v3.1.0 / BerryDriver 4 / Tasmota 12.0.0
joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker
NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts
icon_mapping.ts: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/icon_mapping.ts (TypeScript muss in global liegen)
ioBroker-Unterstützung: https://forum.iobroker.net/topic/50888/sonoff-nspanel
ReleaseNotes:
- Bugfixes und Erweiterungen seit letzter Version:
+ Bugfixes und Erweiterungen:
- cardQR (für Gäste WLAN)
- cardThermo (Neues Design für Alias Thermostat und zusätzlich für Alias Klimaanlage)
- - 08.05.2022 - Menüpfeile bei HardwareButtons (button1Page; button2Page) mit Navigation auf Page 0
- - 08.05.2022 - Standard-Brightness über neuen Parameter active einstellbar (Test mit 2.9.3)
- - 08.05.2022 - Schalter (Licht, Dimmer, Hue, etc) in cardGrid lassen sich wieder schalten
- - 14.06.2022 - Aktion auf Submenüs schaltet unmittelbar auf vorheriges Mainmenu (Many thanks to Grrzzz)
- - 14.06.2022 - Menü-Pfeile in Subpages (z.B. card QR, cardMedia, etc) (Many thanks to Grrzzz)
- - 15.06.2022 - Date/Time im Screensaver auf Basis localString (de-DE/en-EN/nl-NL/etc.)
- - 16.06.2022 - Multilingual - config.locale (en-EN, de-DE, nl-NL, da-DK, es-ES, fr-FR, it-IT, ru-RU)
- - 16.06.2022 - Bugfix by Grrzzz - Subpages
+ - 08.05.2022 - V2.9.0 - Menüpfeile bei HardwareButtons (button1Page; button2Page) mit Navigation auf Page 0
+ - 08.05.2022 - V2.9.0 - Standard-Brightness über neuen Parameter active einstellbar (Test mit 2.9.3)
+ - 08.05.2022 - V2.9.0 - Schalter (Licht, Dimmer, Hue, etc) in cardGrid lassen sich wieder schalten
+ - 14.06.2022 - V2.9.0 - Aktion auf Submenüs schaltet unmittelbar auf vorheriges Mainmenu (Many thanks to Grrzzz)
+ - 14.06.2022 - V2.9.0 - Menü-Pfeile in Subpages (z.B. card QR, cardMedia, etc) (Many thanks to Grrzzz)
+ - 15.06.2022 - V3.0.0 - Date/Time im Screensaver auf Basis localString (de-DE/en-EN/nl-NL/etc.)
+ - 16.06.2022 - V3.0.0 - Multilingual - config.locale (en-EN, de-DE, nl-NL, da-DK, es-ES, fr-FR, it-IT, ru-RU)
+ - 16.06.2022 - V3.0.0 - Bugfix by Grrzzz - Subpages
+ - 18.06.2022 - V3.1.0 - Längere Textfelder in cardEntities
+ - 18.06.2022 - V3.1.0 - Detail-Page Lights/Shutter hat neuen Parameter "id"
+
+ Known Bug
+ - Github Issue #286
Wenn Rule definiert, dann können die Hardware-Tasten ebenfalls für Seitensteuerung (dann nicht mehr als Releais) genutzt werden
Tasmota Konsole:
@@ -82,7 +87,7 @@ Erforderliche Adapter:
JavaScript-Adapter
Upgrades in Konsole:
Tasmota BerryDriver : Backlog UpdateDriverVersion https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1
- TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.0.0.tft
+ TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v3.1.0.tft
---------------------------------------------------------------------------------------
*/
var Icons = new IconsSelector();
@@ -446,7 +451,7 @@ export const config: Config = {
dimmode: 8,
active: 100, //Standard-Brightness TFT
screenSaverDoubleClick: false,
- locale: "en-EN", //en-EN, de-DE, nl-NL, da-DK, es-ES, fr-FR, it-IT, ru-RU
+ locale: "de-DE", //en-EN, de-DE, nl-NL, da-DK, es-ES, fr-FR, it-IT, ru-RU
timeFormat: "%H:%M", //currently not used
dateFormat: "%A, %d. %B %Y", //currently not used
weatherEntity: "alias.0.Wetter",
@@ -565,7 +570,7 @@ function get_locales() {
function check_updates() {
- const desired_display_firmware_version = 37;
+ const desired_display_firmware_version = 38;
const berry_driver_version = 4;
if (Debug) console.log("Check-Updates");
@@ -799,7 +804,7 @@ function update_berry_driver_version() {
}
function update_tft_firmware() {
- const tft_version : string = "v3.0.0";
+ const tft_version : string = "v3.1.0";
var desired_display_firmware_url = "http://nspanel.pky.eu/lovelace-ui/github/nspanel-" + tft_version + ".tft"
require("request")((['http://',get_current_tasmota_ip_address(),'/cm?cmnd=FlashNextion ', desired_display_firmware_url].join('')), async function (error, response, result) {
createState(NSPanel_Path + "TFT_Firmware.onlineVersion");
@@ -982,11 +987,12 @@ function SendTime(): void {
var month = d.getMonth();
var day = d.getDate();
var hr = d.getHours();
+
var min = d.getMinutes();
const date = new Date(year, month, day, hr, min, 1);
var _SendTime = date.toLocaleTimeString(config.locale, { hour: '2-digit', minute: '2-digit', hour12: false});
-
+
SendToPanel(