Tom-evnut / TeslaBMSV2

38 stars 31 forks source link

Nextion stat.txt stuck to "boot" in ESS Mode #8

Closed stxShadow closed 4 years ago

stxShadow commented 4 years ago

The stat.txt field in nextion displays never geht to "ready" in ESS Mode.

Value is stuck in "boot".

stxShadow commented 4 years ago

As far as i see there is no other output than "boot" if in ESS Mode. Maybe you should send something like "ESS Aktive".

stxShadow commented 4 years ago

changed the code like this:

void dashupdate() { Serial2.write("stat.txt="); Serial2.write(0x22);

if ((settings.ESSmode == 1) && (bmsstatus != Error)) {
//In ESS mode print only ESS Active / Error messages to the nextion display Serial2.print("ESS Active"); } else { switch (bmsstatus)

works for my case now

Tom-evnut commented 4 years ago

Sorry the screen was mainly meant for Vehicle operation so none ESS mode, will roll this change into code.