Skip to content

Instantly share code, notes, and snippets.

@Tech500
Tech500 / Http to https ChatGPT Responses.txt
Created July 13, 2024 05:34
Setup Docker "Nginx-Proxy-Manager" for http to https with "Let's Encrypt" SSL certificate.
My Notes:
Using Docker container "nginx-proxy-manager" available on Dockerhub. Have "Portainer" for manageing Docker containers
running on a Raspberry Pi 4.
--------------------------------------------------------------------
ChatGPT:
Correct Configuration Steps
Access Nginx Proxy Manager Interface:
@Tech500
Tech500 / E220_Structure_Receiver.ino
Last active June 27, 2024 19:59
Two, e220-900T30D transceivers project for controlling a remote battery switch.
// E220_Structure_Receiver.ino
// 06/27/2024 13:22 EST
// Receiver not receiving meesages; only message occurs on ESP32 press of reet switch.
#include "Arduino.h"
#include "LoRa_E220.h"
#include <WiFi.h>
#include <time.h>
#include <FS.h>
@Tech500
Tech500 / E220_Remote_Switch_Sender.ino
Last active June 13, 2024 05:46
E220 remote switch operated by on demand web GET request.
//E220_Remote_Switch_Sender.ino
// 6/12/2024 @ 20:119 EST
// See library downloads for each library license.
// With FIXED SENDER configuration
#define DESTINATION_ADDL 3
#include <Arduino.h>
@Tech500
Tech500 / E220_Remote_Switch_Sender.ino
Last active May 23, 2024 20:10
Ebyte E220 Remote battery switch controlled by web request.
//E220_Remote_Switch_Sender.ino
//Ebyte E220 library by Xreef
//See library downloads for each library license.
//Project uses two, Ebyte E220-900T30D Transcivers, two, ESP32 Devkit v1, KY002S Mosfet Switch, and INA226 Battery monitor.
/* E220 to ESP32 Wiring (4.7K, Pullup resistors on TX, RX, and AUX)
E220 ----- esp32
* M0 ----- 19 (or GND)
@Tech500
Tech500 / E220_Ticker_Receiver_No_Ticker.ino
Last active May 9, 2024 19:38
Project RTC_DATA_ATTR not working; suspect deep sleep issue
//Modified for INA226 Voltage Monitor
//E220_Ticker_Test-Receiver.ino
//William Lucid 5/9/2024 @ 15:33 EST
//Corrections and No Ticker...
//Project uses ESP32 Devkit V1, INA226 Voltage Monitor, and KY002S MOSFET Switch
/*
@Tech500
Tech500 / Receiver.ino
Last active May 4, 2024 04:37
ESP32 Wake by radio, switch battery, and monitor; solar charged battery.
//Modified for INA226 Battery Monitor
//E220_Transceiver_Videofeed_Receiver.ino
//William Lucid 5/3/2024 @ 22:15 EDT
/*
* EBYTE LoRa E220-900T30D
* Stay in sleep mode and wait a wake up WOR message
*
* You must configure the address with 0 3 23 with WOR receiver enable
@Tech500
Tech500 / E220_Transceiver_Videofeed_Receiver.ino
Last active March 13, 2024 22:58
E220_VideoFeed_Remote_Switch --Power switch for video camera to conserve battery
//E220_Transceiver_Videofeed_Receiver.ino
//William Lucid 3/11/2024 @ 17:17 EDT
/*
* EBYTE LoRa E32
* Stay in sleep mode and wait a wake up WOR message
*
* You must configure the address with 0 3 23 with WOR receiver enable
* and pay attention that WOR period must be the same of sender
@Tech500
Tech500 / ESP32_nRF24L01_IRQ_Receiver.ino
Last active February 5, 2024 13:18
Pair of nRF24L01's remotely controlling a relay by web server --with ESP32 deep sleep
// ESP32_nRF24L01_IRQ_Receiver.ino William Lucid 02/04/2024 @ 21:07 EST
// Based on RF24 library example "InterruptConfigure"
// https://github.com/nRF24/RF24/blob/update-irq-example/examples/InterruptConfigure/InterruptConfigure.ino
// Example: Author: Brendan Doherty (2bndy5)
// Addition code, references, guidance, and lots of help: Google's Bard.
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <printf.h>
@Tech500
Tech500 / Switch --TeraTerminal.log
Last active January 31, 2024 02:28
nRF24L01 demo of remote switch control with ESP32 Deep Sleep
[2024-01-30 20:34:31.540] @ zä
[2024-01-30 20:34:31.553] X¬/1Á3 C
[2024-01-30 20:34:31.709]
[2024-01-30 20:34:31.709]
[2024-01-30 20:34:31.724] nRF24L01+ IRQ_Receiver
[2024-01-30 20:34:31.740] Receving...
[2024-01-30 20:34:31.756]
[2024-01-30 20:34:31.756] Wakeup was not caused by deep sleep: 0
[2024-01-30 20:34:31.803] Boot number: 1
@Tech500
Tech500 / TeraTerminal log.txt
Created January 28, 2024 12:49
IRQRadio 0 Transmit Panic
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028