Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion to change how to handle ESP32 communication errors #4

Open
MariuszSuchenek opened this issue Apr 29, 2020 · 2 comments
Open

Comments

@MariuszSuchenek
Copy link

  • additional field on the screen "device status"
  • remove the "message box" displaying communication errors each time a communication error occurs
    This device status field may be green when the device is working properly and does not report errors. After selecting it, the user can view information on the status of each sensor, supply voltage, everything we can check on the device, and report.
    Displayed fields may have the appearance: sensor name, next to its sensor status. Each sensor may have an error counter. Such a counter will be increased if e.g. the data from the sensor exceeds the maximum or minimum indication level. If the sensor has a problem with communication with the ESP board or begins to break down and send from time to time, not valid data we will be able to notice this situation.
    Each counter should be checked at regular intervals, e.g. 5 min. (parameter in setup or file) also immediately deleted so that it counts again. If the number of errors exceeds the set value (set in the software parameters or configuration file) then the sensor description should change to "error". The sensor description should remain constant until the next check. The device status field can be changed to e.g. yellow. If serious errors occur in red. This is medical equipment, so maybe if any counter has a value greater than zero then the status should light up to yellow. And the status should be In red if more errors appear (counter reach at least 100) within 5 minutes. Similarly, we can check the voltage level of the device's power supply, if it is within the given range, we can write "correct" in the status field "power supply". The "power supply" is the voltage after the regulator which should be constant.

new feature:

  • the user does not need to acknowledge each error message
  • information on the status of each sensor available online (works, doesn't work)
  • quick device diagnostics
  • easier servicing
@MariuszSuchenek
Copy link
Author

MariuszSuchenek commented Apr 29, 2020

Error message in response to a communication error
obraz
obraz

Any communication error requires user interaction. With minor communication errors, e.g., the cable between boards that are not properly connected to each other causes that the ventilator is no longer to be used.

@MariuszSuchenek
Copy link
Author

MariuszSuchenek commented Apr 29, 2020

Random data sent as sensor data - both positive and negative numbers. Regardless of whether the sensor data should be in the sensor measurement range
obraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant