Skip to content

Commit

Permalink
fix Fan speed current to show the fan mode instead of wrong % (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 authored Jul 23, 2024
2 parents 2e80e70 + cde55dd commit e4d0e41
Show file tree
Hide file tree
Showing 8 changed files with 278 additions and 56 deletions.
54 changes: 54 additions & 0 deletions nibe/data/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,60 @@
}
}
},
{
"description": "Corrections for fan speed current units",
"files": [
"f730.json",
"f750.json",
"f370_f470.json",
"f1145_f1245.json",
"f1155_f1255.json",
"f1345.json",
"f1355.json"
],
"data": {
"41256": {
"unit": null,
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41257": {
"unit": null,
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41258": {
"unit": null,
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"43108": {
"unit": null,
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
}
}
},
{
"files": [
"f370_f470.json",
Expand Down
40 changes: 32 additions & 8 deletions nibe/data/f1145_f1245.json
Original file line number Diff line number Diff line change
Expand Up @@ -1557,26 +1557,44 @@
"41256": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41256"
"name": "fan-speed-current-41256",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41257": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41257"
"name": "fan-speed-current-41257",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41258": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41258"
"name": "fan-speed-current-41258",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41265": {
"title": "Smart Home Mode",
Expand Down Expand Up @@ -3996,10 +4014,16 @@
"43108": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-43108"
"name": "fan-speed-current-43108",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"43152": {
"title": "Internal cooling blocked",
Expand Down
40 changes: 32 additions & 8 deletions nibe/data/f1155_f1255.json
Original file line number Diff line number Diff line change
Expand Up @@ -1218,26 +1218,44 @@
"41256": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41256"
"name": "fan-speed-current-41256",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41257": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41257"
"name": "fan-speed-current-41257",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41258": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41258"
"name": "fan-speed-current-41258",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41265": {
"title": "Smart Home Mode",
Expand Down Expand Up @@ -2521,10 +2539,16 @@
"43108": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-43108"
"name": "fan-speed-current-43108",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"43122": {
"title": "Compr. current min.freq.",
Expand Down
40 changes: 32 additions & 8 deletions nibe/data/f1345.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,26 +1633,44 @@
"41256": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41256"
"name": "fan-speed-current-41256",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41257": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41257"
"name": "fan-speed-current-41257",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41258": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41258"
"name": "fan-speed-current-41258",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41265": {
"title": "Smart Home Mode",
Expand Down Expand Up @@ -4253,10 +4271,16 @@
"43108": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-43108"
"name": "fan-speed-current-43108",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"43158": {
"title": "External adjustment activated via input S4",
Expand Down
40 changes: 32 additions & 8 deletions nibe/data/f1355.json
Original file line number Diff line number Diff line change
Expand Up @@ -1706,26 +1706,44 @@
"41256": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41256"
"name": "fan-speed-current-41256",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41257": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41257"
"name": "fan-speed-current-41257",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41258": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-41258"
"name": "fan-speed-current-41258",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"41265": {
"title": "Smart Home Mode",
Expand Down Expand Up @@ -4582,10 +4600,16 @@
"43108": {
"title": "Fan speed current",
"info": "The current fan speed after scheduling and blocks are considered",
"unit": "%",
"size": "u8",
"factor": 1,
"name": "fan-speed-current-43108"
"name": "fan-speed-current-43108",
"mappings": {
"0": "Normal",
"1": "Fan mode 1",
"2": "Fan mode 2",
"3": "Fan mode 3",
"4": "Fan mode 4"
}
},
"43122": {
"title": "Compr. current min.freq.",
Expand Down
Loading

0 comments on commit e4d0e41

Please sign in to comment.