We hope for your help
Tested today, usermod works as expected.
1st you have to have binary with this usermod compiled (compile with -D USERMOD_ANIMATED_STAIRCASE or get from @srg74 ). You will know it is there by looking into Info page/dialog.
Then configure it in Usermod config page to use appropriate GPIO pins (I recommend you use PIR for simplicity) and have desired delay.
When the config is done, create segments for each of your steps.
When the top or bottom sensor (PIR or US) triggers (or you send it MQTT command wled/deviceMAC/swipe with message “up” or “down”) the segments will start turning on in sequence (and after on-time-s they will turn off in the same order).
You can also create preset with JSON to trigger the usermod.
{"staricase":{"bottom-sensor":true}}
or {"staricase":{"top-sensor":true}}
I managed to make it work, but the problem was that after sending the MQTT command, the stairs lit up very slowly (1 step for about 5-8 seconds) and therefore they didn’t even light up all of them and they went out just as slowly again. I didn’t find a way to speed it up, even though it was 100ms up the stairs.
Hi, i try the usermod, But when I activate the usermod with pin 17, via a cable that I connect to ground, the lights turn on in sequencer, but then do not turn off. I have for now to test, 10 led on pin 16, i have one esp32 mh-et live with srg64 firmware and staircase mod compiled. Anyone have the same problem? Thanks
@blazoncek you say that the usermod works as expected. However I also see that you’re using a different branch I guess (13.1). Where can I find the 13.1 version? Doesn’t that version have the flickering segment 1?
It does look like I have a fix for the flickering issue on the 13.0 branch. What is the best way to make sure the bug is fixed on the main WLED branch?
I’m using my fork with many experimental features most of them not yet ready for master.
You can get it in my repo in dev branch but be advised that some features may be broken or in untested state.
@Nik97 you should also add pull-down resistor to GPIO17.
@Igor_Markovic there is no known flickering issue on anything after 0.13-b3.
There really is flickering of segment 1 when using the staircase usermod as of b3 but I just fixed it yesterday on the latest version of WLED. There was a problem with that the animations when switching on/off segments where done on segment 1. So turning on segment 2, 3, etc would trigger a crossfade effect on segment 1.
I recently fixed the issue and the fix has now been merged to Aircoookie/WLED branch.
I’m having issues with Segment 1, flickers/lags with others when I trigger PID. Its only Segment 1 even when I change first and last LED numbers segment 1 is causing me issues. I updated to v0.13.0-b6/ esp8266_staircase_mod.bin on my ESP8266 but went into watchdog resetting over and over. I went down to v0.13.0-b5/ esp8266_staircase_mod.bin but same issues on Segment 1 , any idea how to resolve this ?
12 VDC WS2815 String
There is a bug in that version (as of b3). You’ll have to go back to b2 (which contains other bugs), compile WLED yourself or wait for the next version for the fix.
Hi, so I started testing this usermod again. I confirm that segment 1 is delayed, snorting and angry. But as you write, maybe it will be fixed in the next version.
But I have a question whether it is possible to turn off the lights (not just turn them on) with some call. So when I go through the sensor at the bottom, it lights up and if I go through the top, they go out right away and until I go through, they light up
Tried b2 and same issue was happening, went to b0 and its working correctly but on time of 30 sec cant be adjusted lower so just another issue since 10 sec is what I’m aiming for.
Is there somewhere I can download WLED_wemos_shield esp8266 files to compile myself maybe?
The github.com/Aircoookie/ WLED . git doesnt work for my ESP8266 V3 as any of the binaries I use make it keep restarting watchdog reset? hence why I’m using the wemos bins at this point.
EDIT: segment delay or ontime cannot be edited within b0
EDIT: @Realrolfje @srg74 would there be any more updates for this? if not will need to grab a ESP32 to make it all work at this point .
Hello, i installed esp32_staircase_mod.bin
From srg74, i use a DIGUNO QuinLED-Dig-Uno Pinout Guide - quinled.info
The problem i have is: if i boot the esp and trigger 1 of the 2 pir sensor inputs, the light stays on an does not go out until i do it in the UI, the 2 sensor inputs don’t do anything until i reboot the esp. then again only the first trigger works an the lights stay on. can someone help me please? thanks a lot. (sorry for my bad english )
When is the new version?
Проверь напряжение на выходе пир датчика. Должно быть >1.5V при срабатывании и <1V при включении датчика. Подтягивайтесь резистором ~10K к земле. Check the voltage at the output of the sensor. Must be >1.5V when triggered and <1V when sensor is disable. Pull up a ~10K resistor to ground.
Great job pa1okz!
hi there,
Im trying to follow the steps in this link: https://github.com/Aircoookie/WLED/tree/main/usermods/Animated_Staircase
and I am using a dig-quad v2 from Quinled. which esp32 do I choose to uncomment in platformio.ini?
I can see there are 5:
; default_envs = esp32dev
; default_envs = wemos_shield_esp32
; default_envs = esp32_eth
; default_envs = esp32_eth_ota1mapp
; default_envs = esp32s2_saola
None.
Create custom one in platformio_override.ini
But you don’t even need to do that. A binary from @srg74 will work on dig-quad.
Good morning everyone. I recently built a lighting for my stairs, used wled v0.13.3 and animated staircase mod, on esp32 but I have a problem with that. I have stairs divided into segments, the sensors are HC-SR04 (I also used a PIR sensor) and the stairs turn on very slowly every ~ 1s and only in solid mode. I changed the time from 150ms to 10ms and nothing change. I think my problem is the number of LEDs I have 882 in one strip. Can anyone help me with this?