Skip to content

Instantly share code, notes, and snippets.

View seekwhencer's full-sized avatar
🤠
yeeeehaaaa

Matthias Kallenbach seekwhencer

🤠
yeeeehaaaa
View GitHub Profile
@seekwhencer
seekwhencer / README.md
Last active August 16, 2023 19:43
Control two 12V Außenborder

Control two 12V Außenboarder

Wiring

Motor Left (A)

  • D0 -> IBT (A) 1
  • D1 -> IBT (A) 2
  • IBT (A) 3 + 4 -> 5V+

Motor Right (B)

@seekwhencer
seekwhencer / .gitignore
Last active June 2, 2023 11:31
Grafana Weather Forecast with SVG's
.idea
@seekwhencer
seekwhencer / README.md
Created May 24, 2023 18:09
Grafana SVG

Grafana SVG

  • use the SVG Plugin
  • leave the svg field empty
@seekwhencer
seekwhencer / .env
Created December 11, 2022 11:32
ffmpeg + node.js in one docker image
PROJECT_NAME=whooaa
@seekwhencer
seekwhencer / Dockerfile
Created September 22, 2022 18:15
node.js 16 with shared libs and rtl_433 in one Dockerfile
FROM node:16-alpine
RUN apk add --no-cache build-base libtool libusb-dev librtlsdr-dev rtl-sdr cmake git
WORKDIR /home/node
RUN git clone https://github.com/merbanan/rtl_433.git
WORKDIR /home/node/rtl_433
RUN mkdir build
ffmpeg -f v4l2 -input_format mjpeg -video_size 1920x1080 -framerate 60 -i /dev/video0 -c:v copy output.avi -y -loglevel debug
/*
import * as R from './Ramda.js';
*/
import merge from '../node_modules/ramda/src/merge.js';
import sortBy from '../node_modules/ramda/src/sortBy.js';
import compose from '../node_modules/ramda/src/compose.js';
import toLower from '../node_modules/ramda/src/toLower.js';
@seekwhencer
seekwhencer / gist:db12fda293eab5090d8c148ab5e46c41
Last active April 29, 2019 17:25
nodeMCU PWM via MQTT with two BTS7960B
#include <PubSubClient.h>
#include <SoftwareSerial.h>
#include <ESP8266WiFi.h>
#include <ArduinoJson.h>
const char* ssid = "device";
const char* password = "CHANGE!ME";
char* topic = "movement";
char* server = "droneboat";
@seekwhencer
seekwhencer / install_mpd.sh
Created April 12, 2018 17:56
Install script... installs actual mpd - music player daemon on a raspberry pi
#!/bin/bash
sudo apt-get install g++ \
libmad0-dev libmpg123-dev libid3tag0-dev \
libflac-dev libvorbis-dev libopus-dev \
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \
libfluidsynth-dev libgme-dev libmikmod2-dev libmodplug-dev \
libmpcdec-dev libwavpack-dev libwildmidi-dev \
libsidplay2-dev libsidutils-dev libresid-builder-dev \
libavcodec-dev libavformat-dev \
libmp3lame-dev libtwolame-dev libshine-dev \
station_cfg = {}
station_cfg.ssid = "..."
station_cfg.pwd = "..."
station_cfg.save = true
function wait_for_wifi_conn()
tmr.alarm(1, 1000, 1, function()
if wifi.sta.getip() == nil then
print("Waiting for Wifi connection")
else