strings_progmem.h 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. PROGMEM const char PGMStr_FIRMWARE_NAME[] = FIRMWARE_NAME;
  2. PROGMEM const char PGMStr_FIRMWARE_VERSION[] = FIRMWARE_VERSION;
  3. PROGMEM const char PGMStr_FIRMWARE_URL[] = FIRMWARE_URL;
  4. PROGMEM const char PGMStr_FIRMWARE_COPYRIGHT[] = FIRMWARE_COPYRIGHT;
  5. PROGMEM const char PGMStr_FIRMWARE_COPYRIGHT_URL[] = FIRMWARE_COPYRIGHT_URL;
  6. PROGMEM const char PGMStr_FIRMWARE_SHORTNAME[] = FIRMWARE_SHORTNAME;
  7. PROGMEM const char PGMStr_changedTo[] = "changed to";
  8. PROGMEM const char PGMStr_preset[] = "preset";
  9. PROGMEM const char PGMStr_heatingMode[] = "heatingMode";
  10. PROGMEM const char PGMStr_heatingPause[] = "heatingPause";
  11. PROGMEM const char PGMStr_setTemp[] = "setTemp";
  12. PROGMEM const char PGMStr_currentSetTemp[] = "currSetTemp";
  13. PROGMEM const char PGMStr_setTempLow[] = "setTempLow";
  14. PROGMEM const char PGMStr_setTempLow2[] = "setTempLow2";
  15. PROGMEM const char PGMStr_switchHeating[] = "switch heating";
  16. PROGMEM const char PGMStr_mqttRetainedSave[] = "MQTT retained save";
  17. PROGMEM const char PGMStr_heating[] = "heating";
  18. PROGMEM const char PGMStr_thermostat[] = "THST";
  19. PROGMEM const char PGMStr_WiFi[] = "WiFi";
  20. //PROGMEM const char PGMStr_connectedTo[] = "connected to";
  21. //PROGMEM const char PGMStr_withIP[] = "with IP";
  22. PROGMEM const char PGMStr_MQTT[] = "MQTT";
  23. PROGMEM const char PGMStr_connectedTo[] = "connected to";
  24. PROGMEM const char PGMStr_reconnects[] = "reconnects";
  25. PROGMEM const char PGMStr_connectedFailed[] = "connect FAILED";
  26. PROGMEM const char PGMStr_enabled[] = "enabled";
  27. PROGMEM const char PGMStr_disabled[] = "disabled";
  28. PROGMEM const char compile_date[] = __DATE__ " " __TIME__;
  29. PROGMEM const char PGMStr_confDevWiFi[] = "confDevWiFi";
  30. PROGMEM const char PGMStr_confWeb[] = "confWeb";
  31. PROGMEM const char PGMStr_confMqtt[] = "confMqtt";
  32. PROGMEM const char PGMStr_confAdd[] = "confAdd";
  33. PROGMEM const char PGMStr_confTime[] = "confTime";
  34. PROGMEM const char PGMStr_confLog[] = "confLog";
  35. PROGMEM const char PGMStr_confSens[] = "confSens";
  36. PROGMEM const char PGMStr_confDisplay[] = "confDisplay";
  37. PROGMEM const char PGMStr_confTherm[] = "confTherm";
  38. PROGMEM const char PGMStr_confThermAdv[] = "confThermAdv";
  39. //const char PGMStr_delimiter[] PROGMEM = "--------";
  40. PROGMEM const char PGMStr_MQTTState_DIS[] = "DISABLED";
  41. PROGMEM const char PGMStr_MQTTState_M4[] = "CONNECTION_TIMEOUT";
  42. PROGMEM const char PGMStr_MQTTState_M3[] = "CONNECTION_LOST";
  43. PROGMEM const char PGMStr_MQTTState_M2[] = "CONNECT_FAILED";
  44. PROGMEM const char PGMStr_MQTTState_M1[] = "DISCONNECTED";
  45. PROGMEM const char PGMStr_MQTTState_0[] = "CONNECTED";
  46. PROGMEM const char PGMStr_MQTTState_1[] = "CONNECT_BAD_PROTOCOL";
  47. PROGMEM const char PGMStr_MQTTState_2[] = "CONNECT_BAD_CLIENT_ID";
  48. PROGMEM const char PGMStr_MQTTState_3[] = "CONNECT_UNAVAILABLE";
  49. PROGMEM const char PGMStr_MQTTState_4[] = "CONNECT_BAD_CREDENTIALS";
  50. PROGMEM const char PGMStr_MQTTState_5[] = "CONNECT_UNAUTHORIZED";
  51. PROGMEM const char *const PGMStr_MQTTStates[] =
  52. {
  53. PGMStr_MQTTState_M4,
  54. PGMStr_MQTTState_M3,
  55. PGMStr_MQTTState_M2,
  56. PGMStr_MQTTState_M1,
  57. PGMStr_MQTTState_0,
  58. PGMStr_MQTTState_1,
  59. PGMStr_MQTTState_2,
  60. PGMStr_MQTTState_3,
  61. PGMStr_MQTTState_4,
  62. PGMStr_MQTTState_5,
  63. };
  64. PROGMEM const char PGMStr_WEB_DEBUGBUILD[] = "&nbsp;<span style='color:red;font-weight:bold;'>DEBUG BUILD</span>";
  65. PROGMEM const char PGMStr_web_setConf[] = "WEB setConf: '%s' => '%s'";
  66. PROGMEM const char PGMStr_safeConf_configFileWritten[] = "CONF: config file '%s' written.";
  67. PROGMEM const char PGMStr_safeConf_configFileWriteError[] = "CONF: ERROR - failed to open file '%s' for writing.";
  68. PROGMEM const char PGMStr_loadConf_ErrorOpenFile[] = "ERR: Failed to open file '%s'.";
  69. PROGMEM const char PGMStr_loadConf_FileNotExist[] = "CONF: could not restore from file '%s' - does not exist.";
  70. PROGMEM const char PGMStr_loadConf_restoredConf[] = "CONF: restored config from file '%s', size=%d";
  71. PROGMEM const char PGMStr_loadConf_storedSecrets_EEPROM[] = "CONF: stored secrets to EEPROM.";
  72. PROGMEM const char PGMStr_loadConf_errorStoreSecrets_EEPROM[] = "CONF: ERROR storing secrets to EEPROM.";
  73. PROGMEM const char PGMStr_loadConf_restoredSecrets_EEPROM[] = "CONF: restored secrets from EEPROM. %d bytes read.";
  74. PROGMEM const char PGMStr_loadConf_restoredSecrets_fillUp_EEPROM[] = "CONF: 'secrets' size in EEPROM was %d bytes smaller than the data struct.";
  75. PROGMEM const char PGMStr_loadConf_errorRestoreSecrets_EEPROM[] = "CONF: ERROR restoring secrets from EEPROM. %d bytes stored but confSecrets struct has a size of %d.";
  76. PROGMEM const char PGMStr_loadConf_errorRestoreSecretsExceedSize_EEPROM[] = "CONF: ERROR restoring secrets from EEPROM. Stored bytes exceed EEPROM_SIZE.";
  77. PROGMEM const char PGMStr_loadConf_encryptedSecretsLoaded[] = "CONF: encrypted secrets loaded.";
  78. PROGMEM const char PGMStr_conf_secretsEncrypted[] = "CONF: secrets are encrypted.";
  79. PROGMEM const char PGMStr_conf_secretsNotEncrypted[] = "CONF: secrets are NOT encrypted.";
  80. PROGMEM const char PGMStr_conf_encryptingSecrets[] = "CONF: encrypting secrets...";
  81. PROGMEM const char PGMStr_conf_encryptingSecretsDone[] = "CONF: secrets encryption DONE";
  82. PROGMEM const char PGMStr_conf_alreadyEncrypted[] = "CONF: already encrypted";
  83. PROGMEM const char PGMStr_conf_encryptionOff[] = "CONF: switching secrets encryption off...";
  84. PROGMEM const char PGMStr_conf_encryptionOffDone[] = "CONF: secrets encryption is now turned off. all credentials were deleted. please re-enter WiFi credentials before reboot!";
  85. PROGMEM const char PGMStr_conf_pendingConfChanges[] = "CONF: pending config changes. Execute 'saveconf' to save or 'loadconf' to discard.";
  86. PROGMEM const char PGMStr_conf_restartRequired[] = "CONF: config changes require restart. Remember 'saveconf' before!";
  87. PROGMEM const char PGMStr_conf_mqttReconnectRequired[] = "CONF: MQTT config changes require connection reset -> will be done automatically on 'saveconf'.";
  88. PROGMEM const char PGMStr_conf_clearedWifiCreds[] = "CONF: cleared WiFi credentials.";
  89. PROGMEM const char PGMStr_conf_clearedCreds[] = "CONF: cleared credentials.";
  90. PROGMEM const char PGMStr_conf_save_nothingChanged[] = "CONF: nothing changed. Use saveconf /f to force.";
  91. PROGMEM const char PGMStr_conf_saveToFS_done[] = "CONF: saving to FS... DONE";
  92. PROGMEM const char PGMStr_conf_saving[] = "CONF: saving...";
  93. PROGMEM const char PGMStr_conf_loading[] = "CONF: loading configuration...";
  94. PROGMEM const char PGMStr_conf_loading_done[] = "CONF: loading configuration... DONE";
  95. PROGMEM const char PGMStr_conf_deleting[] = "CONF: deleting configuration...";
  96. PROGMEM const char PGMStr_setConf[] = "CONF: '%s' set to '%s'";
  97. PROGMEM const char PGMStr_conf_setConf_unknownParamName[] = "CONF: ERROR - setConf - unknown parameter name '%s'.";
  98. PROGMEM const char PGMStr_conf_defaultsLoaded[] = "CONF: default config loaded.";
  99. PROGMEM const char PGMStr_commands_encrypt[] = "WARNING: Secrets encryption cannot be reverted. All credentials will be deleted,";
  100. PROGMEM const char PGMStr_commands_encrypt2[] = "when the feature is switched off again. Use encrypt /y to proceed.";
  101. PROGMEM const char PGMStr_commands_decrypt[] = "Secrets decryption is not implemented for security reasons.";
  102. PROGMEM const char PGMStr_commands_encryptoff[] = "Use 'encryptoff /y' to disable encryption. WARNING: All credentials will be deleted!";
  103. PROGMEM const char PGMStr_filesystem_formatting[] = "FS: formatting - please wait 30 secs...";
  104. PROGMEM const char PGMStr_filesystem_formatComplete[] = "FS: format complete.";
  105. PROGMEM const char PGMStr_filesystem_formatFailed[] = "FS: ERROR - formatting failed.";
  106. PROGMEM const char PGMStr_filesystem_mounting[] = "FS: mounting...";
  107. PROGMEM const char PGMStr_filesystem_mounting_error[] = "FS: Failed to mount LittleFS.";
  108. PROGMEM const char PGMStr_filesystem_ls[] = "FS: ls";
  109. PROGMEM const char PGMStr_filesystem_ls_info[] = "FS: used: %d, total: %d";
  110. PROGMEM const char PGMStr_filesystem_del[] = "FS: deleted file '%s'";
  111. PROGMEM const char PGMStr_filesystem_del_error[] = "FS: ERROR - could not delete file '%s'";
  112. PROGMEM const char PGMStr_filesystem_ren[] = "FS: renamed file '%s' to '%s'";
  113. PROGMEM const char PGMStr_filesystem_uploadStarted[] = "FS: FileUpload started. Filename: %s";
  114. PROGMEM const char PGMStr_filesystem_uploadFinished[] = "FS: FileUpload finished. total received size: %d";
  115. PROGMEM const char PGMStr_filesystem_uploadFailed[] = "FS: FileUpload FAILED. total received size: %d";
  116. PROGMEM const char PGMStr_filesystem_error_notFound[] = "FS: ERROR - file '%s' not found";
  117. PROGMEM const char PGMStr_console_line_hr[] = "------------------------------";
  118. PROGMEM const char PGMStr_setup_APmode_started[] = "%s: AP-MODE started, SSID: %s, PW: %s";
  119. PROGMEM const char PGMStr_setup_APmode_stopped[] = "%s: AP-MODE stopped";
  120. PROGMEM const char PGMStr_setup_APmode_openNet[] = "%s: AP-MODE configured with SSID: %s, open network";
  121. PROGMEM const char PGMStr_setup_APmode_withPassword[] = "%s: AP-MODE configured with SSID: %s, PW: %s";
  122. PROGMEM const char PGMStr_system_setupComplete[] = "SYS: setup complete.";
  123. PROGMEM const char PGMStr_ON[] = "ON";
  124. PROGMEM const char PGMStr_OFF[] = "OFF";