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

Implement error LED and status codes. #1006

Merged
merged 1 commit into from Jul 1, 2021

Conversation

h2zero
Copy link
Collaborator

@h2zero h2zero commented Jul 1, 2021

Description:

Merges LED_RECEIVE/LED_SEND into LED_SEND_RECEIVE pin definition.

Adds LED_ERROR to display error status based on blink times as follows:

Disconnected from Wifi: 2 seconds on 2 seconds off.
Disconnected from broker: 2 seconds on 5 seconds off.

Other status LED indications added:
WifiManager configuration web portal active: LED_INFO and LED_ERROR = ON.
OTA Update in progress: LED_SEND_RECIEVE and LED_ERROR = ON.

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

main/main.ino Outdated Show resolved Hide resolved
Merges LED_RECEIVE/LED_SEND into LED_SEND_RECEIVE pin definition.

Adds LED_ERROR to display error status based on blink times as follows:

Disconnected from Wifi: 2 seconds on 2 seconds off.
Disconnected from broker: 2 seconds on 5 seconds off.

Other status LED indications added:
WifiManager configuration web portal active: LED_INFO and LED_SEND_RECEIVE = ON.
OTA Update in progress: LED_SEND_RECIEVE and LED_ERROR = ON.
@1technophile 1technophile added this to the v0.9.7 milestone Jul 1, 2021
@1technophile 1technophile merged commit 05dddf4 into 1technophile:development Jul 1, 2021
@h2zero h2zero deleted the staus-led branch July 1, 2021 20:44
@g-regor
Copy link

g-regor commented Jan 18, 2024

The documentation needs to be updated.

@1technophile
Copy link
Owner

Indeed, feel welcome to submit a PR if you would like:
https://github.com/1technophile/OpenMQTTGateway/edit/development/docs/use/gateway.md

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

Successfully merging this pull request may close these issues.

None yet

3 participants