Skip to content

Commit

Permalink
### 3.2.2 (27.01.2024)
Browse files Browse the repository at this point in the history
- (PLCHome) Catching of the fault log messages is now possible (Thanx to @ZioCain for the code)
- (PLCHome) Setting active power for MAX inverter (Thanx to sefina for testing)
  • Loading branch information
PLCHome committed Jan 27, 2024
1 parent 5153c51 commit 917a60a
Show file tree
Hide file tree
Showing 10 changed files with 597 additions and 1,209 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
matrix:
node-version: [16.x, 18.x, 20.x]

steps:
- name: Checkout source Code
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules/*
test.json
update.cmd
test.json
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ This data record contains some data from the device. Some data are also availabl

This data set contains the weather forecast.

#### Read fault log entries

Reads the entries in the fault log of the current year and creates objects with the messages for this. Only the first page with the most current reports is read.

#### Write inverter settings

If this is activated, some settings can be edited for some inverters.
Expand Down Expand Up @@ -355,6 +359,11 @@ Therefore, the description has also been removed.

## Changelog

### 3.2.2 (27.01.2024)

- (PLCHome) Catching of the fault log messages is now possible (Thanx to ZioCain for the code)
- (PLCHome) Setting active power for MAX inverter (Thanx to sefina for testing)

### 3.2.1 (08.09.2023)

- (PLCHome) Additionally query the status information via the Plant List.
Expand Down
4 changes: 4 additions & 0 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,10 @@
<input type="checkbox" class="value" id="weather" />
<label for="weather" class="translate">Read weather</label>
</div>
<div class="col s6 input-field">
<input type="checkbox" class="value" id="faultlog" />
<label for="faultlog" class="translate">Read fault log entries</label>
</div>
<div class="col s6 input-field">
<input type="checkbox" class="value" id="settings" />
<label for="settings" class="translate">Write inverter settings (only mix/tlx/tlxh)</label>
Expand Down
13 changes: 13 additions & 0 deletions admin/words.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ systemDictionary = {
pl: 'Czytaj pogodę',
'zh-cn': '阅读天气',
},
'Read fault log entries': {
en: 'Read fault log entries',
de: 'Fehlerprotokolleinträge lesen',
ru: 'Запись журнала ошибок',
pt: 'Leia entradas de log de falhas',
nl: 'Foutlog-items lezen',
fr: 'Lire les entrées du journal des défauts',
it: 'Leggi le voci di registro dei guasti',
es: 'Lea las entradas del registro de fallas',
pl: 'Odczytywanie wpisów dziennika błędów',
uk: 'Читання записів журналу несправностей',
'zh-cn': '读取错误日志条目',
},
'Read device data': {
en: 'Read device data',
de: 'Gerätedaten lesen',
Expand Down
2 changes: 2 additions & 0 deletions growattMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class Growatt extends utils.Adapter {
this.log.info(`deleted: ${ownID}`);
} else if (
(!this.config.weather && ebene.length > 1 && ebene[1].toLowerCase() === 'weather') ||
(!this.config.faultlog && ebene.length > 1 && ebene[1].toLowerCase() === 'faultlog') ||
(!this.config.totalData && ebene.length > 3 && ebene[3].toLowerCase() === 'totaldata') ||
(!this.config.statusData && ebene.length > 3 && ebene[3].toLowerCase() === 'statusdata') ||
(!this.config.plantData && ebene.length > 1 && ebene[1].toLowerCase() === 'plantdata') ||
Expand Down Expand Up @@ -589,6 +590,7 @@ class Growatt extends utils.Adapter {
if (this.growatt.isConnected()) {
const allPlantData = await this.growatt.getAllPlantData({
weather: this.config.weather,
faultlog: this.config.faultlog,
totalData: this.config.totalData,
statusData: this.config.statusData,
plantData: this.config.plantData,
Expand Down
16 changes: 15 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "growatt",
"version": "3.2.1",
"version": "3.2.2",
"news": {
"3.2.2": {
"en": "Catching of the fault log messages is now possible, setting active power for MAX inverter",
"de": "Fangen der Fehlerprotokollnachrichten ist jetzt möglich, Setzen der aktiven Leistung für MAX Wechselrichter",
"ru": "Настройка активной мощности для инвертора MAX",
"pt": "A captura das mensagens de log de falha agora é possível, definindo a energia ativa para o inversor MAX",
"nl": "Het vangen van de fout log berichten is nu mogelijk, het instellen van actieve stroom voor MAX omvormer",
"fr": "Capturer les messages de log des défauts est maintenant possible, définir la puissance active pour l'onduleur MAX",
"it": "La cattura dei messaggi di registro di guasto è ora possibile, impostando il potere attivo per MAX inverter",
"es": "La captación de los mensajes de registro de fallas es ahora posible, estableciendo el poder activo para el inversor MAX",
"pl": "Łapanie komunikatów dziennika błędów jest teraz możliwe, ustawienie mocy czynnej dla falownik MAX",
"uk": "В даний час можливе встановлення активної потужності для інвертора МАКС",
"zh-cn": "现在可以捕捉断层日志消息, 设置 MAX 反转器的主动功率"
},
"3.2.1": {
"en": "Added inverter typ singleBackflow and multipleBackflow",
"de": "Inverter Typ singleBackflow und multipleBackflow hinzugefügt",
Expand Down Expand Up @@ -134,6 +147,7 @@
"password": "",
"shareKey": "",
"weather": true,
"faultlog": false,
"totalData": true,
"historyLast": true,
"statusData": true,
Expand Down
Loading

0 comments on commit 917a60a

Please sign in to comment.