Giter Club home page Giter Club logo

holiday_leds's People

Contributors

thehookup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

holiday_leds's Issues

Nodemcu crashes when FIRSTFLOOR_LEDS set to 50

Hi,

first of all, thanks for all your videos on your yt channel !
I am testing with your code on a nodemcuESP8266 board.
When i set FIRSTFLOOR_LEDS to a lower number like 50 the board crashes repeatedly when using certain effects like 'Fire'.
This is what i see on the Serial Monitor:

Attempting MQTT connection...connected
Message arrived [holidayLights/configure] 0

Message arrived [holidayLights/effect] Single_Race

Message arrived [holidayLights/power] ON

Exception (28):
epc1=0x4020caa3 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000030 depc=0x00000000

ctx: cont
sp: 3ffffda0 end: 3fffffd0 offset: 01a0

stack>>>
3fffff40: 00000000 4bc6a7f0 f89374bc 00000000
3fffff50: 00000000 00000000 4bc6a7f0 00000000
3fffff60: c4c40101 000003c4 40106e4c 00001324
3fffff70: 00000000 402068c8 3ffef6f4 40202c7c
3fffff80: 001622bf 3ffef7b0 3ffef7f8 40203a8c
3fffff90: 3ffeffac 3ffef7b0 3ffef7b4 3fff0494
3fffffa0: 00000000 00000000 3fff00ac 40206473
3fffffb0: 3fffdad0 00000000 3fff048c 4020c304
3fffffc0: feefeffe feefeffe 3ffe8538 40100739
<<<stack<<<

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld

When i set it back to the default number it runs fine.

if i set the SECONDFLOOR_LEDS to 50 it never crashes even on fire, however the color of the fire effect turns Green, while on the default LEDS count its red.

typo in MQTT path "hoilday"

Fantastic work. I've been wanting to take on a project like this. Following your code is extremely helpful and very much appreciated.

FYI: I noticed a typo in the MQTT path. In some cases holiday has the I and L reversed hoILday.

It seems consistent and not causing a technical problem.

I'll let you know if I run across anything else.

500+ LEDs causing issues

I have 550 LEDs in a string and some of the effects are acting a bit strange.
Single Race and Double Crash don’t utilize the entire string and Blocked Colors crashes the NodeMCU.

question calculateMax

`void calculateMax()
{
#if ZONEONE == 1
maxLEDs = FIRSTZONE_LEDS;
#endif

#if ZONETWO == 1
maxLEDs = max(FIRSTZONE_LEDS, SECONDZONE_LEDS);
#endif

#if ZONETHREE == 1
maxLEDs = max(maxLEDs, THIRDZONE_LEDS);
#endif

#if ZONEFOUR == 1
maxLEDs = max(maxLEDs, FOURTHZONE_LEDS);
#endif

#if ZONEFIVE == 1
maxLEDs = max(maxLEDs, FIFTHZONE_LEDS);
#endif

#if ZONESIX == 1
maxLEDs = max(maxLEDs, SIXTHZONE_LEDS);
#endif
}`

just checked code and noticed that when zonethree, zonefour etc max( starts with phrase "maxLEDs", then zonetwo starts with phrase "FIRSTZONE_LEDS".
is it typeo or it should be this way?

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.