Skip to content

Instantly share code, notes, and snippets.

Matthieu Aubry ItHasU

Block or report user

Report or block ItHasU

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ItHasU
ItHasU / garmin-fetch.bash
Last active Jan 4, 2019
This code allows to retrieve data from the Garmin Connect website for your own use.
View garmin-fetch.bash
#!/bin/bash
CONFIG=${1-config.json}
# Constants
ERRORS="errors.log"
LOGIN_FILENAME="/tmp/garmin-login.html"
AUTH_FILENAME="/tmp/auth.html"
SESSIONID_FILENAME="/tmp/sessionid.txt"
View test_lolin32.ino
#include <esp_wifi.h>
#define uS_TO_S_FACTOR 1000000 /* Conversion factor for u seconds to seconds */
#define TIME_TO_SLEEP 10 /* Time ESP32 will go to sleep (in seconds) */
//const int PIN_LED = 22; // LOLIN32 lite
const int PIN_LED = 5; // LOLIN32
void setup()
{
You can’t perform that action at this time.