From fbb4c6b0c16f11f853f70a5bf77f1f2caa8b1709 Mon Sep 17 00:00:00 2001 From: Thomas Popp Date: Tue, 27 Feb 2024 21:11:35 +0100 Subject: [PATCH] minor changes --- AquaMQTT/platformio.ini | 4 ++-- MQTT.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AquaMQTT/platformio.ini b/AquaMQTT/platformio.ini index 73e1296..66e814d 100644 --- a/AquaMQTT/platformio.ini +++ b/AquaMQTT/platformio.ini @@ -24,8 +24,8 @@ framework = arduino test_framework = googletest build_flags = -std=c++11 # uncomment the below lines to use over the air update -# upload_protocol = espota -# upload_port = 192.168.188.62 +#upload_protocol = espota +#upload_port = 192.168.188.62 lib_deps = locoduino/RingBuffer FrankBoesing/FastCRC diff --git a/MQTT.md b/MQTT.md index 0550d1c..09768ca 100644 --- a/MQTT.md +++ b/MQTT.md @@ -19,7 +19,7 @@ Using the prefix, the `$root` topic is created, which is `$prefix/aquamqtt/` and |----------------------------------|---------------------------------------|--------|------|--------------------------------------------------| | Last Will | `$root/stats/lwlState` | Enum | | ONLINE, OFFLINE -- retained| | OperationMode | `$root/stats/aquamqttMode` | Enum | | LISTENER, MITM | -| Active Overrides | `$root/stats/activeOverrides` | json | | Active Overrides are flagged either with 1 (overriden) or 0 (not overriden) Example Payload: `{ "operationMode": 0, "operationType": 0, "waterTempTarget": 0, "heatingElementEnabled": 0, "emergencyModeEnabled": 0, "time/date": 1 }` | +| Active Overrides | `$root/stats/activeOverrides` | json | | Active Overrides are flagged either with 1 (overriden) or 0 (not overriden) Example Payload: `{ "operationMode": 0, "operationType": 0, "waterTempTarget": 0, "heatingElementEnabled": 0, "emergencyModeEnabled": 0, "configInstallation": 0 , "time/date": 1 }` | | Override Modes | `$root/stats/overrideMode` | Enum | | `STANDARD`, `PV HP`, `PV HE` or `PV BOOST`. See [README-PV.md](/README-PV.md) for additional information. | | Flag PV heat pump | `$root/stats/flagPVModeHeatPump` | bool | | Status of the pv heat pump flag. See [README-PV.md](/README-PV.md) for additional information. | | Flag PV heat element | `$root/stats/flagPVModeHeatElement` | bool | | Status of the pv heat element flag. See [README-PV.md](/README-PV.md) for additional information. | @@ -93,8 +93,8 @@ Using this topics you may override the HMI Controller in AquaMQTT OperationMode | Installation Config | `$root/ctrl/configInstallation` | Enum | | "`HEAT PUMP ONLY`", "`BOILER BACKUP / HEAT PUMP PRIORITY"`", "`...`" | Overrides the installation config | | Enable or disable heating element | `$root/ctrl/heatingElementEnabled` | bool | | "`1`" | Allow the DHW heat pump to use the heating element if needed. Sanity: It is not possible to disable the heating element in case emergency mode is enabled.| | Enable or disable emergency mode | `$root/ctrl/emergencyModeEnabled` | bool | | "`0`" | Forces the DHW heat pump to use only the heating element. Sanity: it is not possible to enable emergency mode if heating element has been disabled. | -| Set PV Mode Heat Pump Flag | `$root/ctrl/flagPVModeHeatPump` | bool| | | See [README-PV.md](/README-PV.md) additional information. Note: It is possible to define an additional custom mqtt topic for this attribute within `Configuration.h` | -| Set PV Mode Heat Element Flag | `$root/ctrl/flagPVModeHeatPump` | bool| | | See [README-PV.md](/README-PV.md) for additional information. Note: It is possible to define an additional custom mqtt topic for this attribute within `Configuration.h` | +| Set PV Mode Heat Pump Flag | `$root/ctrl/flagPVModeHeatPump` | bool| | "`1`" | See [README-PV.md](/README-PV.md) additional information. Note: It is possible to define an additional custom mqtt topic for this attribute within `Configuration.h` | +| Set PV Mode Heat Element Flag | `$root/ctrl/flagPVModeHeatPump` | bool| | "`1`" | See [README-PV.md](/README-PV.md) for additional information. Note: It is possible to define an additional custom mqtt topic for this attribute within `Configuration.h` | | Reset Overrides | `$root/ctrl/reset` | Void | | | Removes all previous set overrides. | **Note:** Calling a `ctrl` topic with an empty payload `""` will reset individual override. \ No newline at end of file