17 #ifndef _FIREBASE_LOGGER_H_
18 #define _FIREBASE_LOGGER_H_
20 #include <FirebaseESP32.h>
31 FirebaseConfig config_;
39 MB_String full_path(
const char * path);
54 const char * fire_url,
const char * fire_token,
const char * email,
63 void set_int(
const char * path, int64_t value);
71 void set_float(
const char * path,
double value);
79 void set_string(
const char * path,
const char * value);
87 void set_bool(
const char * path,
bool value);
96 void push_time(
const char * path, time_t timestamp);
bool is_connected()
Get http server connection status.
void begin(const char *fire_url, const char *fire_token, const char *email, const char *pass)
initialise and authorise system to use Firebase RTDB (real time database) make sure wifi is initialis...
void set_float(const char *path, double value)
Set a float value.
bool is_ready()
Check if authenticated.
void set_int(const char *path, int64_t value)
Set an integer value.
void set_bool(const char *path, bool value)
Set a bool value.
bool is_keep_alive()
Get TCP keepalive status.
bool check_and_refresh_token()
refresh token if expired
void set_string(const char *path, const char *value)
Set a string value.
void push_time(const char *path, time_t timestamp)
Push a timestamp into a list to a relative path, useful to log times like when initialisation was com...