Skip to content

[Bug]: Tracearr seven-day playback chart repeats weekdays instead of daily totals #273

Done

Description

@koinupapi

Atrium version

1.12.0

Where did you install it from?

GitHub releases

Which part of the app?

Tracearr

Version of that service

v3.2.1

Which URL was in use?

Local URL

Device and Android version

Samsung Galaxy S26 Ultra, Android 17

Steps to reproduce

  1. Connect a Tracearr instance.
  2. Open the Overview screen.
  3. Inspect the seven-day playback activity chart when multiple activity buckets exist for the same day.

What did you expect to happen?

The chart should display seven chronological daily bars, including days with zero playback activity, ending with the current local calendar day.

What happened instead?

Multiple bars appear for the same weekday. For example, Saturday displayed four separate counts of 15, 1, 2 and 6 instead of a single daily total of 24.

Technical investigation

Tracearr's bundled v1 API specification describes six-hour buckets for weekly activity. Atrium currently renders these buckets directly.

One possible solution is to aggregate the returned counts by local calendar day before rendering the chart.

Testing

I personally compared the corrected chart against Tracearr's WebUI for November 21–27, 2026. All seven daily totals matched:

  • Saturday: 19
  • Sunday: 0
  • Monday: 12
  • Tuesday: 15
  • Wednesday: 34
  • Thursday: 8
  • Friday: 3

Automated Tracearr validation also passed.

AI disclosure

I maintain Atrium Enhanced as a personal, human-directed, AI-developed fork for my home lab. I identified the issue and performed real-world device testing. ChatGPT investigated the source, implemented the proposed solution, developed automated tests and drafted this report. No independent human technical review has occurred.

The proposed implementation is available for reference:
koinupapi#11

The fix was tested on my personal fork based on Atrium 1.12.0. The relevant upstream development code was also inspected.

Before submitting

  • I removed API keys, tokens and server addresses from everything above
  • I searched the existing issues and this is not a duplicate
  • I am on the latest release, or I have explained above why not

Activity

  1. added
    bug
    on Nov 28, 2026
  2. retransmit commented on Nov 28, 2026

    @retransmit
    Owner

    Fixed this one in #274 too. The chart was drawing a bar for every 6-hour chunk, which is why Saturday showed up four times. Now it's just seven bars, one per day, so your Saturday is a single 24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions