complied now
This commit is contained in:
parent
ac4316d659
commit
2eb06c1c25
15 changed files with 1091 additions and 516 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "ise_display_definitions.hpp"
|
||||
|
||||
#include <ESPMegaDisplay.hpp>
|
||||
#include <ESPMegaIoT.hpp>
|
||||
#include <TimeStructure.hpp>
|
||||
#include <DigitalInputCard.hpp>
|
||||
#include <DigitalOutputCard.hpp>
|
||||
|
|
@ -24,11 +25,12 @@ struct lightPosition {
|
|||
class ISEDisplay : public ESPMegaDisplay {
|
||||
public:
|
||||
ISEDisplay(HardwareSerial* adapter, const uint8_t *light_array, uint8_t row, uint8_t column);
|
||||
void begin(DigitalInputCard* inputCard, DigitalOutputCard* outputCard, ClimateCard* climateCard_daikin, ClimateCard* climateCard_york, RemoteVariable* pm_switch, RemoteVariable* pm_fan_speed);
|
||||
void begin(DigitalInputCard* inputCard, DigitalOutputCard* outputCard, ClimateCard* climateCard_daikin, ClimateCard* climateCard_york, RemoteVariable* pm_switch, RemoteVariable* pm_fan_speed, RemoteVariable* ac_lock, RemoteVariable* pm_lock);
|
||||
void updateLightGroupStatePageDashboard();
|
||||
void updateLightGroupStatePageStandby();
|
||||
void updateAirPurifierState();
|
||||
void updateAirPurifierStateStandby();
|
||||
void updateSystemtoggle();
|
||||
void updateDateTimeText(rtctime_t time);
|
||||
void updateWeather(char *weather_string);
|
||||
void updateTempOutside(float temp_outside);
|
||||
|
|
@ -54,6 +56,7 @@ class ISEDisplay : public ESPMegaDisplay {
|
|||
DigitalOutputCard *outputCard;
|
||||
ClimateCard *climateCard_daikin;
|
||||
ClimateCard *climateCard_york;
|
||||
ESPMegaIoT *iot;
|
||||
|
||||
const uint8_t *light_array;
|
||||
uint8_t row;
|
||||
|
|
@ -61,12 +64,18 @@ class ISEDisplay : public ESPMegaDisplay {
|
|||
|
||||
RemoteVariable *pm_switch;
|
||||
RemoteVariable *remote_pm_fan_speed;
|
||||
RemoteVariable *ac_lock;
|
||||
RemoteVariable *pm_lock;
|
||||
uint8_t outputCallbackHandle;
|
||||
uint8_t climateCallbackHandle;
|
||||
uint8_t time_since_last_ac_change;
|
||||
uint8_t user_mode;
|
||||
uint8_t ac_lock_state;
|
||||
uint8_t pm_lock_state;
|
||||
uint8_t ac_mode;
|
||||
uint8_t ac_fan_speed;
|
||||
uint8_t ac_temperature;
|
||||
bool ac_press_pending;
|
||||
uint8_t pm_fan_speed;
|
||||
uint8_t time_since_last_screen_update;
|
||||
u_int8_t lightLevelRow1;
|
||||
|
|
@ -78,13 +87,21 @@ class ISEDisplay : public ESPMegaDisplay {
|
|||
void updateuserACmode();
|
||||
void updateACfanSpeed();
|
||||
bool calculateLightGroupState();
|
||||
bool calculateAllState();
|
||||
void toggleSystem();
|
||||
void sendACIRcode();
|
||||
void setPMlockstate(bool is_pm_lock_on);
|
||||
void setAClockstate(bool is_ac_lock_on);
|
||||
void toggleACLock();
|
||||
void togglePMLock();
|
||||
void allOn();
|
||||
void toggleLightGroupState();
|
||||
void toggleLightGroupStateStandby();
|
||||
void toggleLightIndividual(uint8_t row);
|
||||
void toggleSliderLight(uint8_t row,uint8_t lightLevel);
|
||||
void togglePM();
|
||||
void togglePMStandby();
|
||||
void toggleAC();
|
||||
void setLightGroupState(uint8_t level);
|
||||
void toggleACStandby();
|
||||
void changeUserACmode();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue