Jaycar-Electronics / WiFi-Controlled-Strip-Lighting

Control some dazzling RGB effects with ESP8266 and Vue.js web app!
7 stars 0 forks source link

Tasmota #6

Open wrexy1994 opened 3 years ago

wrexy1994 commented 3 years ago

I have just flashed the ESP8266 with the Tasmota firmware (backed up first). Changed the circuit; replaced 2N7000 with a pnp transistor e.g. BC558 or equivalent, 1k to a 1k8, and added 3k3 between D7 and base of transistor. Find details at https://tasmota.github.io/docs/WS2812B-and-WS2813. Configuration is D7 GPIO13 : WS2812 7 Needed to change SetOption37 to 7 (R,B,G,Wc,Ww) from default 0 for my strip to get the colours right.

Jaycar-Electronics commented 3 years ago

very nice, I didn't see tasmota before; do you want to create a pull request? then I can get it merged into the main branch for others.

also I couldn't see many effects, do they provide an API to create effects ( like rainbow, flash, etc) ? if not, then we might have to make this project work on Tasmota, then make Tasmota work with some patterns and effects.

wrexy1994 commented 3 years ago

A pull request would be OK. Just thought as an alternate, if anyone needed to control the strip through their home automation setup You can go to their home page at https://tasmota.github.io/docs to find out more. It has not the range of effects, but there are some, all accessed by sending web request to the device's IP address. The command is "Scheme" for light effects, e.g. http:///cm?cmnd=Scheme%208 starts to a "Christmas Pattern" I suppose more "Schemes" could be added.