Improve efficiency (#21)
- Change to new One Wire Sensors that are no fakes - Increase chamber temperature Reviewed-on: #21 Co-authored-by: localhorst <localhorst@mosad.xyz> Co-committed-by: localhorst <localhorst@mosad.xyz>
This commit is contained in:
parent
999af9d888
commit
a72c0673b1
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#define RETURN_FLOW_TEMPERATURE_LOWER_LIMIT_DAY 30.0
|
#define RETURN_FLOW_TEMPERATURE_LOWER_LIMIT_DAY 30.0
|
||||||
#define RETURN_FLOW_TEMPERATURE_LOWER_LIMIT_NIGHT 25.0
|
#define RETURN_FLOW_TEMPERATURE_LOWER_LIMIT_NIGHT 25.0
|
||||||
#define CHAMPER_TEMPERATURE_TARGET 70.0
|
#define CHAMPER_TEMPERATURE_TARGET 80.0
|
||||||
#define BURNER_FAULT_DETECTION_THRESHOLD (60U * 3U) // Detect burner fault if after 3 minutes no burner start detected
|
#define BURNER_FAULT_DETECTION_THRESHOLD (60U * 3U) // Detect burner fault if after 3 minutes no burner start detected
|
||||||
|
|
||||||
static const char *TAG = "smart-oil-heater-control-system-control";
|
static const char *TAG = "smart-oil-heater-control-system-control";
|
||||||
@ -98,7 +98,7 @@ void taskControl(void *pvParameters)
|
|||||||
|
|
||||||
if (bHeatingInAction == true)
|
if (bHeatingInAction == true)
|
||||||
{
|
{
|
||||||
if (getChamberTemperature().fCurrentValue >= currentControlEntry.fChamberTemperature)
|
if ((getChamberTemperature().fCurrentValue >= currentControlEntry.fChamberTemperature) || (getChamberTemperature().predict60s.fValue >= currentControlEntry.fChamberTemperature))
|
||||||
{
|
{
|
||||||
ESP_LOGI(TAG, "Chamber Target Temperature reached: Disable burner");
|
ESP_LOGI(TAG, "Chamber Target Temperature reached: Disable burner");
|
||||||
bHeatingInAction = false;
|
bHeatingInAction = false;
|
||||||
|
@ -16,10 +16,10 @@ static const char *TAG = "smart-oil-heater-control-system-inputs";
|
|||||||
const uint8_t uBurnerFaultPin = 19U;
|
const uint8_t uBurnerFaultPin = 19U;
|
||||||
const uint8_t uDS18B20Pin = 4U;
|
const uint8_t uDS18B20Pin = 4U;
|
||||||
|
|
||||||
const onewire_addr_t uChamperTempSensorAddr = 0x3e0000001754be28;
|
const onewire_addr_t uChamperTempSensorAddr = 0xd00000108cd01d28;
|
||||||
const onewire_addr_t uOutdoorTempSensorAddr = 0x880000001648e328;
|
const onewire_addr_t uOutdoorTempSensorAddr = 0x78000000c6c2f728;
|
||||||
const onewire_addr_t uInletFlowTempSensorAddr = 0xe59cdef51e64ff28;
|
const onewire_addr_t uInletFlowTempSensorAddr = 0x410000108b8c0628;
|
||||||
const onewire_addr_t uReturnFlowTempSensorAddr = 0xa7a8e1531f64ff28;
|
const onewire_addr_t uReturnFlowTempSensorAddr = 0x90000108cc77c28;
|
||||||
|
|
||||||
onewire_addr_t uOneWireAddresses[MAX_DN18B20_SENSORS];
|
onewire_addr_t uOneWireAddresses[MAX_DN18B20_SENSORS];
|
||||||
float fDS18B20Temps[MAX_DN18B20_SENSORS];
|
float fDS18B20Temps[MAX_DN18B20_SENSORS];
|
||||||
|
Loading…
Reference in New Issue
Block a user