-
Notifications
You must be signed in to change notification settings - Fork 3
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
Does not work without being connected to a machine #1
Comments
Hi Deniz, I think the memory is fine, the sketch takes only about 260k and it would probably not connect at all. I don't have a generic ESP8266 here for testing, but I think it should work exactly the same, apart from different GPIO naming. |
Hello, Here is some Debug output I got, when turning on the Serial port. I changed the WIfi setup to this (ignore the hostname part):
and this is what I get via Serial Monitor when turning on the ESP:
and then when opening the URL in a Browser I get this in Serial Console:
edit: I decoded the Stack:
I use esp8266 by ESP8266 Community Version 2.3.0 as Boardfiles in my Arduino IDE. Settings: Generic ESP 8266 Module, CPU-Frequency: 80 MHz, Flashmode: DIO, Baudrate: 115200, Flash Size: 1M(512k SPIFFS), Reset Method: ck, Debug Mode: Disabled, Debug Port: None |
Hi, it looks like it can't handle the answer from the coffeemaker. Which model do you have? You could try if you can send to the coffeemaker by calling ip/api?command=on You could also comment line 461 (" http_answer = http_answer + " Status: " + getStatus() + "";") to avoid communication with the coffeemaker on the main page. |
It was my fault. I thought it works without being connected to the Machine so I wanted to do a dryrun. But of course it does not. I tried it with a NodeMCU and with a Wemos D1 Mini now and it works. So the issue should be "The Code does not work without beeing connected to the Machine". |
Hello,
I tried flashing it to a Generic ESP8266 Module. I have one with 512k Mem and one with 1M Mem. But it keeps reconnecting (I see it in my router logs).
To make it compile I set this before the Software Serial.
#define D2 0 // RX -> GPIO 0
#define D1 2 // TX -> GPIO 2
I see it connecting to my router and when opening the IP in the Browser I get a "ERR_CONNECTION_REFUSED" in Chrome.
Could it be that it has to less memory?
I used1M (512K Spliffs) but it does not work. I also tried 160MHz CPU speed and different build configs. Would be good if it works with the cheap generic 2$ boards too.
The text was updated successfully, but these errors were encountered: