mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
Test
This commit is contained in:
@@ -112,3 +112,4 @@ build_flags = ${common.build_flags} ${common.custom_flags}
|
|||||||
extra_scripts =
|
extra_scripts =
|
||||||
pre:scripts/pre_script.py
|
pre:scripts/pre_script.py
|
||||||
scripts/main_script.py
|
scripts/main_script.py
|
||||||
|
|
||||||
|
|||||||
@@ -1037,11 +1037,10 @@ void ems_setWarmWaterCirculation(bool activated) {
|
|||||||
EMS_TxTelegram.action = EMS_TX_TELEGRAM_WRITE;
|
EMS_TxTelegram.action = EMS_TX_TELEGRAM_WRITE;
|
||||||
EMS_TxTelegram.dest = EMS_Boiler.device_id;
|
EMS_TxTelegram.dest = EMS_Boiler.device_id;
|
||||||
EMS_TxTelegram.type = EMS_TYPE_UBAFlags;
|
EMS_TxTelegram.type = EMS_TYPE_UBAFlags;
|
||||||
EMS_TxTelegram.offset = EMS_OFFSET_UBAParameterWW_wwOneTime;
|
EMS_TxTelegram.offset = EMS_OFFSET_UBAParameterWW_wwCirulation;
|
||||||
EMS_TxTelegram.length = EMS_MIN_TELEGRAM_LENGTH+1;
|
EMS_TxTelegram.length = EMS_MIN_TELEGRAM_LENGTH;
|
||||||
EMS_TxTelegram.type_validate = EMS_ID_NONE; // don't validate
|
EMS_TxTelegram.type_validate = EMS_ID_NONE; // don't validate
|
||||||
EMS_TxTelegram.data[4] = 0x11;
|
EMS_TxTelegram.dataValue = (activated ? 0x22 : 0x02);
|
||||||
EMS_TxTelegram.data[5] = (activated ? 0x33 : 0x11);
|
|
||||||
|
|
||||||
EMS_TxQueue.push(EMS_TxTelegram);
|
EMS_TxQueue.push(EMS_TxTelegram);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
#define EMS_OFFSET_UBAParameterWW_wwtemp 2 // WW Temperature
|
#define EMS_OFFSET_UBAParameterWW_wwtemp 2 // WW Temperature
|
||||||
#define EMS_OFFSET_UBAParameterWW_wwactivated 1 // WW Activated
|
#define EMS_OFFSET_UBAParameterWW_wwactivated 1 // WW Activated
|
||||||
#define EMS_OFFSET_UBAParameterWW_wwOneTime 0x00 // WW OneTime loading
|
#define EMS_OFFSET_UBAParameterWW_wwOneTime 0x00 // WW OneTime loading
|
||||||
|
#define EMS_OFFSET_UBAParameterWW_wwCirulation 1 // WW circulation
|
||||||
#define EMS_OFFSET_UBAParameterWW_wwComfort 9 // WW is in comfort or eco mode
|
#define EMS_OFFSET_UBAParameterWW_wwComfort 9 // WW is in comfort or eco mode
|
||||||
#define EMS_VALUE_UBAParameterWW_wwComfort_Hot 0x00 // the value for hot
|
#define EMS_VALUE_UBAParameterWW_wwComfort_Hot 0x00 // the value for hot
|
||||||
#define EMS_VALUE_UBAParameterWW_wwComfort_Eco 0xD8 // the value for eco
|
#define EMS_VALUE_UBAParameterWW_wwComfort_Eco 0xD8 // the value for eco
|
||||||
|
|||||||
Reference in New Issue
Block a user