Skip to content

P5A-Enerlog/up_goes_the_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software for the Enerlog Smart Heating Project

All documentation can be found on the wiki

Overview

This code is made for an ESP32 Arduino board
The system is able to:

  • Collect data from 8 sensors
  • Send it to an API (hosed on EPF servers)
  • Send it at a custom time interval (minimum every 5 min)
  • Automatically synchronize time by calling an external time API
  • Restart the connection if it is unable to connect, restart the whole system if it is for a too long time

Secrets variables

Another file must to be added that is not on the repositiry because it constains secrets variables. You have to create a secret_keys.h file and fill it with:

#define EPF_API_KEY "an api key"
#define WIFI_SSID "network name"
#define WIFI_PASSWORD "network password"

Replacing the strings with your values

Files

Other than the secret_keys.h, here are the files provided here:

  • app.ino contains the main behaviour of the ESP32
  • client.h contains the functions related to WiFi connection
  • sensors.h contains the functions related to sensors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published