This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: smlgw | |
| friendly_name: smlgw | |
| esp32: | |
| board: esp32-c3-devkitm-1 | |
| # Enable logging | |
| logger: | |
| level: WARN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import sys | |
| import subprocess | |
| import shlex | |
| try: | |
| import humanize | |
| except ImportError: | |
| humanize = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Free Open Source Software released under GPLv2 | |
| # see http://www.gnu.org/licenses/gpl-2.0 | |
| # Author: Florian Knodt <git@adlerweb.info> | |
| # Original Author: Tilman Schmidt <tilman@imap.cc> | |
| # Contributor: Peter Pawn @ IP Phone Forum | |
| # inspired by http://www.administrator.de/contentid/214598 | |
| # Requirements (for example via pip): graypy, requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <heltec_unofficial.h> | |
| #include <LoRaWAN_ESP32.h> | |
| #include <OneWire.h> | |
| #define HELTEC_WIRELESS_STICK_LITE | |
| #define MINIMUM_DELAY 300 //300 Sekunden = 5 Minuten | |
| const char* band = "EU868"; | |
| const uint8_t subband = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: battest | |
| friendly_name: battest | |
| esp32: | |
| board: esp32-c3-devkitm-1 | |
| framework: | |
| type: arduino | |
| # Enable logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Mastodon v4.3.x docker character limit change | |
| # Does *NOT* word with >= 4.3.4 as the handling was changed | |
| # Based on https://mpp-service.de/en/mastodon-character-limit-increase-in-a-docker-environment/ | |
| # Based on https://fouquet.me/2024/10/10/mastodon-4-3-char-limit | |
| # ./postLimit.sh 2500 → change post limit to 2500 | |
| # Must be executed in the directory Mastodons docker-compose.yaml is located | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * NeoClock | |
| * | |
| * Clock using 60 WS2812B/Neopixel LEDs and DS3231 RTC | |
| * | |
| * Libraries needed: | |
| * * Adafruit NeoPixel (Library Manager) - Phil Burgess / Paint Your Dragon for Adafruit Industries - LGPL3 | |
| * * Rtc by Makuna (Library Manager) - Michael C. Miller | |
| * * Arduino Timezone Library (https://github.com/JChristensen/Timezone) - Jack Christensen - CC-BY-SA | |
| * * Time Library (https://github.com/PaulStoffregen/Time) - Paul Stoffregen, Michael Margolis - LGPL2.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp | |
| Ported to Arduino ESP32 by Evandro Copercini | |
| Create a BLE server that, once we receive a connection, will send periodic notifications. | |
| The service advertises itself as: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E | |
| Has a characteristic of: 6E400002-B5A3-F393-E0A9-E50E24DCCA9E - used for receiving data with "WRITE" | |
| Has a characteristic of: 6E400003-B5A3-F393-E0A9-E50E24DCCA9E - used to send data with "NOTIFY" | |
| The design of creating the BLE server is: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> | |
| #include <ESP8266mDNS.h> | |
| #include <PubSubClient.h> | |
| const char* cfg_wifi_ssid = "freifunk-myk.de"; | |
| const char* cfg_wifi_pwd = ""; | |
| const char* mqtt_server = "deinserver.local"; | |
| const unsigned int mqtt_port = 1883; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <SoftwareSerial.h> | |
| SoftwareSerial SRSerial(D1, D0); | |
| void setup() { | |
| Serial.begin(115200); | |
| SRSerial.begin(9600); | |
| } |
NewerOlder