Skip to content

Instantly share code, notes, and snippets.

View devbis's full-sized avatar
:octocat:
Working

Ivan Belokobylskiy devbis

:octocat:
Working
View GitHub Profile
@devbis
devbis / README.md
Created April 27, 2025 13:07 — forked from mildsunrise/README.md
Documentation of Tuya's weird compression scheme for IR codes

[Tuya][]'s IR blasters, like the [ZS08][], have the ability to both learn and blast generic IR codes. These IR codes are given to the user as an opaque string, like this:

A/IEiwFAAwbJAfIE8gSLIAUBiwFAC+ADAwuLAfIE8gSLAckBRx9AB0ADBskB8gTyBIsgBQGLAUALA4sB8gRAB8ADBfIEiwHJAeARLwHJAeAFAwHyBOC5LwGLAeA97wOLAfIE4RcfBYsB8gTyBEAFAYsB4AcrCYsB8gTyBIsByQHgPY8DyQHyBOAHAwHyBEAX4BVfBIsB8gTJoAMF8gSLAckB4BUvAckB4AEDBfIEiwHJAQ==

Not much is known about the format of these IR code strings, which makes it difficult to use codes obtained through other means (such as a

@devbis
devbis / 0001-MI-router-3-support.patch
Created July 2, 2024 15:04 — forked from Kexogg/0001-MI-router-3-support.patch
openwrt 22.03 Mi router 3 support
From 321e123f260522551a5654eb47603667cb06caea Mon Sep 17 00:00:00 2001
From: kexogg <kexogg@gmail.com>
Date: Sat, 25 Feb 2023 14:59:00 +0500
Subject: [PATCH] MI router 3 support
---
package/base-files/files/lib/upgrade/nand.sh | 3 +
package/boot/uboot-envtools/files/ramips | 1 +
.../ramips/dts/mt7620a_xiaomi_miwifi-r3.dts | 167 ++
target/linux/ramips/image/mt7620.mk | 21 +