thorrak / fermentrack

A replacement web interface for BrewPi
MIT License
134 stars 61 forks source link

Fermentrack Script Caller sometimes mistakes devices #758

Closed thorrak closed 10 months ago

thorrak commented 10 months ago

Somehow, Fermentrack Script Caller sometimes swaps devices in memory resulting in data points being logged to the incorrect device. The issue has to be with the direct database call here:

https://github.com/thorrak/fermentrack/blob/539050fdc65053f32fddf768f5fa9ea0f23eb726/brewpi-script/fermentrack_config_loader.py#L172-L179

This needs to be refactored out, similar to what was done in #756 / #757