1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #901] [Bug]: Dashboard: Energy Used. Wrong Value #621

Closed
opened 2026-05-07 00:12:09 +02:00 by BreizhHardware · 2 comments

Originally created by @speedy764 on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/901

Bug Description

The 'Quick Stats' dashboard displays an excessively high value for total energy consumption (All Time): 'Energy used: 22,517 kWh'.
However, if I select a range, e.g., 'This Year', or enter a custom range (e.g., '2022-01-01 - 2026-04-06'), a value of 0.227 kWh is displayed, which would be correct.
I don't know where the 22,290 kWh figure is coming from.

Expected Behavior

Calculate and display the correct value.

Steps to Reproduce

  1. Go to Dashboard
  2. Select a Custom range 2022-01-01 - today ( Start date, before any any values were recorded
  3. Check value against 'All Time' value

Printer Model

H2C

Bambuddy Version

V0.2.3.b1

Printer Firmware Version

1.01.05.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package

No response

Screenshots

Image

Image

Additional Context

I have the same error, also in another installation with version V0.2.2.2. Here I have a difference of 19.685 kWh between 'All Times' and (2022-01-01 - 2026-04-06).

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 @speedy764 on GitHub (Apr 6, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/901 ### Bug Description The 'Quick Stats' dashboard displays an excessively high value for total energy consumption (All Time): 'Energy used: 22,517 kWh'. However, if I select a range, e.g., 'This Year', or enter a custom range (e.g., '2022-01-01 - 2026-04-06'), a value of 0.227 kWh is displayed, which would be correct. I don't know where the 22,290 kWh figure is coming from. ### Expected Behavior Calculate and display the correct value. ### Steps to Reproduce 1. Go to Dashboard 2. Select a Custom range 2022-01-01 - today ( Start date, before any any values were recorded 3. Check value against 'All Time' value ### Printer Model H2C ### Bambuddy Version V0.2.3.b1 ### Printer Firmware Version 1.01.05.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package _No response_ ### Screenshots ![Image](https://github.com/user-attachments/assets/8ff3f74d-6328-4674-992b-b9e605eb91ee) ![Image](https://github.com/user-attachments/assets/df25f575-08c5-43b7-bf52-3e0fe941239b) ### Additional Context I have the same error, also in another installation with version V0.2.2.2. Here I have a difference of 19.685 kWh between 'All Times' and (2022-01-01 - 2026-04-06). ### 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-07 00:12:09 +02:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@speedy764 commented on GitHub (Apr 6, 2026):

No issue. I got it.[Energy Display Mode] was set to 'Total Consumtption' which shows the TC from Tasmota Smart Plug ;-)

<!-- gh-comment-id:4191681131 --> @speedy764 commented on GitHub (Apr 6, 2026): No issue. I got it.[Energy Display Mode] was set to 'Total Consumtption' which shows the TC from Tasmota Smart Plug ;-)
Author
Owner

@speedy764 commented on GitHub (Apr 6, 2026):

No issue. I got it.[Energy Display Mode] was set to 'Total Consumption' which shows the TC from Tasmota Smart Plug ;-)

<!-- gh-comment-id:4191682954 --> @speedy764 commented on GitHub (Apr 6, 2026): No issue. I got it.[Energy Display Mode] was set to 'Total Consumption' which shows the TC from Tasmota Smart Plug ;-)
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-maziggy-1#621
No description provided.