toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 291 forks source link

Changing led pin issue? #489

Open huge-11 opened 3 years ago

huge-11 commented 3 years ago

Hello, I am having some trouble using mclighting. I want to use pin 14 on an esp03 with an upgraded flash for the strip, but somehow i cannot change the gpio pin on the web page. On the definitio.h i wrote led pin = 14, but on the webpage its always on pin 3. Already made my pcb with pin14? Any help please

toblum commented 3 years ago

Hi @huge-11,

in the recent versions, you can configure the PIN dynamically via HTTP call. Have a look here: https://github.com/toblum/McLighting/wiki/Software-installation#configure-pin--rgb-mode--numleds-only-for-v221-or-later

Greetings

cralex11 commented 3 years ago

I have the same trouble. When I try to access this link : http://YOUR_ESP8266_HOSTNAME_OR_IP/pixelconf?ct=16&rgbo=grb&pin=4 nothing hopping, and I get this : File Not Found URI: /pixelconf

toblum commented 3 years ago

@cralex11 Did you use the latest version? /pixelconf should always return something.

cralex11 commented 3 years ago

Sorry, Mclightning V2 works perfectly, but V3 from attached link have this problem with port 3, I can't change it from settings and from link.

toblum commented 3 years ago

Then you should better ask in the https://github.com/FabLab-Luenen/McLighting project for help.