mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-31 22:16:32 +03:00
minor text changes
This commit is contained in:
@@ -56,7 +56,7 @@ void IRAM_ATTR AnalogSensor::freqIrq2() {
|
||||
#endif
|
||||
|
||||
void AnalogSensor::start(const bool factory_settings) {
|
||||
// add hardcode sensors for BBQKees gateway boards
|
||||
// add hardcoded sensors for BBQKees gateway boards
|
||||
if (factory_settings && EMSESP::system_.board_profile() == "E32V2_2") {
|
||||
EMSESP::webCustomizationService.update([&](WebCustomization & settings) {
|
||||
auto newSensor = AnalogCustomization();
|
||||
|
||||
@@ -2582,7 +2582,7 @@ bool System::command_info(const char * value, const int8_t id, JsonObject output
|
||||
#endif
|
||||
|
||||
// Modbus Status
|
||||
node = output["Modbus"].to<JsonObject>();
|
||||
node = output["modbus"].to<JsonObject>();
|
||||
node["enabled"] = EMSESP::system_.modbus_enabled_;
|
||||
if (EMSESP::system_.modbus_enabled_) {
|
||||
node["maxClients"] = EMSESP::system_.modbus_max_clients_;
|
||||
@@ -2598,7 +2598,8 @@ bool System::command_info(const char * value, const int8_t id, JsonObject output
|
||||
node["temperatureSensorFails"] = EMSESP::temperaturesensor_.fails();
|
||||
}
|
||||
|
||||
node = output["Analog"].to<JsonObject>();
|
||||
// Analog Status
|
||||
node = output["analog"].to<JsonObject>();
|
||||
node["enabled"] = EMSESP::analog_enabled();
|
||||
if (EMSESP::analog_enabled()) {
|
||||
node["analogSensors"] = EMSESP::analogsensor_.count_entities();
|
||||
@@ -2982,7 +2983,7 @@ bool System::ntp_connected() {
|
||||
return ntp_connected_;
|
||||
}
|
||||
|
||||
// see if its a BBQKees Gateway by checking the efuse values
|
||||
// see if its a BBQKees Gateway by checking the eFuse values
|
||||
String System::getBBQKeesGatewayDetails(uint8_t detail) {
|
||||
#ifndef EMSESP_STANDALONE
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user