mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Add `CpuFrequency
and
FlashFrequency
` to status 0
- Add ``CpuFrequency`` to ``status 2`` - Add ``FlashFrequency`` to ``status 4``
This commit is contained in:
parent
86fc34e612
commit
29070f1136
@ -68,3 +68,6 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
|
||||
- Add support for VEML6075 UVA/UVB/UVINDEX Sensor by device111 (#8432)
|
||||
- Add support for VEML7700 Ambient light intensity Sensor by device111 (#8432)
|
||||
- Add Three Phase Export Active Energy to SDM630 driver
|
||||
- Add Zigbee options to ``ZbSend`` to write and report attributes
|
||||
- Add ``CpuFrequency`` to ``status 2``
|
||||
- Add ``FlashFrequency`` to ``status 4``
|
||||
|
@ -12,6 +12,8 @@
|
||||
- Add wildcard pattern ``?`` for JSON matching in rules
|
||||
- Add support for unique MQTTClient (and inherited fallback topic) by full Mac address using ``mqttclient DVES_%12X`` (#8300)
|
||||
- Add Zigbee options to ``ZbSend`` to write and report attributes
|
||||
- Add ``CpuFrequency`` to ``status 2``
|
||||
- Add ``FlashFrequency`` to ``status 4``
|
||||
|
||||
### 8.3.1.1 20200518
|
||||
|
||||
|
@ -444,14 +444,14 @@ void CmndStatus(void)
|
||||
",\"" D_JSON_BOOTVERSION "\":%d"
|
||||
#endif
|
||||
",\"" D_JSON_COREVERSION "\":\"" ARDUINO_CORE_RELEASE "\",\"" D_JSON_SDKVERSION "\":\"%s\","
|
||||
"\"Hardware\":\"%s\""
|
||||
"\"CpuFrequency\":%d,\"Hardware\":\"%s\""
|
||||
"%s}}"),
|
||||
my_version, my_image, GetBuildDateAndTime().c_str()
|
||||
#ifdef ESP8266
|
||||
, ESP.getBootVersion()
|
||||
#endif
|
||||
, ESP.getSdkVersion(),
|
||||
GetDeviceHardware().c_str(),
|
||||
ESP.getCpuFreqMHz(), GetDeviceHardware().c_str(),
|
||||
GetStatistics().c_str());
|
||||
MqttPublishPrefixTopic_P(option, PSTR(D_CMND_STATUS "2"));
|
||||
}
|
||||
@ -476,7 +476,7 @@ void CmndStatus(void)
|
||||
#ifdef ESP8266
|
||||
",\"" D_JSON_FLASHCHIPID "\":\"%06X\""
|
||||
#endif
|
||||
",\"" D_JSON_FLASHMODE "\":%d,\""
|
||||
",\"FlashFrequency\":%d,\"" D_JSON_FLASHMODE "\":%d,\""
|
||||
D_JSON_FEATURES "\":[\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\",\"%08X\"]"),
|
||||
ESP_getSketchSize()/1024, ESP.getFreeSketchSpace()/1024, ESP_getFreeHeap()/1024,
|
||||
#ifdef ESP32
|
||||
@ -486,7 +486,7 @@ void CmndStatus(void)
|
||||
#ifdef ESP8266
|
||||
, ESP.getFlashChipId()
|
||||
#endif
|
||||
, ESP.getFlashChipMode(),
|
||||
, ESP.getFlashChipSpeed()/1000000, ESP.getFlashChipMode(),
|
||||
LANGUAGE_LCID, feature_drv1, feature_drv2, feature_sns1, feature_sns2, feature5, feature6);
|
||||
XsnsDriverState();
|
||||
ResponseAppend_P(PSTR(",\"Sensors\":"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user