mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-09 23:16:38 +02:00
Merge branch 'main' of https://github.com/grindylow/ahoy
This commit is contained in:
commit
c35c86210f
8 changed files with 125 additions and 14 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "main.h"
|
||||
#include <RF24.h>
|
||||
#include <RF24_config.h>
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
|
@ -73,6 +74,9 @@ class app : public Main {
|
|||
|
||||
void saveValues(bool webSend);
|
||||
void updateCrc(void);
|
||||
void sendMqttDiscoveryConfig(void);
|
||||
const char* getFieldDeviceClass(uint8_t fieldId);
|
||||
const char* getFieldStateClass(uint8_t fieldId);
|
||||
|
||||
uint64_t Serial2u64(const char *val) {
|
||||
char tmp[3] = {0};
|
||||
|
@ -116,6 +120,7 @@ class app : public Main {
|
|||
uint16_t mMqttTicker;
|
||||
uint16_t mMqttInterval;
|
||||
bool mMqttActive;
|
||||
bool mMqttConfigSendState[MAX_NUM_INVERTERS];
|
||||
|
||||
// serial
|
||||
uint16_t mSerialTicker;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue