89 lines
4.6 KiB
C
89 lines
4.6 KiB
C
|
|
||
|
const String cs_configFile = "config_user.h";
|
||
|
const String cs_configPortalSSID = "powerMC_Config";
|
||
|
const String cs_connectionError = "Failed to establish connection, and timeout for the configuration portal expired. Restart.";
|
||
|
const String cs_connectedToWiFi = "Connected to WiFi";
|
||
|
const String cs_ssd1306Init = "SSD1306 display init";
|
||
|
const String cs_ssd1306NotFound = "SSD1306 display not found. Restart.";
|
||
|
const String cs_ina226Init = "INA226 sensor init";
|
||
|
const String cs_ina226ChipNotFound = "INA226 chip not found. Restart.";
|
||
|
const String cs_bme280Init = "BME280 sensor init";
|
||
|
const String cs_bme280NotFound = "Could not find BME280. Restart.";
|
||
|
const String cs_webserverInit = "Webserver init";
|
||
|
const String cs_rootPath = "/";
|
||
|
const String cs_jsonPath = "/json";
|
||
|
const String cs_configPath = "/config";
|
||
|
const String cs_saveConfigPath = "/saveConfig";
|
||
|
const String cs_demoMode1Path = "/demo1";
|
||
|
const String cs_demoMode2Path = "/demo2";
|
||
|
const String cs_demoMode3Path = "/demo3";
|
||
|
const String cs_resetESPPath = "/resetESP";
|
||
|
const String cs_resetWifiPath = "/resetWifi";
|
||
|
const String cs_checkUpdatePath = "/checkUpdate";
|
||
|
const String cs_updateFirmwareActionPath = "/updateFirmwareAction";
|
||
|
const String cs_readUpdateFirmwareStatusPath = "/readUpdateFirmwareStatus";
|
||
|
const String cs_handleCSSPath = "/css";
|
||
|
const String cs_enableWatchdog = "Enable the WatchDog";
|
||
|
const String cs_readCapacityFromEEPROM = "Read available capacity from EEPROM";
|
||
|
const String cs_readConfigFromEEPROM = "Read config from EEPROM";
|
||
|
const String cs_initializationComplete = "Initialization completed";
|
||
|
const String cs_separatorLine = "----------";
|
||
|
const String cs_busVoltageLabel = "Bus Voltage: ";
|
||
|
const String cs_shuntVoltageLabel = "Shunt Voltage: ";
|
||
|
const String cs_currentLabel = "Current: ";
|
||
|
const String cs_powerLabel = "Power: ";
|
||
|
const String cs_energyLabel = "Energy: ";
|
||
|
const String cs_temperatureLabel = "Temperature: ";
|
||
|
const String cs_humidityLabel = "Humidity: ";
|
||
|
const String cs_configDataLabel = "Config Data:";
|
||
|
const String cs_tempMinLabel = "Temp Min: ";
|
||
|
const String cs_tempMaxLabel = "Temp Max: ";
|
||
|
const String cs_humiMinLabel = "Humi Min: ";
|
||
|
const String cs_humiMaxLabel = "Humi Max: ";
|
||
|
const String cs_currentMinLabel = "Current Min: ";
|
||
|
const String cs_currentMaxLabel = "Current Max: ";
|
||
|
const String cs_shuntVoltageDropLabel = "Shunt voltage drop: ";
|
||
|
const String cs_shuntMaxCurrentLabel = "Shunt max current: ";
|
||
|
const String cs_timeIna226RefreshLabel = "Ina226 refresh time: ";
|
||
|
const String cs_checksumLabel = "Checksum: ";
|
||
|
const String cs_separator2 = "------------------------";
|
||
|
const String cs_startingFirmwareUpdate = "Starting firmware update ";
|
||
|
const String cs_finish = "finish";
|
||
|
const String cs_noUpdatesAvailable = "No Updates available.";
|
||
|
const String cs_fwUpdSuccess = "Firmware update successful, resetting in a few seconds.";
|
||
|
const String cs_unknownStatus = "Unknown status.";
|
||
|
const String cs_fwUpdRunning = "Firmware-Update is running...";
|
||
|
const String cs_disablingWatchdog = "Disabling watchdog.";
|
||
|
const String cs_ina226ChipNotFoundRestart = "INA226 chip not found. Restart.";
|
||
|
const String cs_wifiDisconnectedRestart = "WiFi connection disconnected. Restart.";
|
||
|
const String cs_textHtml = "text/html";
|
||
|
const String cs_textCSS = "text/css";
|
||
|
const String cs_busVoltageID = "busVoltage";
|
||
|
const String cs_shuntVoltageID = "shuntVoltage";
|
||
|
const String cs_currentID = "current";
|
||
|
const String cs_powerID = "power";
|
||
|
const String cs_energyID = "energy";
|
||
|
const String cs_tempID = "temp";
|
||
|
const String cs_humidityID = "humidity";
|
||
|
const String cs_timeIna226RefreshID = "time_ina226_refresh";
|
||
|
const String cs_errorCodeID = "errorCode";
|
||
|
const String cs_applicationJson = "application/json";
|
||
|
const String cs_ampereUnit = "A";
|
||
|
const String cs_wattUnit = "W";
|
||
|
const String cs_wattHourUnit = "Wh";
|
||
|
const String cs_voltageUnit = "V";
|
||
|
const String cs_stateOfChargeLabel = "SOC:";
|
||
|
const String cs_percentageUnit = "%";
|
||
|
const String cs_savingGlobalEnergyToEEPROM = "Saving global energy to EEPROM";
|
||
|
const String cs_dataEnergy = "data.energy: ";
|
||
|
const String cs_dataChecksum = "data.checksum: ";
|
||
|
const String cs_eepromWriteComplete = "EEPROM write energy complete ";
|
||
|
const String cs_readChecksum = "Read Checksum: ";
|
||
|
const String cs_calculatedChecksum = "Calculated Checksum: ";
|
||
|
const String cs_eepromReadComplete = "EEPROM read energy complete ";
|
||
|
const String cs_eepromValueDamaged = "EEPROM value for capacity is damaged, returning 0.0";
|
||
|
const String cs_errorCode = "Error code: 0b";
|
||
|
const String cs_newChecksum = "New calculated checksum = ";
|
||
|
const String cs_eepromConfigAfterRead = "After EEPROM read - ";
|
||
|
const String cs_eepromSetConfigDefault = "EEPROM-Daten beschädigt! Setze auf Standardwerte.";
|