Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sh3mm/CB3S-led-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

Local Wifi Led strip

Project made to adapt a Genni "Smart" led strip that required an app and a cloud connection into a local only Wifi led strip that communicates through an HTTP server hosted on the chip.

The chip is a CB3S from tuya.

The code depends on libretiny.

Set-up

  1. To setup, Fisrt create a new varriables.h file in the src folder and fill it with the following information:
// WiFi configs
#define WIFI_SSID "XXXX"
#define WIFI_PASS "XXXX"

// Pin configs (the default for my project)
#define BUTTON_PIN 9
#define R_PIN 8
#define G_PIN 24
#define B_PIN 26

// PWM configs
#define ANALRES 10
#define ANALFRQ 100

// Button configs
#define LONG_CLICK 5000
  1. Upload the project to the chip using platformIO

About

Sofware to reporpuse an always-online "Smart" LED strip from Genni into a local HTTP server using LibreTiny

Topics

Resources

Readme

Stars

Watchers

Forks

Packages

Contributors