Skip to content

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

Notifications You must be signed in to change notification settings

Sh3mm/CB3S-led-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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

Stars

Watchers

Forks

Packages

No packages published