mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 16:06:38 +02:00
0.5.14 Bug fix mqtt payload & get FWVersion
Changes 0.5.14. - bug fix in mqtt payload handling thx to @klahus1 and silversurfer - small improvements in code styling - refactoring to get have the option to implement different parse for InfoCommands - Get FWVersion by REST API call - Display FWVersion in webui (only after REST API call)
This commit is contained in:
parent
16d348dc0b
commit
3e1b120b74
7 changed files with 160 additions and 110 deletions
|
@ -69,6 +69,7 @@ class app {
|
|||
void handleIntr(void);
|
||||
void cbMqtt(char* topic, byte* payload, unsigned int length);
|
||||
void saveValues(void);
|
||||
void resetPayload(Inverter<>* iv);
|
||||
String getStatistics(void);
|
||||
String getLiveData(void);
|
||||
String getJson(void);
|
||||
|
@ -147,9 +148,10 @@ class app {
|
|||
void loadDefaultConfig(void);
|
||||
void loadEEpconfig(void);
|
||||
void setupMqtt(void);
|
||||
|
||||
|
||||
bool buildPayload(uint8_t id);
|
||||
void processPayload(bool retransmit);
|
||||
void processPayload(bool retransmit, uint8_t cmd);
|
||||
|
||||
void sendMqttDiscoveryConfig(void);
|
||||
const char* getFieldDeviceClass(uint8_t fieldId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue