Skip to content

Commit

Permalink
Version 2.3.0
Browse files Browse the repository at this point in the history
Suitable for CVE add-on hardware revision 2 and non-CVE add-on revision 1. The first revision of the add-on based on the ESP8266 is not supported due to memory limitations.

!Upgrading to this version will format the flash drive and reset all settings (incl. wifi)!

Device Support:
feat: Add DemandFlow/QualityFlow, HRU eco/350, AutoTemp and HeatPump (WPU) settings and status labels
feat: rewritten i2c for HW rev 2, added itho query commands to debug page.
feat: add possibility to change settings of itho CVE units, use on your own risk
feat: move add-on settings to menu system settings

API:
feat: make API sensor update frequency configurable
feat: Add virtual remote buttons to API
feat: Add last command, command origin + timestamp to API

Remote support:
feat: Include support for RFT-RV and RFT-CO2 remotes (full join handshake not possible yet)
feat: Add remote hum/temp/co2/battery to api
feat: First try at calibration method for CC1101 modules (not fully functional yet)
feat: Improved RF message handling and decoding

Status info:
feat: Added possibility to readout status of internal device status
feat: Decode 31D9 message
feat: Decode 31DA message
feat: Itho internal device status available through web page and API
fix:  witch to percentages for HA Discovery support #31

Stability:
feat: Improve I2C reliability
feat: Mutex i2c tasks
feat: change init check to not rely on attiny init anymore
feat: move to LittleFS as filesystem

Settings:
feat: make hostname configurable
fix:  provide don't save config checkbox before reboot (otherwise changes using the file system editor were overwritten on reboot)
fix:  status page could keep updating even if page was left
fix:  Bugfix in MQTT password config code

Updates libs
  • Loading branch information
arjenhiemstra committed Nov 30, 2021
1 parent 1c38192 commit ff6933b
Show file tree
Hide file tree
Showing 28 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ url=https://github.com/arjenhiemstra/ESPAsyncWebServer
url = https://github.com/thijse/Arduino-Log
[submodule "software/lib/SPIFFS_FilePrint"]
path = software/lib/SPIFFS_FilePrint
url = https://github.com/PRosenb/SPIFFS_FilePrint
url=https://github.com/arjenhiemstra/FS_FilePrint
[submodule "software/lib/ESPAsyncTCP"]
path = software/lib/ESPAsyncTCP
url = https://github.com/me-no-dev/ESPAsyncTCP
8 changes: 4 additions & 4 deletions compiled_firmware_files/firmware.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"link":"https://github.com/arjenhiemstra/ithowifi/raw/master/compiled_firmware_files/hardware_rev_1/nrgitho-hw1-v2.2.1.bin"
},
"2": {
"latest_fw":"2.2.1",
"link":"https://github.com/arjenhiemstra/ithowifi/raw/master/compiled_firmware_files/hardware_rev_2/nrgitho-hw2-v2.2.1.bin"
"latest_fw":"2.3.0",
"link":"https://github.com/arjenhiemstra/ithowifi/raw/master/compiled_firmware_files/hardware_rev_2/nrgitho-hw2-v2.3.0.bin"
},
"NON-CVE 1": {
"latest_fw":"2.3-beta6",
"link":"https://github.com/arjenhiemstra/ithowifi/raw/master/compiled_firmware_files/non-cve_rev_1/nrgitho-noncve-v2.3-beta6.bin"
"latest_fw":"2.3.0",
"link":"https://github.com/arjenhiemstra/ithowifi/raw/master/compiled_firmware_files/non-cve_rev_1/nrgitho-noncve-v2.3.0.bin"
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions software/NRG_itho_wifi/02_JS_UI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ var html_wifisetup = `
<div><p>Scan results:</p></div>
</div>
<div id="wifiscanresult"></div>
<br><br><br>
</div>
</div>
<script>
Expand Down
17 changes: 8 additions & 9 deletions software/NRG_itho_wifi/NRG_itho_wifi.ino
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define FWVERSION "2.3-beta7"
#define FWVERSION "2.3.0"

#define LOGGING_INTERVAL 21600000 //Log system status at regular intervals
#define ENABLE_FAILSAVE_BOOT
Expand All @@ -8,25 +8,24 @@
/*
*
* Info to compile the firmware yourself:
* Build is done using Arduino IDE
* Build is done using Arduino IDE, used libs are downloaded when cloning from git.
*
* Used libs and versions are mentioned below.
*
* For HW rev 1:
* Select 'LOLIN(WEMOS)D1 R2 & mini' as board
*
* For HW rev 2:
* For CVE rev 2 (module for itho fans):
* Select 'ESP32 Dev Module' as board
* Choose partition scheme: Minimal SPIFFS (1.9 APP with OTA)
* goto file hardware.h and uncomment CVE and comment NON_CVE define
*
* For non CVE rev 1 (module with RJ45 connector):
* Select 'ESP32 Dev Module' as board
* Choose partition scheme: Minimal SPIFFS (1.9 APP with OTA)
* goto file hardware.h and uncomment NON_CVE and comment CVE define
*
*/

/*
Backlog:
* (todo) i2c always slave unless master
* (todo) Restructure MQTT topics
* (todo) Restore compatibility with HW rev 1 (probaly not possible anymore)
* (todo) recheck status format if failed on boot
* (todo) After timer, go back to fallback or last value
* (todo) Prevent crash when multiple webbroser tabs open to the add-on and retreiving settings
Expand Down
14 changes: 7 additions & 7 deletions software/NRG_itho_wifi/devices/wpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ struct ithoLabels ithoWPUStatusLabels[] {
{ "Compressed gas temp (°C)", "compressed-gas-temp_c" },
{ "Liquid temp (°C)", "liquid-temp_c" },
{ "Temp to source (°C)", "temp-to-source_c" },
{ "Temp out of source (°C)", "temp-out-of-source_c" },
{ "Temp from source (°C)", "temp-from-source_c" },
{ "CV supply temp (°C)", "cv-supply-temp_c" },
{ "CV return temp (°C)", "cv-return-temp_c" },
{ "CV pressure (Bar)", "cv-pressure_bar" },
Expand All @@ -518,7 +518,7 @@ struct ithoLabels ithoWPUStatusLabels[] {
{ "Free cooling", "free-cooling" },
{ "Expansion valve (pls)", "expansion-valve_pls" },
{ "Room temp (°C)", "room-temp_c" },
{ "Gevr room temp (°Csp)", "gevr-roomemp_csp" },
{ "Requested room temp (°Csp)", "requested-roomemp_csp" },
{ "Heat demand thermost. (%)", "heat-demand-thermost._perc" },
{ "Status", "status" },
{ "Sub_status", "sub_status" },
Expand Down Expand Up @@ -581,7 +581,7 @@ struct ithoLabels ithoWPUStatusLabels[] {
{ "Tariff low from thermostat", "tariff-low-from-thermostat" },
{ "Venting from thermostat", "venting-from-thermostat" },
{ "ECO selected on thermostat", "eco-selected-on-thermostat" },
{ "comfort selected on thermostat", "comfort-selected-on-thermostat" },
{ "Comfort selected on thermostat", "comfort-selected-on-thermostat" },
{ "Boiler blocked from thermostat", "boiler-blocked-from-thermostat" },
{ "Boiler boost from thermostat", "boiler-boost-from-thermostat" },
{ "Error_found", "error_found" },
Expand Down Expand Up @@ -609,7 +609,7 @@ struct ithoLabels ithoWPUStatusLabels[] {
{ "Time minutes (min)", "time-minutes_min" },
{ "time seconds (sec)", "time-seconds_sec" },
{ "Free cooling block time (min)", "free-cooling-block-time_min" },
{ "cooling temp control valve setpoint (%)", "cooling-temp-control-valve-setpoint_perc" },
{ "Cooling temp control valve setpoint (%)", "cooling-temp-control-valve-setpoint_perc" },
{ "CO valve position (%)", "co-valve-position_perc" },
{ "HRU blowout temp (°C)", "hru-blowout-temp_c" },
{ "HRU blowout flow (m3_h)", "hru-blowout-flow_m3h" },
Expand All @@ -622,9 +622,9 @@ struct ithoLabels ithoWPUStatusLabels[] {
{ "Free cooling on time (sec)", "free-cooling-on-time_sec" },
{ "Time CO valve start position (sec)", "time-co-valve-start-position_sec" },
{ "Reserve", "reserve" },
{ "E-concentration during stand-by (kWh)", "e-concentration-during-stand-by_kwh" },
{ "E-concentration during heating (kWh)", "e-concentration-during-heating_kwh" },
{ "E-concentration during DHW (kWh)", "e-concentration-during-dhw_kwh" },
{ "E-consumption during stand-by (kWh)", "e-consumption-during-stand-by_kwh" },
{ "E-consumption during heating (kWh)", "e-consumption-during-heating_kwh" },
{ "E-consumption during DHW (kWh)", "e-consumption-during-dhw_kwh" },
{ "E-consumption during cooling (kWh)", "e-consumption-during-cooling_kwh" },
{ "Minimum release time external cooling (sec)", "minimum-release-time-external-cooling_sec" },
{ "Block time-release external cooling (sec)", "block-time-release-external-cooling_sec" },
Expand Down
2 changes: 1 addition & 1 deletion software/lib/SPIFFS_FilePrint

0 comments on commit ff6933b

Please sign in to comment.