Repository navigation
Air charts follow the reading asked about; scripts/edit_readings.py; month ranges and "full history" - #62
Merged
Conversation
…leted at start and never written again Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
…s are deleted at start and never written again" This reverts commit a4380ba.
…r figures; month ranges; scripts/edit_readings.py
- A chart drawn without a reading named (a period of 3+ days) is of the air reading the person named, now or in their last two messages,
not always PM2.5
- An air chart marks the reading the answer gives (the highest 5-minute reading), not the top of the shading (one sample inside it)
- "when was CO2 highest ...": the chart goes with its figures and their times, not its title alone
- "oct 2025 to oct 2026", "between jan 2026 and mar 2026", "October 2025": whole calendar months; a month ahead goes to the model
- The model fetches a follow-up again ("give me the timestamp") rather than asking whether to
- scripts/edit_readings.py: lists the highest readings, shows a match among the readings either side (dry run), and changes one reading
(--at) or a window to the mean of its neighbours or --set; the row is marked as edited by hand (a new source rank, EDITED), so a fetch
again only fills in what it lacks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
…r edits one sensor's alone (outdoor and indoor share temperature) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
…e/ecobot/ecobot.sqlite, when DATA_DIR is unset; run as root, SQLite's side files are given back to the file's owner Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
… owner or mode (SQLite makes its side files as the file's owner) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
…rts its client (httpx) only when it is asked for, so working out the air's days needs only its metrics Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
…e hour around a 5-minute reading, the minutes inside it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
… the reading now; a period named still wins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WBwHofjb1g9onaYRdLZMbf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/edit_readings.py: list the highest readings (--listfor names), dry run showing each match among the readings either side, change one reading (--at, taking in the hour and minutes that hold it) or a window to its neighbours' mean or--set; the row is marked edited by hand (new source rankEDITED) so a fetch again never replaces it. Defaults to/var/lib/private/ecobot/ecobot.sqlitewithoutDATA_DIR; runs under the system's Python (lib.airgradientloads its client lazily)Generated by Claude Code