DutchDevelop / BLLEDController

Other
94 stars 26 forks source link

Version 5.1.24 does not switch off the LED's when the console switches off the Printer Light. Also Green status at the end of the print is not working #21

Open simonboydfoley opened 8 months ago

simonboydfoley commented 8 months ago

Version 5.1.24 does not switch off the LED's when the console switches off the Printer Light. Also Green status at the end of the print is not working. Also during LIDAR Flow analysis the light does not switch off .... basically 5.1.24 is fundamentally broken.

CreasaBE commented 8 months ago

I'm pretty sure that if you connect a USB cable and open the console, it'll read Deserialize error while parsing mqtt

Mqtt message received, FreeHeap: 9224 stg_cur not in message lights_report not in message

I have the same issue, even with the latest experimental version. Any idea which stable version works so I can downgrade?

simonboydfoley commented 8 months ago

@CreasaBE I have been trying to downgrade using the firmware BIN's BLLC_13.12.23.bin (stable release) and BLLC_30.12.23.bin (main release) from the web interfaces upgrade option. However it dose not seem to work and the web browser still says its "STABLE 5.1.24". I'm going to have to dig deeper into the code base to figure out how to actually backdate the problematic code to an earlier version that was working. I have upgraded several times and I have never seen any issues with the BLLED not working until I upgraded to 5.1.24. So I "thought" I was running the December 2023 version, however I am beginning to think there may be some upgrade semantics that are not working making people thing they had upgraded when they had not. This is the first time I have seen a firmware version number in the web page ..... which is a good start. When I get the firmware backdated successfully I'll let you know how I did it

simonboydfoley commented 8 months ago

Ahh scrub that statement ..... it looks like the Upgrade feature does work ... its just the web page cache seems to be holding the old page and not updating the firmware version tag immediately in firefox!!! Strange behavior

wile1411 commented 5 months ago

Some work on the code was recently completed by a community member Check the latest BLLC_19.3.24.bin version from official site https://www.dutchdevelop.com/bl-led-controller/

LEDs off for first layer inspection and flow calibration are now added to the current firmware.

Green status after finished print works and stays on until you open / close the door.

The 'not in message' errors weren't related to the BLLED function, but seems to be added to know what was happening in the processing of the MQTT messages. They were just the gcode instructions that the printer spits out during the setup process (eg bed leveling). They were recently filtered out to make the logs cleaner as the only message type requires was 'push_status'

OTA upgrades was planned by the Dev but removed (hence the legacy page) Still need to disconnect from LEDs to power via USB to upgrade.