mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-06 04:44:50 +01:00
Added configuration of CMT modules frequency to webapp
This commit is contained in:
@@ -84,6 +84,7 @@ struct CONFIG_T {
|
||||
uint32_t Dtu_PollInterval;
|
||||
uint8_t Dtu_NrfPaLevel;
|
||||
int8_t Dtu_CmtPaLevel;
|
||||
uint32_t Dtu_CmtFrequency;
|
||||
|
||||
bool Mqtt_Hass_Enabled;
|
||||
bool Mqtt_Hass_Retain;
|
||||
|
||||
@@ -13,6 +13,7 @@ enum WebApiError {
|
||||
DtuSerialZero,
|
||||
DtuPollZero,
|
||||
DtuInvalidPowerLevel,
|
||||
DtuInvalidCmtFrequency,
|
||||
|
||||
ConfigBase = 3000,
|
||||
ConfigNotDeleted,
|
||||
|
||||
@@ -78,6 +78,7 @@
|
||||
#define DTU_POLL_INTERVAL 5
|
||||
#define DTU_NRF_PA_LEVEL 0
|
||||
#define DTU_CMT_PA_LEVEL 0
|
||||
#define DTU_CMT_FREQUENCY 865000
|
||||
|
||||
#define MQTT_HASS_ENABLED false
|
||||
#define MQTT_HASS_EXPIRE true
|
||||
|
||||
Reference in New Issue
Block a user