Skip to content

Commit

Permalink
Zigbee2mqtt: Add specific features to Lixee TIC devices (#2141)
Browse files Browse the repository at this point in the history
  • Loading branch information
William-De71 authored Nov 11, 2024
1 parent adc1df0 commit 922fd9f
Show file tree
Hide file tree
Showing 7 changed files with 1,478 additions and 192 deletions.
61 changes: 61 additions & 0 deletions front/src/config/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3133,6 +3133,67 @@
"index": "Index",
"daily-consumption": "Tagesverbrauch"
},
"teleinformation": {
"shortCategoryName": "Teleinformation",
"binary": "Schalter",
"east": "Gesamt abgegebene Wirkleistung (EAST)",
"eait": "Gesamt eingespeiste Wirkleistung (EAIT)",
"easf01": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF01)",
"easf02": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF02)",
"easf03": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF03)",
"easf04": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF04)",
"easf05": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF05)",
"easf06": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF06)",
"easf07": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF07)",
"easf08": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF08)",
"easf09": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF09)",
"easf10": "Gesamt abgegebene Wirkleistung vom Anbieter (EASF10)",
"pref": "Referenz-Scheinleistung (PREF)",
"pcoup": "Scheinleistungsschwelle (PCOUP)",
"vtic": "Protokollversion (VTIC)",
"ccasn": "Aktueller Punkt der entnommenen Lastkurve (CCASN)",
"ccasn_1": "Vorheriger Punkt der entnommenen Lastkurve (CCASN-1)",
"umoy1": "Durchschnittliche Effektivspannung (UMOY1)",
"umoy2": "Durchschnittliche Effektivspannung (UMOY2)",
"umoy3": "Durchschnittliche Effektivspannung (UMOY3)",
"erq1": "Gesamt Blindleistung Q1 (ERQ1)",
"erq2": "Gesamt Blindleistung Q2 (ERQ2)",
"erq3": "Gesamt Blindleistung Q3 (ERQ3)",
"erq4": "Gesamt Blindleistung Q4 (ERQ4)",
"irms1": "Effektivstrom (IRMS1)",
"irms2": "Effektivstrom (IRMS2)",
"irms3": "Effektivstrom (IRMS3)",
"urms1": "Effektivspannung (URMS1)",
"urms2": "Effektivspannung (URMS2)",
"urms3": "Effektivspannung (URMS3)",
"easd01": "Entnommene Wirkenergie des Verteilers (EASD01)",
"easd02": "Entnommene Wirkenergie des Verteilers (EASD02)",
"easd03": "Entnommene Wirkenergie des Verteilers (EASD03)",
"easd04": "Entnommene Wirkenergie des Verteilers (EASD04)",
"ntarf": "Tarif-Indexnummer (NTARF)",
"ccain": "Punkt n der entnommenen Lastkurve (CCAIN)",
"ccain_1": "Punkt n-1 der entnommenen Lastkurve (CCAIN-1)",
"sinsti": "Momentan eingespeiste Scheinleistung (SINSTI)",
"smaxin": "Max. eingespeiste Scheinleistung n (SMAXIN)",
"smaxin_1": "Max. eingespeiste Scheinleistung n-1 (SMAXIN-1)",
"smaxn": "Max. abgegebene Scheinleistung (SMAXN)",
"smaxn2": "Max. abgegebene Scheinleistung (SMAXN2)",
"smaxn3": "Max. abgegebene Scheinleistung (SMAXN3)",
"sinsts": "Momentane abgegebene Scheinleistung (SINSTS)",
"sinsts2": "Momentane abgegebene Scheinleistung (SINSTS2)",
"sinsts3": "Momentane abgegebene Scheinleistung (SINSTS3)",
"smaxn_1": "Max. entnommene Scheinleistung n-1 (SMAXN-1)",
"smaxn2_1": "Max. entnommene Scheinleistung n-1 (SMAXN2-1)",
"smaxn3_1": "Max. entnommene Scheinleistung n-1 (SMAXN3-1)",
"hhphc": "HPHC-Programm (HHPHC)",
"imax": "Spitzenstrom (IMAX)",
"adps": "Warnung bei Überschreitung der Vertragsleistung (ADPS)",
"imax2": "Spitzenstrom (IMAX2)",
"imax3": "Spitzenstrom (IMAX3)",
"adir1": "Überstromwarnung (ADIR1)",
"adir2": "Überstromwarnung (ADIR2)",
"adir3": "Überstromwarnung (ADIR3)"
},
"volume-sensor": {
"shortCategoryName": "Lautstärke-Sensor",
"decimal": "Lautstärke (dezimal)",
Expand Down
61 changes: 61 additions & 0 deletions front/src/config/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3133,6 +3133,67 @@
"index": "Index",
"daily-consumption": "Daily Consumption"
},
"teleinformation": {
"shortCategoryName": "Teleinformation",
"binary": "Switch",
"east": "Total active power delivered (EAST)",
"eait": "Total active power injected (EAIT)",
"easf01": "Total provider active power delivered (EASF01)",
"easf02": "Total provider active power delivered (EASF02)",
"easf03": "Total provider active power delivered (EASF03)",
"easf04": "Total provider active power delivered (EASF04)",
"easf05": "Total provider active power delivered (EASF05)",
"easf06": "Total provider active power delivered (EASF06)",
"easf07": "Total provider active power delivered (EASF07)",
"easf08": "Total provider active power delivered (EASF08)",
"easf09": "Total provider active power delivered (EASF09)",
"easf10": "Total provider active power delivered (EASF10)",
"pref": "Apparent power of reference (PREF)",
"pcoup": "Apparent power threshold (PCOUP)",
"vtic": "Protocol version (VTIC)",
"ccasn": "Current point of the active load curve drawn (CCASN)",
"ccasn_1": "Previous point of the active load curve drawn (CCASN-1)",
"umoy1": "Average RMS voltage (UMOY1)",
"umoy2": "Average RMS voltage (UMOY2)",
"umoy3": "Average RMS voltage (UMOY3)",
"erq1": "Total reactive power Q1 (ERQ1)",
"erq2": "Total reactive power Q2 (ERQ2)",
"erq3": "Total reactive power Q3 (ERQ3)",
"erq4": "Total reactive power Q4 (ERQ4)",
"irms1": "RMS current (IRMS1)",
"irms2": "RMS current (IRMS2)",
"irms3": "RMS current (IRMS3)",
"urms1": "RMS voltage (URMS1)",
"urms2": "RMS voltage (URMS2)",
"urms3": "RMS voltage (URMS3)",
"easd01": "Active energy withdrawn Distributor (EASD01)",
"easd02": "Active energy withdrawn Distributor (EASD02)",
"easd03": "Active energy withdrawn Distributor (EASD03)",
"easd04": "Active energy withdrawn Distributor (EASD04)",
"ntarf": "Tarif index number (NTARF)",
"ccain": "Point n of the withdrawn active load curve (CCAIN)",
"ccain_1": "Point n-1 of the withdrawn active load curve (CCAIN-1)",
"sinsti": "Instantaneous apparent power injected (SINSTI)",
"smaxin": "Apparent power max. injected n (SMAXIN)",
"smaxin_1": "Apparent power max. injected n-1 (SMAXIN-1)",
"smaxn": "Apparent power delivered peak (SMAXN)",
"smaxn2": "Apparent power delivered peak (SMAXN2)",
"smaxn3": "Apparent power delivered peak (SMAXN3)",
"sinsts": "Immediate apparent power delivered (SINSTS)",
"sinsts2": "Immediate apparent power delivered (SINSTS2)",
"sinsts3": "Immediate apparent power delivered (SINSTS3)",
"smaxn_1": "Apparent power max. draw-off n-1 (SMAXN-1)",
"smaxn2_1": "Apparent power max. draw-off n-1 (SMAXN2-1)",
"smaxn3_1": "Apparent power max. draw-off n-1 (SMAXN3-1)",
"hhphc": "HPHC Program (HHPHC)",
"imax": "RMS current peak (IMAX)",
"adps": "Subscribed Power Exceeded Warning (ADPS)",
"imax2": "RMS current peak (IMAX2)",
"imax3": "RMS current peak (IMAX3)",
"adir1": "Overcurrent alert (ADIR1)",
"adir2": "Overcurrent alert (ADIR2)",
"adir3": "Overcurrent alert (ADIR3)"
},
"volume-sensor": {
"shortCategoryName": "Volume sensor",
"decimal": "Volume (decimal)",
Expand Down
61 changes: 61 additions & 0 deletions front/src/config/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3133,6 +3133,67 @@
"index": "Index",
"daily-consumption": "Consommation journalière"
},
"teleinformation": {
"shortCategoryName": "Téléinformation",
"binary": "Relais",
"east": "Energie active soutirée totale (EAST)",
"eait": "Energie active injectée totale (EAIT)",
"easf01": "Energie active soutirée fournisseur (EASF01)",
"easf02": "Energie active soutirée fournisseur (EASF02)",
"easf03": "Energie active soutirée fournisseur (EASF03)",
"easf04": "Energie active soutirée fournisseur (EASF04)",
"easf05": "Energie active soutirée fournisseur (EASF05)",
"easf06": "Energie active soutirée fournisseur (EASF06)",
"easf07": "Energie active soutirée fournisseur (EASF07)",
"easf08": "Energie active soutirée fournisseur (EASF08)",
"easf09": "Energie active soutirée fournisseur (EASF09)",
"easf10": "Energie active soutirée fournisseur (EASF10)",
"pref": "Puissance apparente référence (PREF)",
"pcoup": "Puissance apparente coupure (PCOUP)",
"vtic": "Version du protocole (VTIC)",
"ccasn": "Position de la courbe charge active (CCASN)",
"ccasn_1": "Position de la courbe charge active (CCASN-1)",
"umoy1": "Tension moyenne (UMOY1)",
"umoy2": "Tension moyenne (UMOY2)",
"umoy3": "Tension moyenne (UMOY3)",
"erq1": "Energie réactive Q1 totale (ERQ1)",
"erq2": "Energie réactive Q2 totale (ERQ2)",
"erq3": "Energie réactive Q3 totale (ERQ3)",
"erq4": "Energie réactive Q4 totale (ERQ4)",
"irms1": "Courant efficace (IRMS1)",
"irms2": "Courant efficace (IRMS2)",
"irms3": "Courant efficace (IRMS3)",
"urms1": "Tension efficace (URMS1)",
"urms2": "Tension efficace (URMS2)",
"urms3": "Tension efficace (URMS3)",
"easd01": "Energie active soutirée distributeur (EASD01)",
"easd02": "Energie active soutirée distributeur (EASD02)",
"easd03": "Energie active soutirée distributeur (EASD03)",
"easd04": "Energie active soutirée distributeur (EASD04)",
"ntarf": "Numéro d'indice tarifaire (NTARF)",
"ccain": "Point n de la courbe de charge active injectée (CCAIN)",
"ccain_1": "Point n-1 de la courbe de charge active injectée (CCAIN-1)",
"sinsti": "Puissance apparente instantanée injectée (SINSTI)",
"smaxin": "Puissance apparente max. injectée n (SMAXIN)",
"smaxin_1": "Puissance apparente max. injectée n-1 (SMAXIN-1)",
"smaxn": "Puissance apparente max. soutirée (SMAXN)",
"smaxn2": "Puissance apparente max. soutirée (SMAXN2)",
"smaxn3": "Puissance apparente max. soutirée (SMAXN3)",
"sinsts": "Puissance apparente instantanée soutirée (SINSTS)",
"sinsts2": "Puissance apparente instantanée soutirée (SINSTS2)",
"sinsts3": "Puissance apparente instantanée soutirée (SINSTS3)",
"smaxn_1": "Puissance apparente max. soutirée n-1 (SMAXN-1)",
"smaxn2_1": "Puissance apparente max. soutirée n-1 (SMAXN2-1)",
"smaxn3_1": "Puissance apparente max. soutirée n-1 (SMAXN3-1)",
"hhphc": "Programme HPHC (HHPHC)",
"imax": "Intensité maximale (IMAX)",
"adps": "Alerte dépassement puissance souscrite (ADPS)",
"imax2": "Intensité maximale (IMAX2)",
"imax3": "Intensité maximale (IMAX3)",
"adir1": "Alerte de surcourant (ADIR1)",
"adir2": "Alerte de surcourant (ADIR2)",
"adir3": "Alerte de surcourant (ADIR3)"
},
"volume-sensor": {
"shortCategoryName": "Capteur de volume",
"decimal": "Volume (décimale)",
Expand Down
60 changes: 60 additions & 0 deletions front/src/utils/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,66 @@ export const DeviceFeatureCategoriesIcon = {
[DEVICE_FEATURE_TYPES.ENERGY_SENSOR.VOLTAGE]: 'zap',
[DEVICE_FEATURE_TYPES.ENERGY_SENSOR.INDEX]: 'zap'
},
[DEVICE_FEATURE_CATEGORIES.TELEINFORMATION]: {
[DEVICE_FEATURE_TYPES.TELEINFORMATION.BINARY]: 'power',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EAST]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EAIT]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF01]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF02]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF03]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF04]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF05]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF06]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF07]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF08]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF09]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASF10]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.PREF]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.PCOUP]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.VTIC]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.CCASN]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.CCASN_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.UMOY1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.UMOY2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.UMOY3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ERQ1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ERQ2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ERQ3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ERQ4]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IRMS1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IRMS2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IRMS3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.URMS1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.URMS2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.URMS3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASD01]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASD02]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASD03]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.EASD04]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.NTARF]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.CCAIN]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.CCAIN_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SINSTI]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXIN]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXIN_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SINSTS]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SINSTS2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SINSTS3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN2_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.SMAXN3_1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.HHPHC]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IMAX]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ADPS]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IMAX2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.IMAX3]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ADIR1]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ADIR2]: 'zap',
[DEVICE_FEATURE_TYPES.TELEINFORMATION.ADIR3]: 'zap'
},
[DEVICE_FEATURE_CATEGORIES.SPEED_SENSOR]: {
[DEVICE_FEATURE_TYPES.SPEED_SENSOR.DECIMAL]: 'wind',
[DEVICE_FEATURE_TYPES.SPEED_SENSOR.INTEGER]: 'wind'
Expand Down
Loading

0 comments on commit 922fd9f

Please sign in to comment.