2017-09-02 13:37:02 +01:00
|
|
|
/*
|
|
|
|
en-GB.h - localization for English - United Kingdom for Sonoff-Tasmota
|
|
|
|
|
2019-01-01 12:55:01 +00:00
|
|
|
Copyright (C) 2019 Theo Arends
|
2017-09-02 13:37:02 +01:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2017-10-18 17:22:34 +01:00
|
|
|
#ifndef _LANGUAGE_EN_GB_H_
|
|
|
|
#define _LANGUAGE_EN_GB_H_
|
|
|
|
|
2017-09-02 13:37:02 +01:00
|
|
|
/*************************** ATTENTION *******************************\
|
|
|
|
*
|
|
|
|
* Due to memory constraints only UTF-8 is supported.
|
2017-10-18 17:22:34 +01:00
|
|
|
* To save code space keep text as short as possible.
|
2017-09-02 13:37:02 +01:00
|
|
|
* Time and Date provided by SDK can not be localized (yet).
|
|
|
|
* Use online command StateText to translate ON, OFF, HOLD and TOGGLE.
|
|
|
|
* Use online command Prefix to translate cmnd, stat and tele.
|
|
|
|
*
|
2018-10-05 16:54:12 +01:00
|
|
|
* Updated until v6.2.1.11
|
2017-09-02 13:37:02 +01:00
|
|
|
\*********************************************************************/
|
|
|
|
|
2018-01-24 16:31:20 +00:00
|
|
|
//#define LANGUAGE_MODULE_NAME // Enable to display "Module Generic" (ie Spanish), Disable to display "Generic Module" (ie English)
|
2018-10-03 12:55:07 +01:00
|
|
|
// https://www.science.co.il/language/Locale-codes.php
|
2018-05-17 14:36:45 +01:00
|
|
|
#define LANGUAGE_LCID 2057
|
2018-03-10 13:51:40 +00:00
|
|
|
// HTML (ISO 639-1) Language Code
|
|
|
|
#define D_HTML_LANGUAGE "en"
|
|
|
|
|
2017-09-02 13:37:02 +01:00
|
|
|
// "2017-03-07T11:08:02" - ISO8601:2004
|
|
|
|
#define D_YEAR_MONTH_SEPARATOR "-"
|
|
|
|
#define D_MONTH_DAY_SEPARATOR "-"
|
|
|
|
#define D_DATE_TIME_SEPARATOR "T"
|
|
|
|
#define D_HOUR_MINUTE_SEPARATOR ":"
|
|
|
|
#define D_MINUTE_SECOND_SEPARATOR ":"
|
|
|
|
|
|
|
|
#define D_DAY3LIST "SunMonTueWedThuFriSat"
|
|
|
|
#define D_MONTH3LIST "JanFebMarAprMayJunJulAugSepOctNovDec"
|
|
|
|
|
|
|
|
// Non JSON decimal separator
|
|
|
|
#define D_DECIMAL_SEPARATOR "."
|
|
|
|
|
|
|
|
// Common
|
|
|
|
#define D_ADMIN "Admin"
|
|
|
|
#define D_AIR_QUALITY "Air quality"
|
|
|
|
#define D_AP "AP" // Access Point
|
|
|
|
#define D_AS "as"
|
|
|
|
#define D_AUTO "AUTO"
|
|
|
|
#define D_BLINK "Blink"
|
|
|
|
#define D_BLINKOFF "BlinkOff"
|
|
|
|
#define D_BOOT_COUNT "Boot Count"
|
|
|
|
#define D_BRIGHTLIGHT "Bright"
|
2018-09-02 12:01:08 +01:00
|
|
|
#define D_BSSID "BSSId"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_BUTTON "Button"
|
2017-12-01 14:59:53 +00:00
|
|
|
#define D_BY "by" // Written by me
|
2018-01-06 16:34:42 +00:00
|
|
|
#define D_BYTES "Bytes"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_CELSIUS "Celsius"
|
2018-09-02 12:01:08 +01:00
|
|
|
#define D_CHANNEL "Channel"
|
2017-12-22 13:55:24 +00:00
|
|
|
#define D_CO2 "Carbon dioxide"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_CODE "code" // Button code
|
|
|
|
#define D_COLDLIGHT "Cold"
|
|
|
|
#define D_COMMAND "Command"
|
|
|
|
#define D_CONNECTED "Connected"
|
|
|
|
#define D_COUNT "Count"
|
|
|
|
#define D_COUNTER "Counter"
|
|
|
|
#define D_CURRENT "Current" // As in Voltage and Current
|
|
|
|
#define D_DATA "Data"
|
|
|
|
#define D_DARKLIGHT "Dark"
|
|
|
|
#define D_DEBUG "Debug"
|
|
|
|
#define D_DISABLED "Disabled"
|
2018-04-20 13:31:09 +01:00
|
|
|
#define D_DISTANCE "Distance"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_DNS_SERVER "DNS Server"
|
|
|
|
#define D_DONE "Done"
|
|
|
|
#define D_DST_TIME "DST"
|
2018-04-01 20:54:15 +01:00
|
|
|
#define D_ECO2 "eCO2"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_EMULATION "Emulation"
|
|
|
|
#define D_ENABLED "Enabled"
|
|
|
|
#define D_ERASE "Erase"
|
|
|
|
#define D_ERROR "Error"
|
|
|
|
#define D_FAHRENHEIT "Fahrenheit"
|
|
|
|
#define D_FAILED "Failed"
|
|
|
|
#define D_FALLBACK "Fallback"
|
|
|
|
#define D_FALLBACK_TOPIC "Fallback Topic"
|
|
|
|
#define D_FALSE "False"
|
|
|
|
#define D_FILE "File"
|
2019-03-23 23:26:03 +00:00
|
|
|
#define D_FLOW_RATE "Flow rate"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_FREE_MEMORY "Free Memory"
|
2018-05-11 13:44:00 +01:00
|
|
|
#define D_FREQUENCY "Frequency"
|
2017-12-06 16:16:16 +00:00
|
|
|
#define D_GAS "Gas"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_GATEWAY "Gateway"
|
|
|
|
#define D_GROUP "Group"
|
|
|
|
#define D_HOST "Host"
|
|
|
|
#define D_HOSTNAME "Hostname"
|
|
|
|
#define D_HUMIDITY "Humidity"
|
|
|
|
#define D_ILLUMINANCE "Illuminance"
|
|
|
|
#define D_IMMEDIATE "immediate" // Button immediate
|
|
|
|
#define D_INDEX "Index"
|
|
|
|
#define D_INFO "Info"
|
2018-05-12 20:15:59 +01:00
|
|
|
#define D_INFRARED "Infrared"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_INITIALIZED "Initialized"
|
|
|
|
#define D_IP_ADDRESS "IP Address"
|
|
|
|
#define D_LIGHT "Light"
|
|
|
|
#define D_LWT "LWT"
|
|
|
|
#define D_MODULE "Module"
|
|
|
|
#define D_MQTT "MQTT"
|
|
|
|
#define D_MULTI_PRESS "multi-press"
|
|
|
|
#define D_NOISE "Noise"
|
|
|
|
#define D_NONE "None"
|
|
|
|
#define D_OFF "Off"
|
|
|
|
#define D_OFFLINE "Offline"
|
|
|
|
#define D_OK "Ok"
|
|
|
|
#define D_ON "On"
|
|
|
|
#define D_ONLINE "Online"
|
|
|
|
#define D_PASSWORD "Password"
|
|
|
|
#define D_PORT "Port"
|
|
|
|
#define D_POWER_FACTOR "Power Factor"
|
|
|
|
#define D_POWERUSAGE "Power"
|
2018-05-14 13:04:10 +01:00
|
|
|
#define D_POWERUSAGE_ACTIVE "Active Power"
|
|
|
|
#define D_POWERUSAGE_APPARENT "Apparent Power"
|
|
|
|
#define D_POWERUSAGE_REACTIVE "Reactive Power"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_PRESSURE "Pressure"
|
2017-10-08 15:51:05 +01:00
|
|
|
#define D_PRESSUREATSEALEVEL "SeaPressure"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_PROGRAM_FLASH_SIZE "Program Flash Size"
|
|
|
|
#define D_PROGRAM_SIZE "Program Size"
|
|
|
|
#define D_PROJECT "Project"
|
2018-12-11 17:00:12 +00:00
|
|
|
#define D_RAIN "Rain"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_RECEIVED "Received"
|
|
|
|
#define D_RESTART "Restart"
|
|
|
|
#define D_RESTARTING "Restarting"
|
|
|
|
#define D_RESTART_REASON "Restart Reason"
|
|
|
|
#define D_RESTORE "restore"
|
|
|
|
#define D_RETAINED "retained"
|
2018-04-12 13:01:43 +01:00
|
|
|
#define D_RULE "Rule"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_SAVE "Save"
|
|
|
|
#define D_SENSOR "Sensor"
|
|
|
|
#define D_SSID "SSId"
|
|
|
|
#define D_START "Start"
|
|
|
|
#define D_STD_TIME "STD"
|
|
|
|
#define D_STOP "Stop"
|
|
|
|
#define D_SUBNET_MASK "Subnet Mask"
|
2017-09-26 14:10:58 +01:00
|
|
|
#define D_SUBSCRIBE_TO "Subscribe to"
|
Rules: Trigger Event with MQTT Subscriptions
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
You can subscribe a MQTT topic and assign an event name. Once we received subscribed MQTT message, an event will be automatically triggered. So you can set up a rule with "ON EVENT#<event_name> DO ..." to do whatever you want based on this MQTT message. The payload is passed as a parameter once the event been triggered. If the payload is in JSON format, you are able to get the value of specified key as parameter.
For example, if you have a Tasmota based thermostat and multiple temperature sensors in different place, usually you have to set up a centre home automation system like Domoticz to control the thermostat. Right now, with this new feature, you can write a rule to do this.
Two new commands in Rules:
1. Subscribe
Subscribe a MQTT topic (with or without key) and assign an event name to it.
Command format:
Subscribe [<event_name>, <topic> [, <key>]]
This command will subscribe a <topic> and give it an event name <event_name>.
The optional parameter <key> is for parse the specified key/value from MQTT message
payload with JSON format.
In order to parse value from two level JSON data, you can use one dot (".") to split the key into two section.
Subscribe command without any parameter will list all topics currently subscribed.
2. Unsubscribe
Unsubscribe specified MQTT event.
Command format:
Unsubscribe [<event_name>]
Unsubscribe a topic subscribed by specify the event name.
If no event specified, Unsubscribe all topics subscribed.
Examples:
1.
Subscribe BkLight, Tasmota/BackyardLight/stat/POWER
And define a rule like:
Rule1 on event#BkLight=ON do ruletimer4 60 endon
2.
Subscribe DnTemp, Tasmota/RoomSensor1/stat/SENSOR, DS18B20.Temperature
Define a rule to deal with the MQTT message like {"Time":"2017-02-16T10:13:52", "DS18B20":{"Temperature":20.6}}
Rule1 ON EVENT#DnTemp>=21 DO ... ENDON
2019-02-24 03:33:09 +00:00
|
|
|
#define D_UNSUBSCRIBE_FROM "Unsubscribe from"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_SUCCESSFUL "Successful"
|
2018-04-05 11:49:43 +01:00
|
|
|
#define D_SUNRISE "Sunrise"
|
|
|
|
#define D_SUNSET "Sunset"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_TEMPERATURE "Temperature"
|
|
|
|
#define D_TO "to"
|
|
|
|
#define D_TOGGLE "Toggle"
|
|
|
|
#define D_TOPIC "Topic"
|
2019-03-23 23:26:03 +00:00
|
|
|
#define D_TOTAL_USAGE "Total Usage"
|
2017-09-14 13:20:27 +01:00
|
|
|
#define D_TRANSMIT "Transmit"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_TRUE "True"
|
2018-03-31 15:26:00 +01:00
|
|
|
#define D_TVOC "TVOC"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UPGRADE "upgrade"
|
|
|
|
#define D_UPLOAD "Upload"
|
|
|
|
#define D_UPTIME "Uptime"
|
|
|
|
#define D_USER "User"
|
2017-10-25 13:27:30 +01:00
|
|
|
#define D_UTC_TIME "UTC"
|
2018-05-12 20:15:59 +01:00
|
|
|
#define D_UV_INDEX "UV Index"
|
2018-09-25 15:28:34 +01:00
|
|
|
#define D_UV_INDEX_1 "Low"
|
2018-09-25 13:45:27 +01:00
|
|
|
#define D_UV_INDEX_2 "Mid"
|
|
|
|
#define D_UV_INDEX_3 "High"
|
|
|
|
#define D_UV_INDEX_4 "Danger"
|
|
|
|
#define D_UV_INDEX_5 "BurnL1/2"
|
|
|
|
#define D_UV_INDEX_6 "BurnL3"
|
2018-10-03 12:55:07 +01:00
|
|
|
#define D_UV_INDEX_7 "OoR" // Out of Range
|
2017-10-25 13:27:30 +01:00
|
|
|
#define D_UV_LEVEL "UV Level"
|
2018-09-25 13:45:27 +01:00
|
|
|
#define D_UV_POWER "UV Power"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_VERSION "Version"
|
|
|
|
#define D_VOLTAGE "Voltage"
|
2018-10-05 16:54:12 +01:00
|
|
|
#define D_WEIGHT "Weight"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_WARMLIGHT "Warm"
|
|
|
|
#define D_WEB_SERVER "Web Server"
|
2017-12-29 13:35:05 +00:00
|
|
|
|
2017-09-02 13:37:02 +01:00
|
|
|
// sonoff.ino
|
2018-01-10 13:10:25 +00:00
|
|
|
#define D_WARNING_MINIMAL_VERSION "WARNING This version does not support persistent settings"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_LEVEL_10 "level 1-0"
|
|
|
|
#define D_LEVEL_01 "level 0-1"
|
|
|
|
#define D_SERIAL_LOGGING_DISABLED "Serial logging disabled"
|
|
|
|
#define D_SYSLOG_LOGGING_REENABLED "Syslog logging re-enabled"
|
|
|
|
|
|
|
|
#define D_SET_BAUDRATE_TO "Set Baudrate to"
|
|
|
|
#define D_RECEIVED_TOPIC "Received Topic"
|
|
|
|
#define D_DATA_SIZE "Data Size"
|
2017-11-07 14:57:24 +00:00
|
|
|
#define D_ANALOG_INPUT "Analog"
|
2017-09-02 13:37:02 +01:00
|
|
|
|
|
|
|
// support.ino
|
|
|
|
#define D_OSWATCH "osWatch"
|
|
|
|
#define D_BLOCKED_LOOP "Blocked Loop"
|
|
|
|
#define D_WPS_FAILED_WITH_STATUS "WPSconfig FAILED with status"
|
2017-12-16 14:51:45 +00:00
|
|
|
#define D_ACTIVE_FOR_3_MINUTES "active for 3 minutes"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_FAILED_TO_START "failed to start"
|
|
|
|
#define D_PATCH_ISSUE_2186 "Patch issue 2186"
|
|
|
|
#define D_CONNECTING_TO_AP "Connecting to AP"
|
|
|
|
#define D_IN_MODE "in mode"
|
|
|
|
#define D_CONNECT_FAILED_NO_IP_ADDRESS "Connect failed as no IP address received"
|
|
|
|
#define D_CONNECT_FAILED_AP_NOT_REACHED "Connect failed as AP cannot be reached"
|
|
|
|
#define D_CONNECT_FAILED_WRONG_PASSWORD "Connect failed with AP incorrect password"
|
|
|
|
#define D_CONNECT_FAILED_AP_TIMEOUT "Connect failed with AP timeout"
|
|
|
|
#define D_ATTEMPTING_CONNECTION "Attempting connection..."
|
|
|
|
#define D_CHECKING_CONNECTION "Checking connection..."
|
|
|
|
#define D_QUERY_DONE "Query done. MQTT services found"
|
|
|
|
#define D_MQTT_SERVICE_FOUND "MQTT service found on"
|
|
|
|
#define D_FOUND_AT "found at"
|
|
|
|
#define D_SYSLOG_HOST_NOT_FOUND "Syslog Host not found"
|
|
|
|
|
2018-01-05 11:26:19 +00:00
|
|
|
// settings.ino
|
|
|
|
#define D_SAVED_TO_FLASH_AT "Saved to flash at"
|
|
|
|
#define D_LOADED_FROM_FLASH_AT "Loaded from flash at"
|
|
|
|
#define D_USE_DEFAULTS "Use defaults"
|
|
|
|
#define D_ERASED_SECTOR "Erased sector"
|
|
|
|
|
2018-05-30 16:24:09 +01:00
|
|
|
// xdrv_02_webserver.ino
|
2018-08-02 11:06:53 +01:00
|
|
|
#define D_NOSCRIPT "To use Tasmota, please enable JavaScript"
|
2019-05-31 17:24:56 +01:00
|
|
|
#define D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "MINIMAL firmware<br>please upgrade"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_WEBSERVER_ACTIVE_ON "Web server active on"
|
|
|
|
#define D_WITH_IP_ADDRESS "with IP address"
|
|
|
|
#define D_WEBSERVER_STOPPED "Web server stopped"
|
|
|
|
#define D_FILE_NOT_FOUND "File Not Found"
|
|
|
|
#define D_REDIRECTED "Redirected to captive portal"
|
|
|
|
#define D_WIFIMANAGER_SET_ACCESSPOINT_AND_STATION "Wifimanager set AccessPoint and keep Station"
|
|
|
|
#define D_WIFIMANAGER_SET_ACCESSPOINT "Wifimanager set AccessPoint"
|
|
|
|
#define D_TRYING_TO_CONNECT "Trying to connect device to network"
|
|
|
|
|
|
|
|
#define D_RESTART_IN "Restart in"
|
|
|
|
#define D_SECONDS "seconds"
|
|
|
|
#define D_DEVICE_WILL_RESTART "Device will restart in a few seconds"
|
|
|
|
#define D_BUTTON_TOGGLE "Toggle"
|
|
|
|
#define D_CONFIGURATION "Configuration"
|
|
|
|
#define D_INFORMATION "Information"
|
|
|
|
#define D_FIRMWARE_UPGRADE "Firmware Upgrade"
|
|
|
|
#define D_CONSOLE "Console"
|
|
|
|
#define D_CONFIRM_RESTART "Confirm Restart"
|
|
|
|
|
|
|
|
#define D_CONFIGURE_MODULE "Configure Module"
|
|
|
|
#define D_CONFIGURE_WIFI "Configure WiFi"
|
|
|
|
#define D_CONFIGURE_MQTT "Configure MQTT"
|
|
|
|
#define D_CONFIGURE_DOMOTICZ "Configure Domoticz"
|
|
|
|
#define D_CONFIGURE_LOGGING "Configure Logging"
|
|
|
|
#define D_CONFIGURE_OTHER "Configure Other"
|
|
|
|
#define D_CONFIRM_RESET_CONFIGURATION "Confirm Reset Configuration"
|
|
|
|
#define D_RESET_CONFIGURATION "Reset Configuration"
|
|
|
|
#define D_BACKUP_CONFIGURATION "Backup Configuration"
|
|
|
|
#define D_RESTORE_CONFIGURATION "Restore Configuration"
|
|
|
|
#define D_MAIN_MENU "Main Menu"
|
|
|
|
|
|
|
|
#define D_MODULE_PARAMETERS "Module parameters"
|
|
|
|
#define D_MODULE_TYPE "Module type"
|
2019-01-07 15:33:18 +00:00
|
|
|
#define D_PULLUP_ENABLE "No Button/Switch pull-up"
|
2019-05-13 14:56:01 +01:00
|
|
|
#define D_ADC "ADC"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_GPIO "GPIO"
|
|
|
|
#define D_SERIAL_IN "Serial In"
|
|
|
|
#define D_SERIAL_OUT "Serial Out"
|
|
|
|
|
|
|
|
#define D_WIFI_PARAMETERS "Wifi parameters"
|
|
|
|
#define D_SCAN_FOR_WIFI_NETWORKS "Scan for wifi networks"
|
|
|
|
#define D_SCAN_DONE "Scan done"
|
|
|
|
#define D_NO_NETWORKS_FOUND "No networks found"
|
|
|
|
#define D_REFRESH_TO_SCAN_AGAIN "Refresh to scan again"
|
|
|
|
#define D_DUPLICATE_ACCESSPOINT "Duplicate AccessPoint"
|
|
|
|
#define D_SKIPPING_LOW_QUALITY "Skipping due to low quality"
|
|
|
|
#define D_RSSI "RSSI"
|
|
|
|
#define D_WEP "WEP"
|
|
|
|
#define D_WPA_PSK "WPA PSK"
|
|
|
|
#define D_WPA2_PSK "WPA2 PSK"
|
|
|
|
#define D_AP1_SSID "AP1 SSId"
|
|
|
|
#define D_AP1_PASSWORD "AP1 Password"
|
|
|
|
#define D_AP2_SSID "AP2 SSId"
|
|
|
|
#define D_AP2_PASSWORD "AP2 Password"
|
|
|
|
|
|
|
|
#define D_MQTT_PARAMETERS "MQTT parameters"
|
|
|
|
#define D_CLIENT "Client"
|
|
|
|
#define D_FULL_TOPIC "Full Topic"
|
|
|
|
|
|
|
|
#define D_LOGGING_PARAMETERS "Logging parameters"
|
2018-01-07 14:08:11 +00:00
|
|
|
#define D_SERIAL_LOG_LEVEL "Serial log level"
|
2019-10-03 13:27:01 +01:00
|
|
|
#define D_MQTT_LOG_LEVEL "Mqtt log level"
|
2018-01-07 14:08:11 +00:00
|
|
|
#define D_WEB_LOG_LEVEL "Web log level"
|
|
|
|
#define D_SYS_LOG_LEVEL "Syslog level"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_MORE_DEBUG "More debug"
|
|
|
|
#define D_SYSLOG_HOST "Syslog host"
|
|
|
|
#define D_SYSLOG_PORT "Syslog port"
|
|
|
|
#define D_TELEMETRY_PERIOD "Telemetry period"
|
|
|
|
|
|
|
|
#define D_OTHER_PARAMETERS "Other parameters"
|
2019-02-12 10:55:47 +00:00
|
|
|
#define D_TEMPLATE "Template"
|
2019-02-13 16:03:00 +00:00
|
|
|
#define D_ACTIVATE "Activate"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_WEB_ADMIN_PASSWORD "Web Admin Password"
|
|
|
|
#define D_MQTT_ENABLE "MQTT enable"
|
|
|
|
#define D_FRIENDLY_NAME "Friendly Name"
|
|
|
|
#define D_BELKIN_WEMO "Belkin WeMo"
|
|
|
|
#define D_HUE_BRIDGE "Hue Bridge"
|
|
|
|
#define D_SINGLE_DEVICE "single device"
|
|
|
|
#define D_MULTI_DEVICE "multi device"
|
|
|
|
|
2019-02-17 10:32:53 +00:00
|
|
|
#define D_CONFIGURE_TEMPLATE "Configure Template"
|
|
|
|
#define D_TEMPLATE_PARAMETERS "Template parameters"
|
|
|
|
#define D_TEMPLATE_NAME "Name"
|
|
|
|
#define D_BASE_TYPE "Based on"
|
2019-02-18 12:10:10 +00:00
|
|
|
#define D_TEMPLATE_FLAGS "Options"
|
2019-02-17 10:32:53 +00:00
|
|
|
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_SAVE_CONFIGURATION "Save configuration"
|
|
|
|
#define D_CONFIGURATION_SAVED "Configuration saved"
|
|
|
|
#define D_CONFIGURATION_RESET "Configuration reset"
|
|
|
|
|
|
|
|
#define D_PROGRAM_VERSION "Program Version"
|
|
|
|
#define D_BUILD_DATE_AND_TIME "Build Date & Time"
|
|
|
|
#define D_CORE_AND_SDK_VERSION "Core/SDK Version"
|
|
|
|
#define D_FLASH_WRITE_COUNT "Flash write Count"
|
|
|
|
#define D_MAC_ADDRESS "MAC Address"
|
|
|
|
#define D_MQTT_HOST "MQTT Host"
|
|
|
|
#define D_MQTT_PORT "MQTT Port"
|
|
|
|
#define D_MQTT_CLIENT "MQTT Client"
|
|
|
|
#define D_MQTT_USER "MQTT User"
|
|
|
|
#define D_MQTT_TOPIC "MQTT Topic"
|
|
|
|
#define D_MQTT_GROUP_TOPIC "MQTT Group Topic"
|
|
|
|
#define D_MQTT_FULL_TOPIC "MQTT Full Topic"
|
|
|
|
#define D_MDNS_DISCOVERY "mDNS Discovery"
|
|
|
|
#define D_MDNS_ADVERTISE "mDNS Advertise"
|
|
|
|
#define D_ESP_CHIP_ID "ESP Chip Id"
|
|
|
|
#define D_FLASH_CHIP_ID "Flash Chip Id"
|
|
|
|
#define D_FLASH_CHIP_SIZE "Flash Size"
|
|
|
|
#define D_FREE_PROGRAM_SPACE "Free Program Space"
|
|
|
|
|
|
|
|
#define D_UPGRADE_BY_WEBSERVER "Upgrade by web server"
|
|
|
|
#define D_OTA_URL "OTA Url"
|
|
|
|
#define D_START_UPGRADE "Start upgrade"
|
|
|
|
#define D_UPGRADE_BY_FILE_UPLOAD "Upgrade by file upload"
|
|
|
|
#define D_UPLOAD_STARTED "Upload started"
|
|
|
|
#define D_UPGRADE_STARTED "Upgrade started"
|
|
|
|
#define D_UPLOAD_DONE "Upload done"
|
|
|
|
#define D_UPLOAD_ERR_1 "No file selected"
|
|
|
|
#define D_UPLOAD_ERR_2 "Not enough space"
|
|
|
|
#define D_UPLOAD_ERR_3 "Magic byte is not 0xE9"
|
|
|
|
#define D_UPLOAD_ERR_4 "Program flash size is larger than real flash size"
|
|
|
|
#define D_UPLOAD_ERR_5 "Upload buffer miscompare"
|
|
|
|
#define D_UPLOAD_ERR_6 "Upload failed. Enable logging 3"
|
|
|
|
#define D_UPLOAD_ERR_7 "Upload aborted"
|
|
|
|
#define D_UPLOAD_ERR_8 "File invalid"
|
|
|
|
#define D_UPLOAD_ERR_9 "File too large"
|
2018-06-04 17:10:38 +01:00
|
|
|
#define D_UPLOAD_ERR_10 "Failed to init RF chip"
|
|
|
|
#define D_UPLOAD_ERR_11 "Failed to erase RF chip"
|
|
|
|
#define D_UPLOAD_ERR_12 "Failed to write to RF chip"
|
|
|
|
#define D_UPLOAD_ERR_13 "Failed to decode RF firmware"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UPLOAD_ERROR_CODE "Upload error code"
|
|
|
|
|
|
|
|
#define D_ENTER_COMMAND "Enter command"
|
|
|
|
#define D_ENABLE_WEBLOG_FOR_RESPONSE "Enable weblog 2 if response expected"
|
|
|
|
#define D_NEED_USER_AND_PASSWORD "Need user=<username>&password=<password>"
|
|
|
|
|
2018-05-30 16:24:09 +01:00
|
|
|
// xdrv_01_mqtt.ino
|
2018-03-12 13:56:48 +00:00
|
|
|
#define D_FINGERPRINT "Verify TLS fingerprint..."
|
|
|
|
#define D_TLS_CONNECT_FAILED_TO "TLS Connect failed to"
|
|
|
|
#define D_RETRY_IN "Retry in"
|
|
|
|
#define D_VERIFIED "Verified using Fingerprint"
|
|
|
|
#define D_INSECURE "Insecure connection due to invalid Fingerprint"
|
|
|
|
#define D_CONNECT_FAILED_TO "Connect failed to"
|
|
|
|
|
2018-05-30 16:24:09 +01:00
|
|
|
// xplg_wemohue.ino
|
2018-01-05 11:26:19 +00:00
|
|
|
#define D_MULTICAST_DISABLED "Multicast disabled"
|
|
|
|
#define D_MULTICAST_REJOINED "Multicast (re)joined"
|
|
|
|
#define D_MULTICAST_JOIN_FAILED "Multicast join failed"
|
|
|
|
#define D_FAILED_TO_SEND_RESPONSE "Failed to send response"
|
|
|
|
|
|
|
|
#define D_WEMO "WeMo"
|
|
|
|
#define D_WEMO_BASIC_EVENT "WeMo basic event"
|
|
|
|
#define D_WEMO_EVENT_SERVICE "WeMo event service"
|
|
|
|
#define D_WEMO_META_SERVICE "WeMo meta service"
|
|
|
|
#define D_WEMO_SETUP "WeMo setup"
|
|
|
|
#define D_RESPONSE_SENT "Response sent"
|
|
|
|
|
|
|
|
#define D_HUE "Hue"
|
|
|
|
#define D_HUE_BRIDGE_SETUP "Hue setup"
|
|
|
|
#define D_HUE_API_NOT_IMPLEMENTED "Hue API not implemented"
|
|
|
|
#define D_HUE_API "Hue API"
|
|
|
|
#define D_HUE_POST_ARGS "Hue POST args"
|
|
|
|
#define D_3_RESPONSE_PACKETS_SENT "3 response packets sent"
|
2017-09-02 13:37:02 +01:00
|
|
|
|
2018-05-30 16:24:09 +01:00
|
|
|
// xdrv_07_domoticz.ino
|
2018-01-05 11:26:19 +00:00
|
|
|
#define D_DOMOTICZ_PARAMETERS "Domoticz parameters"
|
|
|
|
#define D_DOMOTICZ_IDX "Idx"
|
|
|
|
#define D_DOMOTICZ_KEY_IDX "Key idx"
|
|
|
|
#define D_DOMOTICZ_SWITCH_IDX "Switch idx"
|
|
|
|
#define D_DOMOTICZ_SENSOR_IDX "Sensor idx"
|
|
|
|
#define D_DOMOTICZ_TEMP "Temp"
|
|
|
|
#define D_DOMOTICZ_TEMP_HUM "Temp,Hum"
|
|
|
|
#define D_DOMOTICZ_TEMP_HUM_BARO "Temp,Hum,Baro"
|
|
|
|
#define D_DOMOTICZ_POWER_ENERGY "Power,Energy"
|
|
|
|
#define D_DOMOTICZ_ILLUMINANCE "Illuminance"
|
2018-03-12 13:56:48 +00:00
|
|
|
#define D_DOMOTICZ_COUNT "Count/PM1"
|
|
|
|
#define D_DOMOTICZ_VOLTAGE "Voltage/PM2.5"
|
|
|
|
#define D_DOMOTICZ_CURRENT "Current/PM10"
|
2018-01-05 11:26:19 +00:00
|
|
|
#define D_DOMOTICZ_AIRQUALITY "AirQuality"
|
2019-08-25 15:19:23 +01:00
|
|
|
#define D_DOMOTICZ_P1_SMART_METER "P1SmartMeter"
|
2018-01-05 11:26:19 +00:00
|
|
|
#define D_DOMOTICZ_UPDATE_TIMER "Update timer"
|
2017-09-02 13:37:02 +01:00
|
|
|
|
2018-03-28 17:01:38 +01:00
|
|
|
// xdrv_09_timers.ino
|
|
|
|
#define D_CONFIGURE_TIMER "Configure Timer"
|
|
|
|
#define D_TIMER_PARAMETERS "Timer parameters"
|
2018-07-21 15:47:44 +01:00
|
|
|
#define D_TIMER_ENABLE "Enable Timers"
|
2018-03-28 17:01:38 +01:00
|
|
|
#define D_TIMER_ARM "Arm"
|
|
|
|
#define D_TIMER_TIME "Time"
|
|
|
|
#define D_TIMER_DAYS "Days"
|
|
|
|
#define D_TIMER_REPEAT "Repeat"
|
2018-03-30 10:15:04 +01:00
|
|
|
#define D_TIMER_OUTPUT "Output"
|
2018-04-12 13:01:43 +01:00
|
|
|
#define D_TIMER_ACTION "Action"
|
2018-03-28 17:01:38 +01:00
|
|
|
|
2018-04-18 16:24:23 +01:00
|
|
|
// xdrv_10_knx.ino
|
|
|
|
#define D_CONFIGURE_KNX "Configure KNX"
|
|
|
|
#define D_KNX_PARAMETERS "KNX Parameters"
|
|
|
|
#define D_KNX_GENERAL_CONFIG "General"
|
|
|
|
#define D_KNX_PHYSICAL_ADDRESS "Physical Address"
|
|
|
|
#define D_KNX_PHYSICAL_ADDRESS_NOTE "( Must be unique on the KNX network )"
|
|
|
|
#define D_KNX_ENABLE "Enable KNX"
|
|
|
|
#define D_KNX_GROUP_ADDRESS_TO_WRITE "Data to Send to Group Addresses"
|
|
|
|
#define D_ADD "Add"
|
|
|
|
#define D_DELETE "Delete"
|
|
|
|
#define D_REPLY "Reply"
|
|
|
|
#define D_KNX_GROUP_ADDRESS_TO_READ "Group Addresses to Receive Data from"
|
|
|
|
#define D_LOG_KNX "KNX: "
|
|
|
|
#define D_RECEIVED_FROM "Received from"
|
|
|
|
#define D_KNX_COMMAND_WRITE "Write"
|
|
|
|
#define D_KNX_COMMAND_READ "Read"
|
|
|
|
#define D_KNX_COMMAND_OTHER "Other"
|
|
|
|
#define D_SENT_TO "sent to"
|
|
|
|
#define D_KNX_WARNING "The group address ( 0 / 0 / 0 ) is reserved and can not be used."
|
2018-05-16 09:56:09 +01:00
|
|
|
#define D_KNX_ENHANCEMENT "Communication Enhancement"
|
2018-05-31 07:21:35 +01:00
|
|
|
#define D_KNX_TX_SLOT "KNX TX"
|
|
|
|
#define D_KNX_RX_SLOT "KNX RX"
|
2018-04-18 16:24:23 +01:00
|
|
|
|
2018-01-08 10:44:18 +00:00
|
|
|
// xdrv_03_energy.ino
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_ENERGY_TODAY "Energy Today"
|
|
|
|
#define D_ENERGY_YESTERDAY "Energy Yesterday"
|
|
|
|
#define D_ENERGY_TOTAL "Energy Total"
|
|
|
|
|
2019-09-29 17:00:01 +01:00
|
|
|
// xdrv_27_shutter.ino
|
|
|
|
#define D_OPEN "Open"
|
|
|
|
#define D_CLOSE "Close"
|
|
|
|
#define D_DOMOTICZ_SHUTTER "Shutter"
|
|
|
|
|
2019-10-01 15:45:53 +01:00
|
|
|
// xdrv_28_pcf8574.ino
|
|
|
|
#define D_CONFIGURE_PCF8574 "Configure PCF8574"
|
|
|
|
#define D_PCF8574_PARAMETERS "PCF8574 parameters"
|
|
|
|
#define D_INVERT_PORTS "Invert Ports"
|
|
|
|
#define D_DEVICE "Device"
|
|
|
|
#define D_DEVICE_INPUT "Input"
|
|
|
|
#define D_DEVICE_OUTPUT "Output"
|
|
|
|
|
v5.9.1j - Add Dual R2, Rewrite DS18x20 and fixes
5.9.1j
* Revert changes to xsns_05_ds18x20.ino and rename to
xsns_05_ds18x20_legacy.ino still needing library OneWire and providing
legacy JSON message:
*
"DS18x20":{"DS1":{"Type":"DS18B20","Address":"284CC48E04000079","Temperature":19.5},"DS2":{"Type":"DS18B20","Address":"283AC28304000052","Temperature":19.6}}
* Add new xdrv_05_ds18x20.ino free from library OneWire and add the
following features:
* Add support for DS1822
* Add forced setting of
12-bit resolution for selected device types (#1222)
* Add read
temperature retry counter (#1215)
* Fix lost sensors by performing
sensor probe at restart only thereby removing dynamic sensor probe
(#1215)
* Fix sensor address sorting using ascending sort on sensor
type followed by sensor address
* Rewrite JSON resulting in shorter
message allowing more sensors in default firmware image:
*
"DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6}
* Add additional define in user_config.h to select either single sensor
(defines disabled), new multi sensor (USE_DS18X20) or legacy multi
sensor (USE_DS18X20_LEGACY)
* Add support for Sonoff Dual R2 (#1249)
*
Fix ADS1115 detection (#1258)
2017-11-27 16:46:51 +00:00
|
|
|
// xsns_05_ds18b20.ino
|
2017-11-17 16:52:31 +00:00
|
|
|
#define D_SENSOR_BUSY "Sensor busy"
|
|
|
|
#define D_SENSOR_CRC_ERROR "Sensor CRC error"
|
2017-11-24 16:26:20 +00:00
|
|
|
#define D_SENSORS_FOUND "Sensors found"
|
2017-11-17 16:52:31 +00:00
|
|
|
|
|
|
|
// xsns_06_dht.ino
|
|
|
|
#define D_TIMEOUT_WAITING_FOR "Timeout waiting for"
|
|
|
|
#define D_START_SIGNAL_LOW "start signal low"
|
|
|
|
#define D_START_SIGNAL_HIGH "start signal high"
|
|
|
|
#define D_PULSE "pulse"
|
|
|
|
#define D_CHECKSUM_FAILURE "Checksum failure"
|
|
|
|
|
|
|
|
// xsns_07_sht1x.ino
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_SENSOR_DID_NOT_ACK_COMMAND "Sensor did not ACK command"
|
|
|
|
#define D_SHT1X_FOUND "SHT1X found"
|
|
|
|
|
2018-01-10 13:10:25 +00:00
|
|
|
// xsns_18_pms5003.ino
|
2018-01-28 11:42:42 +00:00
|
|
|
#define D_STANDARD_CONCENTRATION "CF-1 PM" // Standard Particle CF-1 Particle Matter
|
|
|
|
#define D_ENVIRONMENTAL_CONCENTRATION "PM" // Environmetal Particle Matter
|
|
|
|
#define D_PARTICALS_BEYOND "Particals"
|
2018-01-10 13:10:25 +00:00
|
|
|
|
2018-07-28 15:16:53 +01:00
|
|
|
// xsns_32_mpu6050.ino
|
|
|
|
#define D_AX_AXIS "Accel. X-Axis"
|
|
|
|
#define D_AY_AXIS "Accel. Y-Axis"
|
|
|
|
#define D_AZ_AXIS "Accel. Z-Axis"
|
|
|
|
#define D_GX_AXIS "Gyro X-Axis"
|
|
|
|
#define D_GY_AXIS "Gyro Y-Axis"
|
|
|
|
#define D_GZ_AXIS "Gyro Z-Axis"
|
|
|
|
|
2018-10-11 16:33:07 +01:00
|
|
|
// xsns_34_hx711.ino
|
|
|
|
#define D_HX_CAL_REMOVE "Remove weigth"
|
|
|
|
#define D_HX_CAL_REFERENCE "Load reference weigth"
|
|
|
|
#define D_HX_CAL_DONE "Calibrated"
|
|
|
|
#define D_HX_CAL_FAIL "Calibration failed"
|
2018-10-21 15:30:05 +01:00
|
|
|
#define D_RESET_HX711 "Reset Scale"
|
|
|
|
#define D_CONFIGURE_HX711 "Configure Scale"
|
|
|
|
#define D_HX711_PARAMETERS "Scale parameters"
|
|
|
|
#define D_ITEM_WEIGHT "Item weight"
|
|
|
|
#define D_REFERENCE_WEIGHT "Reference weigth"
|
|
|
|
#define D_CALIBRATE "Calibrate"
|
|
|
|
#define D_CALIBRATION "Calibration"
|
2018-10-11 16:33:07 +01:00
|
|
|
|
2018-10-21 11:44:45 +01:00
|
|
|
//xsns_35_tx20.ino
|
|
|
|
#define D_TX20_WIND_DIRECTION "Wind Direction"
|
|
|
|
#define D_TX20_WIND_SPEED "Wind Speed"
|
|
|
|
#define D_TX20_WIND_SPEED_AVG "Wind Speed Avg"
|
|
|
|
#define D_TX20_WIND_SPEED_MAX "Wind Speed Max"
|
|
|
|
#define D_TX20_NORTH "N"
|
|
|
|
#define D_TX20_EAST "E"
|
|
|
|
#define D_TX20_SOUTH "S"
|
|
|
|
#define D_TX20_WEST "W"
|
|
|
|
|
2019-03-28 02:36:32 +00:00
|
|
|
//xsns_43_hre.ino
|
2019-03-25 19:10:17 +00:00
|
|
|
#define D_LOG_HRE "HRE: "
|
|
|
|
|
2019-02-04 11:53:10 +00:00
|
|
|
// sonoff_template.h - keep them as short as possible to be able to fit them in GUI drop down box
|
|
|
|
#define D_SENSOR_NONE "None"
|
2019-02-17 10:32:53 +00:00
|
|
|
#define D_SENSOR_USER "User"
|
2019-02-04 11:53:10 +00:00
|
|
|
#define D_SENSOR_DHT11 "DHT11"
|
|
|
|
#define D_SENSOR_AM2301 "AM2301"
|
|
|
|
#define D_SENSOR_SI7021 "SI7021"
|
|
|
|
#define D_SENSOR_DS18X20 "DS18x20"
|
|
|
|
#define D_SENSOR_I2C_SCL "I2C SCL"
|
|
|
|
#define D_SENSOR_I2C_SDA "I2C SDA"
|
|
|
|
#define D_SENSOR_WS2812 "WS2812"
|
|
|
|
#define D_SENSOR_DFR562 "MP3 Player"
|
|
|
|
#define D_SENSOR_IRSEND "IRsend"
|
|
|
|
#define D_SENSOR_SWITCH "Switch" // Suffix "1"
|
|
|
|
#define D_SENSOR_BUTTON "Button" // Suffix "1"
|
|
|
|
#define D_SENSOR_RELAY "Relay" // Suffix "1i"
|
|
|
|
#define D_SENSOR_LED "Led" // Suffix "1i"
|
2019-05-21 17:11:39 +01:00
|
|
|
#define D_SENSOR_LED_LINK "LedLink" // Suffix "i"
|
2019-02-04 11:53:10 +00:00
|
|
|
#define D_SENSOR_PWM "PWM" // Suffix "1"
|
|
|
|
#define D_SENSOR_COUNTER "Counter" // Suffix "1"
|
|
|
|
#define D_SENSOR_IRRECV "IRrecv"
|
|
|
|
#define D_SENSOR_MHZ_RX "MHZ Rx"
|
|
|
|
#define D_SENSOR_MHZ_TX "MHZ Tx"
|
|
|
|
#define D_SENSOR_PZEM004_RX "PZEM004 Rx"
|
|
|
|
#define D_SENSOR_PZEM016_RX "PZEM016 Rx"
|
|
|
|
#define D_SENSOR_PZEM017_RX "PZEM017 Rx"
|
|
|
|
#define D_SENSOR_PZEM0XX_TX "PZEM0XX Tx"
|
|
|
|
#define D_SENSOR_SAIR_RX "SAir Rx"
|
|
|
|
#define D_SENSOR_SAIR_TX "SAir Tx"
|
|
|
|
#define D_SENSOR_SPI_CS "SPI CS"
|
|
|
|
#define D_SENSOR_SPI_DC "SPI DC"
|
2019-10-10 11:26:00 +01:00
|
|
|
#define D_SENSOR_SPI_MISO "SPI MISO"
|
|
|
|
#define D_SENSOR_SPI_MOSI "SPI MOSI"
|
|
|
|
#define D_SENSOR_SPI_CLK "SPI CLK"
|
2019-07-23 13:05:42 +01:00
|
|
|
#define D_SENSOR_BACKLIGHT "Backlight"
|
2019-02-04 11:53:10 +00:00
|
|
|
#define D_SENSOR_PMS5003 "PMS5003"
|
|
|
|
#define D_SENSOR_SDS0X1_RX "SDS0X1 Rx"
|
|
|
|
#define D_SENSOR_SDS0X1_TX "SDS0X1 Tx"
|
|
|
|
#define D_SENSOR_SBR_RX "SerBr Rx"
|
|
|
|
#define D_SENSOR_SBR_TX "SerBr Tx"
|
|
|
|
#define D_SENSOR_SR04_TRIG "SR04 Tri"
|
|
|
|
#define D_SENSOR_SR04_ECHO "SR04 Ech"
|
|
|
|
#define D_SENSOR_SDM120_TX "SDMx20 Tx"
|
|
|
|
#define D_SENSOR_SDM120_RX "SDMx20 Rx"
|
|
|
|
#define D_SENSOR_SDM630_TX "SDM630 Tx"
|
|
|
|
#define D_SENSOR_SDM630_RX "SDM630 Rx"
|
|
|
|
#define D_SENSOR_TM1638_CLK "TM16 CLK"
|
|
|
|
#define D_SENSOR_TM1638_DIO "TM16 DIO"
|
|
|
|
#define D_SENSOR_TM1638_STB "TM16 STB"
|
|
|
|
#define D_SENSOR_HX711_SCK "HX711 SCK"
|
|
|
|
#define D_SENSOR_HX711_DAT "HX711 DAT"
|
|
|
|
#define D_SENSOR_TX20_TX "TX20"
|
|
|
|
#define D_SENSOR_RFSEND "RFSend"
|
|
|
|
#define D_SENSOR_RFRECV "RFrecv"
|
|
|
|
#define D_SENSOR_TUYA_TX "Tuya Tx"
|
|
|
|
#define D_SENSOR_TUYA_RX "Tuya Rx"
|
|
|
|
#define D_SENSOR_MGC3130_XFER "MGC3130 Xfr"
|
|
|
|
#define D_SENSOR_MGC3130_RESET "MGC3130 Rst"
|
|
|
|
#define D_SENSOR_SSPI_MISO "SSPI MISO"
|
|
|
|
#define D_SENSOR_SSPI_MOSI "SSPI MOSI"
|
|
|
|
#define D_SENSOR_SSPI_SCLK "SSPI SCLK"
|
|
|
|
#define D_SENSOR_SSPI_CS "SSPI CS"
|
|
|
|
#define D_SENSOR_SSPI_DC "SSPI DC"
|
|
|
|
#define D_SENSOR_RF_SENSOR "RF Sensor"
|
|
|
|
#define D_SENSOR_AZ_RX "AZ Rx"
|
|
|
|
#define D_SENSOR_AZ_TX "AZ Tx"
|
|
|
|
#define D_SENSOR_MAX31855_CS "MX31855 CS"
|
|
|
|
#define D_SENSOR_MAX31855_CLK "MX31855 CLK"
|
|
|
|
#define D_SENSOR_MAX31855_DO "MX31855 DO"
|
|
|
|
#define D_SENSOR_NRG_SEL "HLWBL SEL" // Suffix "i"
|
|
|
|
#define D_SENSOR_NRG_CF1 "HLWBL CF1"
|
|
|
|
#define D_SENSOR_HLW_CF "HLW8012 CF"
|
|
|
|
#define D_SENSOR_HJL_CF "BL0937 CF"
|
2019-02-04 17:18:47 +00:00
|
|
|
#define D_SENSOR_MCP39F5_TX "MCP39F5 Tx"
|
|
|
|
#define D_SENSOR_MCP39F5_RX "MCP39F5 Rx"
|
|
|
|
#define D_SENSOR_MCP39F5_RST "MCP39F5 Rst"
|
|
|
|
#define D_SENSOR_CSE7766_TX "CSE7766 Tx"
|
|
|
|
#define D_SENSOR_CSE7766_RX "CSE7766 Rx"
|
2019-02-07 23:06:54 +00:00
|
|
|
#define D_SENSOR_PN532_TX "PN532 Tx"
|
|
|
|
#define D_SENSOR_PN532_RX "PN532 Rx"
|
2019-02-04 12:48:49 +00:00
|
|
|
#define D_SENSOR_SM16716_CLK "SM16716 CLK"
|
|
|
|
#define D_SENSOR_SM16716_DAT "SM16716 DAT"
|
2019-02-08 17:10:01 +00:00
|
|
|
#define D_SENSOR_SM16716_POWER "SM16716 PWR"
|
2019-02-11 18:21:49 +00:00
|
|
|
#define D_SENSOR_MY92X1_DI "MY92x1 DI"
|
|
|
|
#define D_SENSOR_MY92X1_DCKI "MY92x1 DCKI"
|
|
|
|
#define D_SENSOR_ARIRFRCV "ALux IrRcv"
|
2019-05-21 17:11:39 +01:00
|
|
|
#define D_SENSOR_ARIRFSEL "ALux IrSel"
|
2019-02-11 18:21:49 +00:00
|
|
|
#define D_SENSOR_TXD "Serial Tx"
|
|
|
|
#define D_SENSOR_RXD "Serial Rx"
|
|
|
|
#define D_SENSOR_ROTARY "Rotary" // Suffix "1A"
|
2019-03-23 23:26:03 +00:00
|
|
|
#define D_SENSOR_HRE_CLOCK "HRE Clock"
|
|
|
|
#define D_SENSOR_HRE_DATA "HRE Data"
|
2019-04-12 10:44:50 +01:00
|
|
|
#define D_SENSOR_ADE7953_IRQ "ADE7953 IRQ"
|
2019-07-14 13:27:23 +01:00
|
|
|
#define D_SENSOR_BUZZER "Buzzer"
|
2019-07-23 13:05:42 +01:00
|
|
|
#define D_SENSOR_OLED_RESET "OLED Reset"
|
2019-08-09 21:52:33 +01:00
|
|
|
#define D_SENSOR_ZIGBEE_TXD "Zigbee Tx"
|
|
|
|
#define D_SENSOR_ZIGBEE_RXD "Zigbee Rx"
|
2019-08-09 15:43:51 +01:00
|
|
|
#define D_SENSOR_SOLAXX1_TX "SolaxX1 Tx"
|
|
|
|
#define D_SENSOR_SOLAXX1_RX "SolaxX1 Rx"
|
2019-08-19 09:54:58 +01:00
|
|
|
#define D_SENSOR_IBEACON_TX "iBeacon TX"
|
|
|
|
#define D_SENSOR_IBEACON_RX "iBeacon RX"
|
|
|
|
#define D_SENSOR_RDM6300_RX "RDM6300 RX"
|
|
|
|
#define D_SENSOR_CC1101_CS "CC1101 CS"
|
2019-09-10 14:14:51 +01:00
|
|
|
#define D_SENSOR_A4988_DIR "A4988 DIR"
|
|
|
|
#define D_SENSOR_A4988_STP "A4988 STP"
|
|
|
|
#define D_SENSOR_A4988_ENA "A4988 ENA"
|
|
|
|
#define D_SENSOR_A4988_MS1 "A4988 MS1"
|
|
|
|
#define D_SENSOR_A4988_MS2 "A4988 MS2"
|
|
|
|
#define D_SENSOR_A4988_MS3 "A4988 MS3"
|
|
|
|
#define D_SENSOR_DDS2382_TX "DDS238-2 Tx"
|
|
|
|
#define D_SENSOR_DDS2382_RX "DDS238-2 Rx"
|
2019-10-03 09:06:51 +01:00
|
|
|
#define D_SENSOR_DDSU666_TX "DDSU666 Tx"
|
|
|
|
#define D_SENSOR_DDSU666_RX "DDSU666 Rx"
|
2019-10-04 15:45:05 +01:00
|
|
|
#define D_SENSOR_SM2135_CLK "SM2135 Clk"
|
|
|
|
#define D_SENSOR_SM2135_DAT "SM2135 Dat"
|
2019-10-14 15:20:36 +01:00
|
|
|
#define D_SENSOR_DEEPSLEEP "DeepSleep"
|
2019-10-18 16:29:19 +01:00
|
|
|
#define D_SENSOR_EXS_MCU_RESET "EXS Reset"
|
2019-04-12 10:44:50 +01:00
|
|
|
|
2017-09-02 13:37:02 +01:00
|
|
|
// Units
|
|
|
|
#define D_UNIT_AMPERE "A"
|
2018-04-20 13:31:09 +01:00
|
|
|
#define D_UNIT_CENTIMETER "cm"
|
2018-10-05 16:54:12 +01:00
|
|
|
#define D_UNIT_HERTZ "Hz"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_HOUR "Hr"
|
2019-03-23 23:26:03 +00:00
|
|
|
#define D_UNIT_GALLONS "gal"
|
|
|
|
#define D_UNIT_GALLONS_PER_MIN "g/m"
|
2018-09-25 15:28:34 +01:00
|
|
|
#define D_UNIT_INCREMENTS "inc"
|
2018-10-05 16:54:12 +01:00
|
|
|
#define D_UNIT_KILOGRAM "kg"
|
2018-10-28 13:14:10 +00:00
|
|
|
#define D_UNIT_KILOMETER_PER_HOUR "km/h" // or "km/h"
|
2017-12-06 16:16:16 +00:00
|
|
|
#define D_UNIT_KILOOHM "kOhm"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_KILOWATTHOUR "kWh"
|
2017-09-23 10:12:16 +01:00
|
|
|
#define D_UNIT_LUX "lx"
|
2018-01-10 13:10:25 +00:00
|
|
|
#define D_UNIT_MICROGRAM_PER_CUBIC_METER "ug/m3"
|
|
|
|
#define D_UNIT_MICROMETER "um"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_MICROSECOND "us"
|
|
|
|
#define D_UNIT_MILLIAMPERE "mA"
|
2018-12-11 17:00:12 +00:00
|
|
|
#define D_UNIT_MILLIMETER "mm"
|
2018-11-01 17:17:12 +00:00
|
|
|
#define D_UNIT_MILLIMETER_MERCURY "mmHg"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_MILLISECOND "ms"
|
|
|
|
#define D_UNIT_MINUTE "Min"
|
2018-03-31 15:26:00 +01:00
|
|
|
#define D_UNIT_PARTS_PER_BILLION "ppb"
|
2018-01-10 13:10:25 +00:00
|
|
|
#define D_UNIT_PARTS_PER_DECILITER "ppd"
|
|
|
|
#define D_UNIT_PARTS_PER_MILLION "ppm"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_PRESSURE "hPa"
|
|
|
|
#define D_UNIT_SECOND "sec"
|
|
|
|
#define D_UNIT_SECTORS "sectors"
|
2018-05-14 13:04:10 +01:00
|
|
|
#define D_UNIT_VA "VA"
|
|
|
|
#define D_UNIT_VAR "VAr"
|
2017-09-02 13:37:02 +01:00
|
|
|
#define D_UNIT_VOLT "V"
|
|
|
|
#define D_UNIT_WATT "W"
|
|
|
|
#define D_UNIT_WATTHOUR "Wh"
|
2018-09-25 13:45:27 +01:00
|
|
|
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
2017-09-02 13:37:02 +01:00
|
|
|
|
|
|
|
// Log message prefix
|
2017-11-15 22:07:45 +00:00
|
|
|
#define D_LOG_APPLICATION "APP: " // Application
|
|
|
|
#define D_LOG_BRIDGE "BRG: " // Bridge
|
|
|
|
#define D_LOG_CONFIG "CFG: " // Settings
|
|
|
|
#define D_LOG_COMMAND "CMD: " // Command
|
|
|
|
#define D_LOG_DEBUG "DBG: " // Debug
|
|
|
|
#define D_LOG_DHT "DHT: " // DHT sensor
|
|
|
|
#define D_LOG_DOMOTICZ "DOM: " // Domoticz
|
|
|
|
#define D_LOG_DSB "DSB: " // DS18xB20 sensor
|
|
|
|
#define D_LOG_HTTP "HTP: " // HTTP webserver
|
|
|
|
#define D_LOG_I2C "I2C: " // I2C
|
|
|
|
#define D_LOG_IRR "IRR: " // Infra Red Received
|
|
|
|
#define D_LOG_LOG "LOG: " // Logging
|
|
|
|
#define D_LOG_MODULE "MOD: " // Module
|
|
|
|
#define D_LOG_MDNS "DNS: " // mDNS
|
|
|
|
#define D_LOG_MQTT "MQT: " // MQTT
|
|
|
|
#define D_LOG_OTHER "OTH: " // Other
|
|
|
|
#define D_LOG_RESULT "RSL: " // Result
|
|
|
|
#define D_LOG_RFR "RFR: " // RF Received
|
|
|
|
#define D_LOG_SERIAL "SER: " // Serial
|
|
|
|
#define D_LOG_SHT1 "SHT: " // SHT1x sensor
|
|
|
|
#define D_LOG_UPLOAD "UPL: " // Upload
|
|
|
|
#define D_LOG_UPNP "UPP: " // UPnP
|
|
|
|
#define D_LOG_WIFI "WIF: " // Wifi
|
2017-09-02 13:37:02 +01:00
|
|
|
|
2018-12-11 13:24:52 +00:00
|
|
|
//SDM220
|
2018-11-13 14:55:24 +00:00
|
|
|
#define D_PHASE_ANGLE "Phase Angle"
|
|
|
|
#define D_IMPORT_ACTIVE "Import Active"
|
|
|
|
#define D_EXPORT_ACTIVE "Export Active"
|
|
|
|
#define D_IMPORT_REACTIVE "Import Reactive"
|
|
|
|
#define D_EXPORT_REACTIVE "Export Reactive"
|
|
|
|
#define D_TOTAL_REACTIVE "Total Reactive"
|
|
|
|
#define D_UNIT_KWARH "kVArh"
|
|
|
|
#define D_UNIT_ANGLE "Deg"
|
|
|
|
|
2019-08-09 11:56:01 +01:00
|
|
|
//SOLAXX1
|
|
|
|
#define D_PV1_VOLTAGE "PV1 Voltage"
|
|
|
|
#define D_PV1_CURRENT "PV1 Current"
|
|
|
|
#define D_PV1_POWER "PV1 Power"
|
|
|
|
#define D_PV2_VOLTAGE "PV2 Voltage"
|
|
|
|
#define D_PV2_CURRENT "PV2 Current"
|
|
|
|
#define D_PV2_POWER "PV2 Power"
|
|
|
|
#define D_SOLAR_POWER "Solar Power"
|
|
|
|
#define D_INVERTER_POWER "Inverter Power"
|
|
|
|
#define D_STATUS "Status"
|
2019-08-09 15:43:51 +01:00
|
|
|
#define D_WAITING "Waiting"
|
|
|
|
#define D_CHECKING "Checking"
|
|
|
|
#define D_WORKING "Working"
|
|
|
|
#define D_FAILURE "Failure"
|
|
|
|
#define D_SOLAX_ERROR_0 "No Error Code"
|
|
|
|
#define D_SOLAX_ERROR_1 "Grid Lost Fault"
|
|
|
|
#define D_SOLAX_ERROR_2 "Grid Voltage Fault"
|
|
|
|
#define D_SOLAX_ERROR_3 "Grid Frequency Fault"
|
|
|
|
#define D_SOLAX_ERROR_4 "Pv Voltage Fault"
|
|
|
|
#define D_SOLAX_ERROR_5 "Isolation Fault"
|
|
|
|
#define D_SOLAX_ERROR_6 "Over Temperature Fault"
|
|
|
|
#define D_SOLAX_ERROR_7 "Fan Fault"
|
|
|
|
#define D_SOLAX_ERROR_8 "Other Device Fault"
|
2019-08-09 11:56:01 +01:00
|
|
|
|
2017-12-29 13:35:05 +00:00
|
|
|
#endif // _LANGUAGE_EN_GB_H_
|