Closed weberbox closed 3 years ago
Looking into it. Thanks!
OK, think it's resolved with this update: https://github.com/nebhead/PiFire/commit/9969a8592c4558b810ab6423918664598ec8d03e
Please check it and let me know.
Basically just added a dummy entry and created a new history DB when this occurs, so that it shouldn't hit multiple times.
Huh I didn't even think to add some data. I looked at it and was making it way more complicated than needed. This seems to have solved the issue from the testing I have done. It stops the history graph from updating when there is no data (used to just scroll with no info but times updated) I think it is better to not scroll since there is no data anyway.
When there is no history the event log is being spammed with tons of messages from the history page requesting data. I commented out WriteLog for now but there is probably a better way to do this. My initially thought was to just check if the grill is active before requesting history data but that would cause the graph to not show any data once you stop a cycle.