Skip to content

Commit

Permalink
1.20l
Browse files Browse the repository at this point in the history
  • Loading branch information
klausahrenberg committed Jan 30, 2021
1 parent dedb51c commit 2a204a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion WThermostat/src/WThermostat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "WThermostat_DLX_LH01.h"

#define APPLICATION "Thermostat"
#define VERSION "1.20k"
#define VERSION "1.20l"
#define FLAG_SETTINGS 0x20
#define DEBUG false

Expand Down
11 changes: 6 additions & 5 deletions WThermostat/src/WThermostat_ME81H.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public :
//actual temperature must be handled in processStatusCommand (byte 0x08)
this->byteTemperatureActual = NOT_SUPPORTED;
this->byteTemperatureTarget = 0x10;
this->byteTemperatureFloor = 0x2d;
this->byteTemperatureFloor = 0x00;
this->temperatureFactor = 1.0f;
this->byteSchedulesMode = 0x02;
this->byteLocked = 0x28;
Expand Down Expand Up @@ -96,12 +96,12 @@ protected :
} else {
//consume some unsupported commands
switch (cByte) {
case 0x66 :
/*case 0x66 :
//Temperature Scale C /
//MCU: C / 55 aa 03 07 00 05 66 04 00 01 00
//MCU: F / 55 aa 03 07 00 05 66 04 00 01 01
knownCommand = true;
break;
break;*/
case 0x13 :
//Temperature ceiling
//MCU: 35C / 55 aa 03 07 00 08 13 02 00 04 00 00 00 23
Expand Down Expand Up @@ -131,15 +131,16 @@ protected :
//MCU: 55 aa 03 07 00 08 65 02 00 04 00 00 00 01
knownCommand = true;
break;
/*case 0x68 :
case 0x66 :
// programming_mode - weekend (2 days off) / MCU: 55 aa 03 07 00 05 68 04 00 01 01
//01: 5+2 / 02: 6+1 / 03 7+0 day mode
knownCommand = true;
break;
case 0x2d :
//unknown Wifi state? / MCU: 55 aa 03 07 00 05 2d 05 00 01 00
knownCommand = true;
break;
case 0x24 :
/*case 0x24 :
//unknown Wifi state? / MCU: 55 aa 03 07 00 05 24 04 00 01 00
knownCommand = true;
break;*/
Expand Down
Binary file not shown.

0 comments on commit 2a204a1

Please sign in to comment.