srg74 / WLED-wemos-shield

Wemos D1 Mini (ESP8266) or Wemos ESP32 D1 Mini (ESP32) based universal shield for WLED firmware
https://github.com/srg74/WLED-wemos-shield
MIT License
488 stars 68 forks source link

Setting leds not work #50

Closed sagaardu closed 3 years ago

sagaardu commented 3 years ago

Hello,

I am trying to test this version but it is impossible to modify the number of LEDs in the configuration.

Can you take a look at it?

Greetings

srg74 commented 3 years ago

I am trying to test this version but it is impossible to modify the number of LEDs You not mentioned what version you used. Since v0.12 you set quantity of LEDs per pin not a total.

sagaardu commented 3 years ago

The version I'm using is your compilation to test the usermod via GUI (0.12.2-bl4 "Ryujin")

As you well indicate, you have to configure the number of total LEDs per pin, that value does not allow modifying it, it is at 30 LEDs and it does not allow changing it.

Neither can you modify the usermod presets such as segment-delay-ms: and on-time-s: when you give it to save it leaves them as is

srg74 commented 3 years ago

Please, use official firmware. The one you try is dev fork. https://github.com/srg74/WLED-wemos-shield/tree/master/resources/Firmware/WLED_wemos_shield/v0.12.0_2106271

sagaardu commented 3 years ago

Hello, I have installed the version you indicate and the problem of configuring the LEDs has been solved.

What still doesn't work is being able to change parameters from the staircase:

huggy-d1 commented 3 years ago

Are you sending the parameters via browser like the readme.md for the staircase usermod suggests?

sagaardu commented 3 years ago

No, I am trying to adjust it from the GUI

sagaardu commented 3 years ago

via curl not working either

 curl -X POST -H "Content-Type: application/json" -d '{"staircase":{"segment-delay-ms":1000,"on-time":10}}' 192.168.142.63/json/state

{"success":true}
srg74 commented 3 years ago

For Json you have to ask in #dev-general at WLED discord channel. They have updated some code related to Json.