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

Basic WiFi and Influx DB integration #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

japhsc
Copy link

@japhsc japhsc commented Jun 1, 2022

  • get current time via NTP
  • WiFi-Manager
  • handle WiFi Events for e.g. reconnect
  • report current measurements to e.g. InfluxDB
  • as for now, only hard-coded addresses, ports and databases; web configuration planned
  • fix char array size in TEST_MODE
  • print WiFi state and report success on display

@@ -513,6 +596,29 @@ void loop() {
strcat(batterpercent, percent);
Paint_DrawString_EN(342, 10, batterpercent, &bahn_sml, WHITE, BLACK);
#endif
} else {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte hier noch mit einem Kommentar deutlich machen, dass es der else fall für if (BatteryMode) ist

@@ -8,7 +8,10 @@
- WiFiManager: https://github.com/tzapu/WiFiManager
*/

/* Includes display */
/* deep & light sleep */
#include <esp_sleep.h>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed.

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

2 participants