vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
383 stars 69 forks source link

Internal webserver wont work #82

Closed pvint closed 3 years ago

pvint commented 5 years ago

Original report by Dave (Bitbucket: vvnwr, ).


Iam having issues with the default internal webserver not reacting at all. To exclude issues with my code Iam simple using the basic example included in the fauxmo repo without touching the code at all as a reference here.

With this example I can successfully connect to WiFi, add the example lamps within the Alexa App and can Alexa control the lamps ... so far, all working as planned! If I now try to connect via browser to the IP on port 80 (as described, didnt touched the example code) theres nothing comming up (neither in my browser nor the serial console)

For troubleshooting I also made a fresh arduino IDE install with the needed libs, same behavior. fauxmoESP is v3.1.0

pvint commented 5 years ago

Original comment by Carlos Yz (Bitbucket: [Carlos Yamazaki](https://bitbucket.org/Carlos Yamazaki), ).


No problems with the following includes:

#!arduino

#include <Arduino.h>
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <IRrecv.h>
#include <IRsend.h>
#include <IRutils.h>
#include <IRremoteESP8266.h>
#include <ESP8266WebServer.h>
#include <EDB.h>
#include <FS.h>

#include "fauxmoESP.h"
#include "AlexaIRWeb.h"

With Echo dot 2, esp8266 core 2.5.0 (not beta), fauxmo esp 3.1.0. All libraries updated until today.

pvint commented 5 years ago

Original comment by Carlos Yz (Bitbucket: [Carlos Yamazaki](https://bitbucket.org/Carlos Yamazaki), ).


Basic example doesn't include web page service. It must constains its code like one of File->Examples->Esp8266WebServer.

pvint commented 4 years ago

Original comment by Enrico A. (Bitbucket: [Enrico A.](https://bitbucket.org/Enrico A.), ).


Hi Carlos, in fauxmo 3.1.0 the example with external server, unfortunately uses AsyncWebServer.
Where you saw the example with Esp8266 Web server? A previous release?
Regards.

Enrico.

pvint commented 3 years ago

Closing stale issue.