mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-02 17:17:16 +02:00
* converted to "poor-man-ticker" using millis() for uptime, send and mqtt
* added inverter overview * added send count to statistics
This commit is contained in:
parent
89624f7f02
commit
2abd388726
8 changed files with 89 additions and 66 deletions
|
@ -40,9 +40,6 @@ class app : public Main {
|
|||
}
|
||||
|
||||
private:
|
||||
void sendTicker(void);
|
||||
void mqttTicker(void);
|
||||
|
||||
void showIndex(void);
|
||||
void showSetup(void);
|
||||
void showSave(void);
|
||||
|
@ -74,8 +71,8 @@ class app : public Main {
|
|||
|
||||
HmSystemType *mSys;
|
||||
|
||||
Ticker *mSendTicker;
|
||||
bool mFlagSend;
|
||||
uint32_t mSendTicker;
|
||||
uint16_t mSendInterval;
|
||||
|
||||
uint32_t mCmds[DBG_CMD_LIST_LEN+1];
|
||||
//uint32_t mChannelStat[4];
|
||||
|
@ -83,8 +80,8 @@ class app : public Main {
|
|||
|
||||
// mqtt
|
||||
mqtt mMqtt;
|
||||
Ticker *mMqttTicker;
|
||||
bool mMqttEvt;
|
||||
uint32_t mMqttTicker;
|
||||
uint16_t mMqttInterval;
|
||||
};
|
||||
|
||||
#endif /*__APP_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue