Compare commits
2 commits
068a5b9b43
...
83e20a92e5
Author | SHA1 | Date | |
---|---|---|---|
|
83e20a92e5 | ||
|
9a0134e4c6 |
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
|
||||||
|
# powerMC - Energy and Current Measurement System
|
||||||
|
|
||||||
|
An ESP32 based energy and current measurement system.
|
||||||
|
|
||||||
|
Most of the code is generated by ChatGPT.
|
||||||
|
|
||||||
## Webserver
|
## Webserver
|
||||||
|
|
||||||
The web server is implemented on the ESP32 and provides various endpoints for operation and display of information. Here are the defined URLs and their functions:
|
The web server is implemented on the ESP32 and provides various endpoints for operation and display of information. Here are the defined URLs and their functions:
|
||||||
|
@ -65,6 +72,7 @@ The variable `globalError` is used as a bitmask, where each bit represents a spe
|
||||||
| `ERROR_TEMP_BELOW_MIN` | 0b00001000 | The temperature is below the permissible minimum. There is a risk of hypothermia or other temperature-related issues. |
|
| `ERROR_TEMP_BELOW_MIN` | 0b00001000 | The temperature is below the permissible minimum. There is a risk of hypothermia or other temperature-related issues. |
|
||||||
| `ERROR_MAX_HUMI_EXCEEDED` | 0b00010000 | The maximum humidity has been exceeded. This could lead to moisture-related problems. |
|
| `ERROR_MAX_HUMI_EXCEEDED` | 0b00010000 | The maximum humidity has been exceeded. This could lead to moisture-related problems. |
|
||||||
| `ERROR_HUMI_BELOW_MIN` | 0b00100000 | The humidity is below the permissible minimum. There is a risk of low humidity. |
|
| `ERROR_HUMI_BELOW_MIN` | 0b00100000 | The humidity is below the permissible minimum. There is a risk of low humidity. |
|
||||||
|
|`ERROR_INA226_UNCONFIGURED` | 0b10000000 | The configuration settings for the shunt voltage and maximum current exceed the limits of the INA226 library. |
|
||||||
|
|
||||||
Please note that multiple errors can occur simultaneously as the bitmasks can be combined. For example, `ERROR_MAX_TEMP_EXCEEDED | ERROR_MAX_HUMI_EXCEEDED` could indicate that both the maximum temperature and humidity have been exceeded.
|
Please note that multiple errors can occur simultaneously as the bitmasks can be combined. For example, `ERROR_MAX_TEMP_EXCEEDED | ERROR_MAX_HUMI_EXCEEDED` could indicate that both the maximum temperature and humidity have been exceeded.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue