thorrak / fermentrack

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

"Get profile temp" should be replaced with an HTTP endpoint #762

Open thorrak opened 1 year ago

thorrak commented 1 year ago

Although I don't think users have reported it as an issue, given the concern cited in #758 I anticipate that a profile could retrieve an incorrect profile point, similar to how it could log incorrect points. To avoid this possibility, it makes sense to instead retrieve the profile point from an API rather than trying to pull it directly from the database within the fermentrack script caller

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