-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug, MQTT, and Alexa errors #223
Comments
Hi, did you set |
for MQTT it looks like you don't have the PubSubClient library installed on your arduino IDE, try insalling that and see if it still throws an error. |
Its all there: #include <ArduinoJson.h> |
It didnt have the 1, so i tried it with the 1, and still no go. I get this: Alexa pairing mode Alexa should tell you that it found a new device, if it did reset the esp8266 to return to the normal mode. But my Alexa never finds it. |
AH, my bad, I see what the Issue is, Lines 198 to 208 define specific patterns for Alexa, you need to uncomment those as well, and then the alexa errors will go away, after that whatever other errors you might be facing should be back or the software will compile properly From the line numbers I'm seeing in your errors compared to the ones on the latest version of the script, you need to update to the latest version as well as you have approximately 10 lines missing. which might actually be those 198 to 208 lines. |
Is it ok to install recent versions of the scripts then? The install lists outdated scripts, but I wanted to make sure I installed all the versions listed in the installation.md Dependencies
|
I was talking about the main script, not it's dependencies, as for the dependencies, newer versions should be ok for most of them except FastLED as the newer versions cause an issue with one led always being active and/or flashing a different color than expected. |
I got it from the latest release from here: |
Can you check if it works with the new version please? |
Yeah I can do that. I set the project aside for a bit. While im updating that, should I update any of the dependencies as well? Should I make sure FastLED stays at 3.4 or is that safe to update as well? |
It's safe to update FastLED but you'll get flickering on the first led with newer versions, if you want perfect control over the leds, stay on the older versions. |
So this has been the most frustrating thing i've ever worked with. This is the most reason release from github. If I enable MQTT i get a debug error, if I change the debug from 0 to 1 i get a new error. And of course enabling Alexa gives me this error. No where in the installation file does it mention any necessary steps when enabling any of these features.
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
The text was updated successfully, but these errors were encountered: