gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
393 stars 141 forks source link

Control interface disappears after loading #32

Closed shampeon closed 4 years ago

shampeon commented 4 years ago

After flashing and setup the control interface will stop loading. The web console shows an error in the response, and no HTML is in the source.

I think we might be hitting the upper size limit of String sent as a response. https://github.com/esp8266/Arduino/issues/3205

jascdk commented 4 years ago

I have the same problem - the control interface is gone :/

Shadowpheonix commented 4 years ago

I too am experiencing this issue.

chrdavis commented 4 years ago

Same

shampeon commented 4 years ago

I'm almost certain it's a problem with the size of the response we're sending, or the String buffer we're using. If you remove the form elements below Fan from html_page_control, the control panel appears. I removed everything and began adding back in form elements one by one. I can get to VANE_2, but adding the option for VANE_3 breaks the control panel.

chrdavis commented 4 years ago

I have a PR out with a fix for this. I send the header, control page, and footer as separate chunks which works.

gysmo38 commented 4 years ago

I tested the PR on my 5 unit, it look good. I close the issue.