ausocean / ausocean/client

arduino/netsender: need to sync client and server mode if the config request with LowVoltageAlarm mode is missed

Open
#54 3 comments 0 reactions 1 assignee Claimed by @trekhopton View on GitHub
bug
Dominant language
Go
Stars
0
Forks
0
Avg merge
1h 27m
Merged PRs (30d)
1

Description

It seems that the ESP32 gets into a state where the mode = LowVoltageAlarm, but the alarm pin is not alarmed and the ESP is reporting ie. it's not actually in alarm mode.

I think this comes about if a config request is unsuccessful in communicating with datablue that the alarm has been cleared.

We should add a check in run: if !XPin[xAlarmed] AND Mode == LowVoltageAlarm THEN change the mode to Normal.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.