| Crates.io | grelsolar |
| lib.rs | grelsolar |
| version | 0.0.0 |
| created_at | 2025-06-22 18:29:58.659093+00 |
| updated_at | 2025-06-22 18:29:58.659093+00 |
| description | Sync solar data from Solar-Log to Home Assistant. |
| homepage | https://github.com/grelinfo/grelsolar |
| repository | https://github.com/grelinfo/grelsolar |
| max_upload_size | |
| id | 1721844 |
| size | 134,167 |
A Rust application for bridging SolarLog and Home Assistant, providing solar power, energy, and status data from SolarLog devices to Home Assistant via HTTP API.
Install dependencies and build:
make setup
cargo build --release
Copy the example environment file and edit as needed:
cp .env.example .env
Edit .env to set your SolarLog and Home Assistant credentials and endpoints.
.env file:APP_LOG=info
APP_LOG_STYLE=always
SOLARLOG_URL=http://192.168.1.2
SOLARLOG_PASSWORD=your_solarlog_password
HOME_ASSISTANT_URL=http://homeassistant.local:8123
HOME_ASSISTANT_TOKEN=your_long_lived_token
cargo run --release
Build and run the Docker image:
docker build -t grelsolar .
docker run --env-file .env grelsolar
See CHANGELOG.md for release notes.
MIT