百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

solectrus

> 编程语言
开源

自主托管的光伏仪表板,用于监控太阳能生产、消耗、电池使用、电网交换和财务表现。

161 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

自主托管的光伏仪表板,用于监控太阳能生产、消耗、电池使用、电网交换和财务表现。

SOLECTRUS

SOLECTRUS is your smart solar dashboard, giving you real‑time insights into energy generation and consumption. It automatically calculates costs and savings, so you can maximize the performance of your PV system.

Live Demo

Try it out at https://demo.solectrus.de

Installation

SOLECTRUS is a self‑hosted solution — just bring your own server (a Raspberry Pi works great, but any Linux box will do).

The recommended way to install SOLECTRUS is HELIOS, the companion app that manages your installation. HELIOS sets up the Docker containers, keeps the configuration in one place, and installs updates with one click. It also creates a support package with anonymized logs and configuration if you need help.

Development

To contribute, set up a local development environment (this guide assumes macOS with Homebrew):

  1. Clone the repository:
bash
git clone [email protected]:solectrus/solectrus.git
cd solectrus
  1. Install PostgreSQL, Redis, and Caddy (if not already present). On a Mac with HomeBrew, run this to install from the Brewfile:
bash
brew bundle

Ensure that PostgreSQL is running:

bash
brew services start postgresql@18
  1. Setup the application to install gems and NPM packages and create the database:
bash
bin/setup
  1. Start the application locally:
bash
bin/dev

This starts the app and opens https://solectrus.localhost in your default browser.

On the first run, Caddy will ask for your password to install its local CA certificate.

Documentation

  • conventions.md — frontend and testing conventions (ViewComponent, forms, Tailwind in Slim, RSpec)
  • sensor-overview.md — sensor architecture and core concepts
  • sensor-reference.md — the sensor DSL and technical details
  • sensor-sql-queries.md — the SQL behind daily and longer timeframes

Testing

After preparing development environment (see above):

bash
bin/influxdb-restart.sh
DISABLE_SPRING=1 bin/rspec
open coverage/index.html

RuboCop:

bin/rubocop

ESLint:

bun run lint

TypeScript:

bun run tsc

There is a shortcut to run all test and linting tools:

bash
bin/ci

AI access (Model Context Protocol)

SOLECTRUS can expose its data to AI clients (such as Claude) through a Model Context Protocol server, so you can ask natural-language questions about your PV system. This is a sponsor-only, read-only feature that is disabled by default. See docs/MCP.md for the available tools and how to connect a client.

Performance Monitoring

The Live Demo is hosted at Hetzner Cloud. For performance monitoring, it uses RorVsWild, which is free for OpenSource projects. You can see internal metrics like CPU, memory, and disk usage, as well as request times and errors here: https://www.rorvswild.com/applications/136101/requests

License

© 2020–2026 Georg Ledermann. Released under AGPL-3.0.

The source code is open source under AGPL-3.0. The SOLECTRUS name and logo are trademarks of Georg Ledermann and are not covered by that license: forking and contributing is welcome, but if you distribute a modified version or run it as a service for others, it must use a different name. See TRADEMARK.md for details.

Third-party licenses

The icons are from Font Awesome Free by Fonticons, Inc. They are licensed under CC BY 4.0 and are used unchanged. SOLECTRUS keeps their path data in config/icons.generated.yml and draws each icon on the server. See the full license.

Issues· 51 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyhomelabinfluxdbmonitoringphotovoltaic

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言