Skip to content

Fix GMC-800 history flash size#134

Open
anatoly-scherbakov wants to merge 1 commit into
Wikilicious:masterfrom
anatoly-scherbakov:fix-gmc800-history-size
Open

Fix GMC-800 history flash size#134
anatoly-scherbakov wants to merge 1 commit into
Wikilicious:masterfrom
anatoly-scherbakov:fix-gmc800-history-size

Conversation

@anatoly-scherbakov
Copy link
Copy Markdown

@anatoly-scherbakov anatoly-scherbakov commented May 14, 2026

Summary

  • set GMC-800 history flash size to 2 MiB
  • add a regression test for the GMC-800 flash memory size

Why

GMC-800 history reads currently inherit the base 1 MiB flash size, causing get_raw_history() to stop before current records on devices with 2 MiB history memory.

Verification

  • python -m pytest tests/test_gmc800.py tests/test_devices/test_gmc800.py tests/test_device_get_history.py
  • Tested against a physical GMC-800: patched get_raw_history() read 2,080,768 bytes and parsed records through current-day data.

@anatoly-scherbakov anatoly-scherbakov force-pushed the fix-gmc800-history-size branch from ba0d11b to 384c2d3 Compare May 14, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant