factcircuit
FactCircuit는 불변 출처와 단계별 검증, 제한된 검색, 재현 가능한 평가를 제공하는 감사 가능한 주장·증거 검증 루프입니다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기This application collects data from your Tesla Powerwall gateway to assist in monitoring your home electricity consumption. It does this by giving you detailed information about your energy consumption and production during your differnt tariff (billing rate) periods.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗This application collects data from your Tesla Powerwall gateway to assist in monitoring your home electricity consumption. It does this by giving you detailed information about your energy consumption and production during your differnt tariff (billing rate) periods.
{ Show Report Snapshots HERE }
Most solar systems include monitoring to help you see how much energy your system is producing and they may help you monitor your consumption. Tesla does a pretty good job of this but there is room for improvement especially when you are on a Time Of Use plan for the you consume.
Most people simply try to avoid consuming power during the Peak billing rates and shift usage to cheaper Off-Peak rates. It just makes sense. But the catch is your solar production is happening during the day mostly during On-Peak rate periods. Which means that your solar system is never getting you credits for the Off-Peak energy your are consuming. This would not be bad except that most energy providers do not pay you very well for solar over production. This means that during the On-Peak billing period you produce 500 extra kwhs a month On-Peak they DO NOT subtract those kwhs from your Off-Peak consumption. They credit you for your over production at a much lower rate than even your Off-Peak consumption.
On Peak OverProduction: 500 kwh * 0.055 $/kwh = $27.50
Off Peak Consumption: 500 kwh * 0.106 $/kwh = $53.00
This shows that when your solar is overproducing if you avoid over producing and shift your consumption to on-peak you will save a decent amount each month which of course will add up substantially over the life of your solar system.
Savings over system lifetime: $53 - $27.50 * 12 months * 25 years = 7650$
We monitor your system collecting how much power your are importing and exporting for each Tariff Period. We make this information available to you via a web application.
Switching to a Time of Use usually means you pay less on nights and weekends and more during weekdays (M-F) during business hours or later in the evening. For example here is a real world Time Of Use plan:
| Tariff | Period | Consumption | Buyback |
|---|---|---|---|
| On-Peak | Monday - Friday 8am - 8pm | 0.233 $/kwh | 0.055 $/kwh |
| Off-Peak | Monday - Friday 12am-8am, 8pm-12am, 24/7 on weekends | 0.106 $/kwh | 0.47 $/kwh |
Your solar production is mostly On-Peak and a single Tesla Powerwall 2 has 11.5 kwh of storage so it usually fills up during the day and we use it's power to avoid paying for grid kwhs at night. Except, if we charge our EV or do other energy heavy things like a lot of cooking or laundry. In these cases our natural behavior makes us consume Off-Peak grid electricity (kwh) and we avoid doing energy intensive things during the day because the energy costs are so much higher (.23$ vs. .10$). With PwUsage we have more information to make decisions.
{{ Expand this to show screen shots which help make decisions based on ToU details }}
Tariff - A rate per kwh for electricity that you purchase from the grid and usually a separate rate for selling back to the grid.
Tariff Period - A range of time and the tariff it is being bill at. Example: Monday 8am-8pm Tariff: On-Peak
cmd/next-app/example.env to cmd/next-app/.envcmd/next-app/.env with your developer credentials.cd cmd/next-app
npm install
npm run dev
cmd/ios-app (see cmd/ios-app/README.md).If you're starting from an empty DB for the Next.js app:
Create the schema:
cd cmd/next-app
./create-db.sh
This creates cmd/next-app/pwusage.db with the required tables and foreign keys.
Point the app at it by setting DATABASE_URL (in cmd/next-app/.env or your shell), e.g.:
DATABASE_URL="file:pwusage.db"
Start the Next.js dev server:
cd cmd/next-app
npm install
npm run dev # start the web app
Authenticate via the UI (or copy an existing access token into AppSettings)
The GitHub Actions workflow (.github/workflows/ci.yml) automates building, testing, database backups, migrations, and deployments to Vercel.
To configure CI/CD, set the following secrets in your GitHub repository (Settings > Secrets and variables > Actions):
| Secret Name | Required For | Description |
|---|---|---|
DATABASE_URL | Production Migrations & Backups | The production PostgreSQL database connection string. Used to run migrations and perform backups before migrations. |
DEV_DATABASE_URL | Migration Verification & Previews | The development/preview PostgreSQL database connection string. Used to verify migrations on PRs and configure preview deployments. |
CRON_SECRET | Migrations | The API secret used to authorize sub-daily cron triggers. The migration job replaces the {{CRON_SECRET}} placeholder in SQL migration files with this secret at deploy time. |
BACKUP_BLOB_READ_WRITE_TOKEN | Database Backups | Read-write token for a private Vercel Blob store. Used to upload database backups before migrations run. Never use a public store: backups contain user data and Tesla tokens. |
VERCEL_TOKEN | Vercel Deployment | Vercel Personal Access Token used to authenticate deployments. |
VERCEL_ORG_ID | Vercel Deployment | Vercel Organization ID. |
VERCEL_PROJECT_ID | Vercel Deployment | Vercel Project ID. |
DISCORD_WEBHOOK | Notifications | Discord webhook URL used to send deployment status notifications. |