Thanks for KegMon is a great project, I have been modifying to add support for 3 and 4 Scales.
temp_base.hpp is missing a virtual destructor, therefore TempSensorDS and TempSensorDHT are not getting their destructors called on the std::unique_ptr reset in TempSensorManager::setup()
This causes about a 100-byte memory leak for TempSensorDS per attempted setup cycle if no temperature sensor is connected.
In short, I added a scale_count = x to [common_env_data] in platform.io
This enables various #if CFG_SCALECOUNT > 2 etc macros to enable more scale logic.
It also uses scale_count with a python script to then move different htm files from the sub 2/3/4 folders to /html and minimize them.
I don't have any displays yet, so haven't done anything in regards to that, annoyingly on my custom PCB's, the community OLED 0.96" Component I used, had the VCC and GND Nets swapped on the footprint. So need to get some new ones made.
Thanks for KegMon is a great project, I have been modifying to add support for 3 and 4 Scales.
temp_base.hpp is missing a virtual destructor, therefore TempSensorDS and TempSensorDHT are not getting their destructors called on the std::unique_ptr reset in TempSensorManager::setup() This causes about a 100-byte memory leak for TempSensorDS per attempted setup cycle if no temperature sensor is connected.
My work in progress fork with my 3/4 scales changes are here: https://github.com/caswal/kegmon/tree/4_Scale
In short, I added a scale_count = x to [common_env_data] in platform.io
This enables various #if CFG_SCALECOUNT > 2 etc macros to enable more scale logic. It also uses scale_count with a python script to then move different htm files from the sub 2/3/4 folders to /html and minimize them.
I don't have any displays yet, so haven't done anything in regards to that, annoyingly on my custom PCB's, the community OLED 0.96" Component I used, had the VCC and GND Nets swapped on the footprint. So need to get some new ones made.