-

Template:X120x Series UPS Script Reference

From Geekworm Wiki
Revision as of 16:05, 8 May 2026 by Harry (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This section includes two types of script resources for debugging and adapting X120x series UPS HATs. Official scripts are factory-adapted basic versions, while open-source projects are for extended reference only. All scripts must undergo prototype testing before formal use to avoid compatibility risks.

Note: The content below is a brief summary only. Click the corresponding link for detailed script examples.

Official Scripts (Click Here)

  1. Edit EEPROM Configuration
  2. Configure I2C on Raspberry Pi
  3. Read UPS Status
  4. Manually Check Battery Voltage & Percentage
  5. Test AC Power Loss Detection
  6. Control Battery Charging (For Advanced Users Only)

Third-Party Extension

We sincerely appreciate the dedication and generous open-source contribution from the community user for these GitHub projects.
Please note: these are independent third-party resources, not developed, verified, or maintained by our official team. We share these links for reference only; please independently verify its compatibility with your specific device, system environment, and actual needs.
Extension 1(Click Here)
This repository hosts a community-developed x120x-dkms kernel driver for Raspberry Pi, designed for X120x series UPS HATs, with tentative experimental compatibility for X728, X729 and X708 models. It enables basic native Linux power supply integration (including simple battery status display, low-power shutdown, and optional battery longevity mode) with no extra custom scripts required.
Extension 2(Click Here)
This project supports intelligent automatic shutdown, battery overcharge protection, low-temperature delayed charging, systemd journal logging, JSON UPS status output, network-based real-time UPS status update, system service & manual running modes, battery temperature monitoring and automatic thermal cooling.