luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
772 stars 306 forks source link

Longer T1 token for Home Assistant notifications #373

Closed dbuezas closed 11 months ago

dbuezas commented 11 months ago

Depends on https://github.com/luc-github/ESP3D/pull/971

luc-github commented 11 months ago

this PR will be merged but it was not necessary actually - the js files are not actually using the positions, they are just simulating the ESP responses

dbuezas commented 11 months ago

Oh, where does the token 1 form element max length come from? I wanted to fix that, but went ahead to try to keep the parts I don't know still consistent

luc-github commented 11 months ago

it is hard coded in 3.0 - https://github.com/dbuezas/ESP3D/blob/dbuezas/HA-support/esp3d/src/core/commands/ESP400.cpp#L406 https://github.com/dbuezas/ESP3D/blob/dbuezas/HA-support/esp3d/src/core/esp3d_settings.cpp#L68C1-L68C41 https://github.com/dbuezas/ESP3D/blob/dbuezas/HA-support/esp3d/src/core/esp3d_settings.cpp#L1252