Skip to content

Instantly share code, notes, and snippets.

@ithygit
ithygit / esphome_esp8266_rcwl0516_v1.yaml
Created March 21, 2021 09:30
esphome_esp8266_rcwl0516_v1.yaml
#For using RCWL0516 microwave motion detectors. Using a dev/breakout board I find is easiest for this.
#ESP8266 Pins | RCWL0516/Connection | Comment|
#| VIN | 5v from PSU | Provides 5V to the ESP8266/Alt use the breakoutboards DC
#| VU/5V | VCC on RCWL0516 | Powers the module with 5v from esp's rails, pref add cap/direct power, just remember the earth back to the esp
#| D2/GPIO4 | OUT on RCWL0516 | RCWL sends HIGH signal when motion detected |
# Tune the way you wish this sensor to be triggered, ideally on the esphome to reduce the flapping/sensitivity of this module.
# Use several or other detectors for confidence in precense detection
esphome:
name: esp8266room
#ith - v1 - backlight untested, works good otherwise, use buttons to cycle
esphome:
name: ttg
platform: ESP32
board: featheresp32
font:
- file: 'fonts\slkscr.ttf'
id: font_slkscr_8
size: 8
@ithygit
ithygit / gnss_test.py
Created December 21, 2020 13:23 — forked from initialed85/gnss_test.py
Carla GNSS sensor oddities
import glob
import os
import sys
import time
from math import sqrt
from pyproj import Geod, Transformer
try:
sys.path.append(glob.glob('../carla/dist/carla-*%d.%d-%s.egg' % (
@ithygit
ithygit / README.md
Created December 21, 2020 13:22 — forked from initialed85/README.md
Flashing Kogan (AU) smart devices w/ Tasmota using tuya-convert

Flashing Kogan smart devices w/ Tasmota using tuya-convert

I bought the following devices from Kogan (AU):

  • KASB10WRGBCCTB22A Kogan SmarterHome 10W RGB+CCT Color & Warm/Cool White Smart Bulb (B22)
  • KALEPDLRGBCCTA Kogan SmarterHome Smart LED Downlight
  • KASB10WRGBCCTE27A Kogan SmarterHome 10W RGB+CCT Color & Warm/Cool White Smart Bulb (E27)
  • KASPEMHUSBA Kogan Smart Plug With Energy Meter (and 2 x USB)
    • NOTE: Same device as MS6104 Jaycar Smart Plug WiFi Controlled Main Switch and Energy Monitor with 2 x USB Sockets