Coder Social home page Coder Social logo

Comments (6)

axiscpi avatar axiscpi commented on July 23, 2024

Hello,
It seems I have the same problem, after a few minutes using the web app, the wemos restarts indefinitely. The only way to bring back working, is to reinstall the arduino sketch with option "Erase Flash = All flash content" + reinstall SPIFFS contents.

Thanks for your help

from esp8266-fastled-iot-webserver.

axiscpi avatar axiscpi commented on July 23, 2024

Hello,
Update concerning my problem :
The Wemos keeps restarting when "Rainbow Dots" pattern is activated.

@Paul-Arnold : do you have the same analysis ?

I've commented the line in order to deactivate this pattern :
{ randomDots, "Rainbow Dots" },

For information, here is my configuration :

/*########################` MAIN CONFIG ########################*/
#define LED_TYPE            WS2812B                     // You might also use a WS2811 or any other strip that is Fastled compatible 
#define DATA_PIN            D4                          // Be aware: the pin mapping might be different on boards like the NodeMCU
//#define CLK_PIN             D5                        // Only required when using 4-pin SPI-based LEDs
#define CORRECTION          UncorrectedColor            // If colors are weird use TypicalLEDStrip
#define COLOR_ORDER         GRB                         // Change this if colors are swapped (in my case, red was swapped with green)
#define MILLI_AMPS          5000                       // IMPORTANT: set the max milli-Amps of your power supply (4A = 4000mA)
#define VOLTS               5                           // Voltage of the Power Supply

#define REMOVE_VISUALIZATION          // remove the comment to completly disable all udp-based visualization patterns

#define HOSTNAME "LEDs"                 // Name that appears in your network, don't use whitespaces, use "-" instead

#define DEVICE_TYPE 4                   // The following types are available
/*
    0: Generic LED-Strip: a regular LED-Strip without any special arrangement (and Infinity Mirror + Bottle Lighting Pad)
          Easiest: 5V WS2812B LED-Strip:            https://s.click.aliexpress.com/e/_dZ1hCJ7
          (Long Ranges) 12V WS2811 LED-Strip:       https://s.click.aliexpress.com/e/_d7Ehe3L
          (High-Speed) 5V SK9822 LED-Strip:         https://s.click.aliexpress.com/e/_d8pzc89
          (Expensive) 5V APA102 LED-Strip:          https://s.click.aliexpress.com/e/_Bf9wVZUD
          (Flexible) 5V WS2812 S LED-Strip:         https://s.click.aliexpress.com/e/_d6XxPOH
          Wemos D1 Mini:                            https://s.click.aliexpress.com/e/_dTVGMGl
          5V Power Supply:                          https://s.click.aliexpress.com/e/_dY5zCWt
          Solderless LED-Connector:                 https://s.click.aliexpress.com/e/_dV4rsjF
          3D-Printed Wemos-D1 case:                 https://www.thingiverse.com/thing:3544576
    1: LED-Matrix: With a flexible LED-Matrix you can display the audio like a Audio Visualizer
          Flexible WS2812 Matrix:                   https://s.click.aliexpress.com/e/_d84R5kp
          Wemos D1 Mini:                            https://s.click.aliexpress.com/e/_dTVGMGl
          5V Power Supply:                          https://s.click.aliexpress.com/e/_dY5zCWt
    2: 3D-Printed 7-Segment Clock, display the time in a cool 7-segment style, syncs with a ntp of your choice
          unfortunatly the "thing's" description isn't updated yet to the new standalone system
          Project link, small version:              https://www.thingiverse.com/thing:3117494
          Project link, large version:              https://www.thingiverse.com/thing:2968056
    3: 3D-Printed Desk Lamp, a Lamp that reacts to sound for your desk
          Project link, twisted version:            https://www.thingiverse.com/thing:4129249
          Project link, round version:              https://www.thingiverse.com/thing:3676533
    4: 3D-Printed Nanoleafs, a Nanoleaf clone that can be made for cheap
          Project link:                             https://www.thingiverse.com/thing:3354082
    5: 3D-Printed Animated RGB Logos
          Project link, Twenty-One-Pilots:          https://www.thingiverse.com/thing:3523487
          Project link, Thingiverse:                https://www.thingiverse.com/thing:3531086
*/

//---------------------------------------------------------------------------------------------------------//
// Device Configuration:
//---------------------------------------------------------------------------------------------------------//
#if DEVICE_TYPE == 0                // Generic LED-Strip
#define NUM_LEDS 24
//#define NUM_LEDS 33
//#define NUM_LEDS 183
#define BAND_GROUPING    1            // Groups part of the band to save performance and network traffic
#elif DEVICE_TYPE == 1              // LED MATRIX
#define LENGTH 32
#define HEIGHT 8
//#define AddLogoVisualizers          // (only 32x8) Adds Visualization patterns with logo (currently only HBz)
#elif DEVICE_TYPE == 2              // 7-Segment Clock
#define NTP_REFRESH_INTERVAL_SECONDS 600            // 10 minutes
const char* ntpServerName = "at.pool.ntp.org";      // Austrian ntp-timeserver
int t_offset = 0;                                   // offset added to the time from the ntp server
const int NTP_PACKET_SIZE = 48;
#define NUM_LEDS 30
#define Digit1 0
#define Digit2 7
#define Digit3 16
#define Digit4 23
// Values for the Big Clock: 58, 0, 14, 30, 44

#elif DEVICE_TYPE == 3              // Desk Lamp
#define LINE_COUNT    8             // Amount of led strip pieces
#define LEDS_PER_LINE 10            // Amount of led pixel per single led strip piece

#elif DEVICE_TYPE == 4              // Nanoleafs
#define LEAFCOUNT 2                // Amount of triangles
#define PIXELS_PER_LEAF 6          // Amount of LEDs inside 1x Tringle

#elif DEVICE_TYPE == 5              // Animated Logos
// Choose your logo below, remove the comment in front of your design
// Important: see "LOGO CONFIG" below

//#define TWENTYONEPILOTS
#define THINGIVERSE

#endif

//---------------------------------------------------------------------------------------------------------//
// Feature Configuration: Enabled by removing the "//" in front of the define statements
//---------------------------------------------------------------------------------------------------------//
//#define ACCESS_POINT_MODE                 // the esp8266 will create a wifi-access point instead of connecting to one, credentials must be in Secrets.h

#define ENABLE_OTA_SUPPORT                // requires ArduinoOTA - library, not working on esp's with 1MB memory (esp-01, Wemos D1 lite ...)
//#define OTA_PASSWORD "passwd123"      //  password that is required to update the esp's firmware wireless

#define ENABLE_MULTICAST_DNS              // allows to access the UI via "http://<HOSTNAME>.local/", implemented by GitHub/WarDrake

#define RANDOM_AUTOPLAY_PATTERN             // if enabled the next pattern for autoplay is choosen at random
#define AUTOPLAY_IGNORE_UDP_PATTERNS        // remove visualization patterns from autoplay

//#define ENABLE_ALEXA_SUPPORT              // Espalexa library required

//#define SOUND_SENSOR_SUPPORT              // allows to control the leds using a physical sound-sensor, configuration below

//#define ENABLE_SERIAL_AMBILIGHT           // allows to function as an ambilight behind a monitor by using data from usb-serial (integration of adalight)

//#define ENABLE_MQTT_SUPPORT               // allows integration in homeassistant/googlehome/mqtt,
// mqtt server required, see MQTT Configuration for more, implemented by GitHub/WarDrake

//---------------------------------------------------------------------------------------------------------//

from esp8266-fastled-iot-webserver.

RosalieWessels avatar RosalieWessels commented on July 23, 2024

Hi,

I have the exact same problem with an Esp8266. I also noticed that the problem started when the rainbow dots pattern was used. Erasing all flash removing the rainbow dots pattern like @axiscpi mentioned seemed to have solved the problem (for now).

from esp8266-fastled-iot-webserver.

Roycinger avatar Roycinger commented on July 23, 2024

Yep, I tried that too. Seems to be an issue with the rainbow pattern.

from esp8266-fastled-iot-webserver.

bb-Ricardo avatar bb-Ricardo commented on July 23, 2024

Hi,

can you check out the current "in-development" branch and switch LED_DEBUG to 1? Please let us know if the issue still persists.

Thank you.

from esp8266-fastled-iot-webserver.

bb-Ricardo avatar bb-Ricardo commented on July 23, 2024

Tested the setting and had no issues with current 'in-development' branch.

Closing this issue due to no response. If you still having troubles consider opening a new issue.

from esp8266-fastled-iot-webserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.