Pixel LED-Stripe with Neopixelbus shut down random

Hi,
I have a problem with my ESP8266 and the Neopixel. Randomly, the light just turns off. I also have a fan control, this all happens here too. But I can’t find out what it is either via the log or in any other way. Has anyone had this problem or have any ideas?

esphome:
  name: pixel-led-stripe
  friendly_name: Pixel LED-Stripe

esp8266:
  board: nodemcuv2
  framework:
    version: recommended
  
# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "123xxx"

ota:
  password: "123xxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Pixel-Led-Stripe"
    password: "123xxx"

captive_portal:
    
light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812
    pin: D1
    num_leds: 315
    name: "NeoPixel LED-Stripe"
    effects:
      - addressable_color_wipe:
        
      - addressable_color_wipe:
          name: Color Wipe Effect With Custom Values
          colors:
            - red: 100%
              green: 100%
              blue: 100%
              num_leds: 5
            - red: 0%
              green: 0%
              blue: 0%
              num_leds: 5
          add_led_interval: 100ms
          reverse: false
      - addressable_scan:
      - addressable_scan:
          name: Scan Effect With Custom Values
          move_interval: 100ms
          scan_width: 15
      - addressable_random_twinkle:
      - addressable_random_twinkle:
          name: Random Twinkle Effect With Custom Values
          twinkle_probability: 5%
          progress_interval: 32ms
      - addressable_flicker:
      - addressable_flicker:
          name: Flicker Effect With Custom Values
          update_interval: 16ms
          intensity: 5%
      

Sounds like a power/amp drop. What is powering this setup?
With 315 WS2812 you need at least a 18.5 amp power supply.

The setup is in a car with 2nd battery and a power converter: DC DC 8V-36V zu 5V Spannungswandler 10A 50W
https://www.amazon.de/dp/B09B7ZD7K3?psc=1&ref=ppx_yo2ov_dt_b_product_details

Yep a power drop.

Well since it’s in a car and power options are limited to power pucks. I would try adding a power puck (or two) and power inject at middle points of the led strip.

have a look. Power LED Lights + Injection. Complete Walkthrough - YouTube

Ok thanks I will test it.
What surprised me was that I have the same problem with my fans via GitHub - nordeep/esphome_fan_controller: ESPHome PWM FAN controller. They just go out after an indefinite period of time. Sometimes 30 minutes, sometimes 5 hours.

If I read the log it works mostly :smiley:

You need to look at the power and amp’s needed for that fan and compare it to what the the mosfet can delver. Is the mosfet getting very hot?
A sure sign the mosfet is working hard.

Okay, no, I wasn’t able to verify that