• This repository has been archived on 11/Jan/2020
  • Stars
    star
    254
  • Rank 160,264 (Top 4 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created about 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Arduino library to ease the use of the ESP32 in IoT projects

Basecamp is deprecated now. And only for archival purposes. If you want to take over this project contact me at: [email protected]

There are a lot of alternatives for the ESP32 by now that also work with the ESP8266

Here are alternatives that are in active development:

https://github.com/tzapu/WiFiManager/tree/development

https://github.com/plapointe6/EspMQTTClient

Basecamp

Basecamp - ESP32 library to simplify the basics of IoT projects Originally written by Merlin Schumacher ([email protected]) for c't magazin für computer technik Licensed under GPLv3. See LICENSE for details.

Attention: Do not use the master-branch for production use! Use only the releases!

Dependencies

This library has few dependencies:

ESPAsyncWebServer

ArduinoJSON

Async MQTT Client

AsyncTCP

Documentation

Exhaustive documentation will provided in the next few weeks. An example can be found inside the example folder.

First Setup:

At the first start - when you initially flash the device, the ESP32 will generate an unique password which is displayed at the debug console upon every start. In setup mode (when the ESP32 is acting as an access point for setup), the password for the "ESP_$macOfEsp32" wifi network will be set to this value. It will never change, except the configuration gets broken - then a new password will be generated.

Basic example

#include <Basecamp.hpp>
Basecamp iot;

void setup() {
	iot.begin();
    //The mqtt object is an instance of Async MQTT Client. See it's documentation for details.
    iot.mqtt.subscribe("test/lol",2);

    //Use the web object to add elements to the interface
    iot.web.addInterfaceElement("color", "input", "", "#configform", "LampColor");
    iot.web.setInterfaceElementAttribute("color", "type", "text");

}

void loop() {
	//your code
}

More Repositories

1

tuya-convert

A collection of scripts to flash Tuya IoT devices to alternative firmwares
Python
4,579
star
2

ct-Smart-Home

A ready-to-use Node-RED setup for home automation
Shell
166
star
3

ctraspion

Turns a Raspberry Pi into a WLAN router to take a look at network traffic of smart home and IoT devices
PHP
138
star
4

team-container

A collection of containers to prepare a server for collaboration.
HTML
117
star
5

telerec-t-base

Basic Ansible Setup for a server with Traefik, Portainer and Watchtower
49
star
6

ct-Raspi-Radiowecker

Python
21
star
7

noderedexamples

Node-Red-Beispiele zu c't-Artikeln / Examples for node-red used in our articles.
17
star
8

wake-on-esp

Wake-on-ESP – Powering up computers via WiFi
C++
17
star
9

ct-net-tester

A simple GUI-based network testing tool for the Raspberry Pi. Presented in c't 19/2018
Python
16
star
10

micro-webservice

Micro-Webservice, implementiert mit Boost.Beast
C++
9
star
11

ESP-Doorsensor

A IoT-doorsensor made with the ESP32
C++
9
star
12

k8s-examples

Beispielkonfigurationen zum Artikel "Container mit K" aus c't 18/2019
8
star
13

esp32-bt-mqtt-scanner

C++
7
star
14

python-pdf-ocr

Ein Beispiel zum Artikel "Lese-Schlange" aus c't 7/2019
Python
7
star
15

esp32-wifi-scanner

Ein einfacher WLAN-Scanner für den ESP32
C
7
star
16

Fibonacci-Everywhere

Calculate Fibonacci numbers in different programming languages.
C++
6
star
17

krypto-brief

c't Krypto-Brief – Briefpost DSGVO-konform verschlüsseln.
JavaScript
6
star
18

ct-Raspi-Bluetooth-Receiver

Dateien für den Artikel "Bluehemian Raspberry" aus c't 11/2018
Python
5
star
19

docker-autobuild-example

Ein Beispiel für automatisch erzeugte Images mit dem Docker Hub
Shell
4
star
20

node-red-pack

Docker-environment for Node-Red with MQTT
4
star
21

docker-multiarch-example

Ein Beispiel für einfache Multiarchitektur-Images mit Docker
Dockerfile
4
star
22

ct-google-assistant-sdk

A demo project to run the Google Assistant SDK on a Raspberry Pi. It features a Mute Button and two LEDs
Python
4
star
23

actions-npm-demo

A simple demo for GitHub Actions
JavaScript
3
star
24

alexa-skills-anleitung

3
star
25

telerec-t-debian

System services for a Debian server
3
star
26

or750i-openwrt

2
star
27

asiopy

Asynchroner I/O mit Python
Python
2
star
28

ESP-Moodlight

ESP32 basiertes Stimmungslicht
C++
2
star
29

dsp-speaker-setup

A dsp speaker setup for Wondom DSPs and SigmaStudio presented in c't 11/2019
2
star
30

javascript-ct-14-2023

JavaScript-Beispielcode für Titelthema in c’t 14/2023
JavaScript
2
star
31

telerec-t-2fauth

2fauth Role for Telerec't
Jinja
2
star
32

hedgedoc-docker-compose

1
star
33

opendtu-node-red-dashboard

1
star
34

dirb

Improved dir buster implementation
Python
1
star
35

info-graphics

Open-Source-Infografiken der c't
1
star
36

gifbatch

A shell script to batch convert videos to optimized GIFs and create still images using ffmpeg
Shell
1
star
37

telerec-t-portainer

Portainer container for Telerec't
Jinja
1
star
38

telerec-t-vaultwarden

Telerec't submodule for Valutwarden
Jinja
1
star
39

github-pages-example

Ein einfaches Beispiel zur Illustration von GitHub Pages.
CSS
1
star
40

lightsout

Modernisierte Fassung des Lights-out-Spiels anlässlich der 600. Ausgabe der c’t
JavaScript
1
star