Skip to content

Instantly share code, notes, and snippets.

View Hypfer's full-sized avatar
🦆

Sören Beye Hypfer

🦆
View GitHub Profile
@7marcus9
7marcus9 / doc.md
Last active February 6, 2024 14:41
Smart Building Gateway MT2683

Overview

  • SOC: AR9344-DC3A
  • RAM: 2x A3R13E40DBF-8E
  • Flash1: winbond 25Q80DVSOG
  • Flash2: ESMT F59L1G81A
  • ZWave PHY/µc: SD3502A-CNE3

UART

UART ist rechts neben dem SOC (4x Testpoint unter Quarz)

  • TP 5 = GND
@d8rt8v
d8rt8v / README.md
Last active April 5, 2024 12:22
SILAM pollen sensors

The SILAM (System for Integrated modeLling of Atmospheric composition) Pollen Sensors flow retrieves data from the SILAM Europe Pollen dataset and processes it to obtain specific pollen concentration values.

This flow can be used to fetch and process pollen data for further analysis, visualization, or integration with Home Assistant.

The flow performs the following steps:

Flow

@stek29
stek29 / 0vacuum_rc_gamepad.md
Last active August 12, 2021 06:34
miot vacuum remote control with JS Gamepad API with analog input

start py server, open web in browser

@stek29
stek29 / dreame_1c_root.md
Last active March 2, 2024 12:38
Root Dreame Robot without via uart only

These are just my notes, and described process worked for me on my 1C robot
If anything goes wrong, having USB adapter for FEL flashing might be the only way to restore your robot
this is not an official guide
oh, and I'm not responsible for any damage blah blah
and huge thanks to Dennis and Hypfer, and everyone behind this root :)

0. get uboot shell

to enter uboot shell on 1C you have to: 0. turn robot off normally

  1. hook up uart, open console
@depau
depau / README.md
Last active November 20, 2023 19:28
Valetudo Gamepad Control

PyGame-based Valetudo Gamepad Remote Control

Uses PyGame, so it should work with all gamepads that work in actual games.

Nasty code ;)

It requires the gamepad to have at least one analog stick.

Modify the script and set DRY_RUN to True to avoid contacting Valetudo during gamepad testing.

@depau
depau / README.md
Last active August 31, 2023 15:50
Hoppscotch Valetudo API v2 requests

Hoppscotch collection for Valetudo

https://hoppscotch.io

To import

  • Open Collections tab
  • Click Import/Export
  • Click the 3-dot menu and select Import from Gist
  • Paste this Gist URL
@ixs
ixs / intel_x520_patcher.py
Last active April 25, 2024 07:19
Intel x520 EEPROM Patcher allows to unlock the x520 network card to work with non-intel branded SFP modules.
#!/usr/bin/env python3
#
# Simple Intel x520 EEPROM patcher
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules.
#
# Copyright 2020,2021,2022 Andreas Thienemann <andreas@bawue.net>
#
# Licensed under the GPLv3
#
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/
@katef
katef / life-utf8.c
Last active May 2, 2024 20:13
XBM to UTF-8 braille image things
/*
* John Conway's Game of Life.
*
* This is written for POSIX, using Curses. Resizing of the terminal is not
* supported.
*
* By convention in this program, x is the horizontal coordinate and y is
* vertical. There correspond to the width and height respectively.
* The current generation number is illustrated when show_generation is set.
*
@rikka0w0
rikka0w0 / WSL_x86.md
Last active October 22, 2020 06:51
Run x86 native Linux binary on WSL

microsoft/WSL#2468

Install qemu and binfmt

sudo apt update
sudo apt install qemu-user-static
sudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff'

You will need to reactivate this every time you restart WSL and want i386 support: