This is a Next.js 16 web application for Raspberry Pi uConsole CM5 that: - Monitors battery metrics in real-time from AXP20x power supply - Visualizes battery data with charts (Recharts) - Stores historical data in SQLite database - Exports data to CSV - Manages monitoring sessions New Feature: 4G Power Manager - Automatically detects 4G modem state changes - Reduces CM5 CPU frequency when 4G is active to prevent hangs - Uses udev rules + systemd service for reliable monitoring - Solves battery power delivery limitation (18-20W max from AXP228) Hardware: Raspberry Pi CM5 with AXP228 power management IC Tech Stack: Next.js 16, React 19, TypeScript, Tailwind CSS 4, shadcn/ui
35 lines
670 B
JSON
35 lines
670 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts",
|
|
"**/*.mts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|