[GH-ISSUE #695] [Bug]: Energy costs are not being calculated correctly in the statistics #460

Closed
opened 2026-05-06 12:29:46 +02:00 by BreizhHardware · 2 comments

Originally created by @Bademeister89 on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/695

Originally assigned to: @maziggy on GitHub.

Bug Description

When clicking through the different timeframes (Today, This Week, This Month), the print times and filament consumption update correctly, but the energy costs and kWh values remain unchanged.

Expected Behavior

The expected behavior would be for the energy costs and consumption amounts to update accordingly as well.

Steps to Reproduce

.

Printer Model

P1S

Bambuddy Version

v0.2.2b3

Printer Firmware Version

01.09.01.00

Installation Method

Docker

Operating System

Linux (Other)

Relevant Logs / Support Package


Screenshots

No response

Additional Context

Thanks for this great project, guys! Keep up the good work—I look forward to every new update!"

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
  • My printer has Developer Mode enabled
Originally created by @Bademeister89 on GitHub (Mar 13, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/695 Originally assigned to: @maziggy on GitHub. ### Bug Description When clicking through the different timeframes (Today, This Week, This Month), the print times and filament consumption update correctly, but the energy costs and kWh values remain unchanged. ### Expected Behavior The expected behavior would be for the energy costs and consumption amounts to update accordingly as well. ### Steps to Reproduce . ### Printer Model P1S ### Bambuddy Version v0.2.2b3 ### Printer Firmware Version 01.09.01.00 ### Installation Method Docker ### Operating System Linux (Other) ### Relevant Logs / Support Package ```shell ``` ### Screenshots _No response_ ### Additional Context Thanks for this great project, guys! Keep up the good work—I look forward to every new update!" ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-06 12:29:46 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@wreuel commented on GitHub (Mar 14, 2026):

@maziggy I could reproduce the error using DEV branch, and I might have a fix with unit tests. Can you Assigne to me?

<!-- gh-comment-id:4060034189 --> @wreuel commented on GitHub (Mar 14, 2026): @maziggy I could reproduce the error using DEV branch, and I might have a fix with unit tests. Can you Assigne to me?
Author
Owner

@maziggy commented on GitHub (Mar 14, 2026):

Fixed in branch dev and available with the next release.


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4060139466 --> @maziggy commented on GitHub (Mar 14, 2026): Fixed in branch dev and available with the next release. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#460
No description provided.