Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schnitzel/hass-miner
Controll your Bitcoin miner from Home Assistant
https://github.com/schnitzel/hass-miner
bitcoin homeassistant homeassistant-custom-component homeassistant-integration
Last synced: about 7 hours ago
JSON representation
Controll your Bitcoin miner from Home Assistant
- Host: GitHub
- URL: https://github.com/schnitzel/hass-miner
- Owner: Schnitzel
- License: mit
- Created: 2022-05-15T03:40:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T18:41:31.000Z (11 days ago)
- Last Synced: 2024-11-05T19:28:57.357Z (11 days ago)
- Topics: bitcoin, homeassistant, homeassistant-custom-component, homeassistant-integration
- Language: Python
- Homepage:
- Size: 378 KB
- Stars: 60
- Watchers: 11
- Forks: 19
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# hass-miner
[![GitHub Release][releases-shield]][releases]
[![GitHub Activity][commits-shield]][commits]
[![License][license-shield]](LICENSE)[![pre-commit][pre-commit-shield]][pre-commit]
[![Black][black-shield]][black][![hacs][hacsbadge]][hacs]
[![Project Maintenance][maintenance-shield]][user_profile]Control your Bitcoin miner from Home Assistant.
### [Supported miners are listed here](https://pyasic.readthedocs.io/en/latest/miners/supported_types/).
**This component will set up the following platforms -**
| Platform | Description |
| -------- | ------------------------- |
| `sensor` | Show info from miner API. |
| `number` | Set Power Limit of Miner. |
| `switch` | Switch Miner on and off |**This component will add the following services -**
| Service | Description |
| ----------------- | ------------------------------------ |
| `reboot` | Reboot a miner by IP |
| `restart_backend` | Restart the backend of a miner by IP |## Installation
Use HACS, add the custom repo https://github.com/Schnitzel/hass-miner to it
Installation and usage:
[![Installation and usage](http://img.youtube.com/vi/eL83eYLbgQM/0.jpg)](https://www.youtube.com/watch?v=6HwSQag7NU8)
## Contributions are welcome!
If you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)
## Credits
This project was generated from [@oncleben31](https://github.com/oncleben31)'s [Home Assistant Custom Component Cookiecutter](https://github.com/oncleben31/cookiecutter-homeassistant-custom-component) template.
Code template was mainly taken from [@Ludeeus](https://github.com/ludeeus)'s [integration_blueprint][integration_blueprint] template.
Miner control and data is handled using [@UpstreamData](https://github.com/UpstreamData)'s [pyasic](https://github.com/UpstreamData/pyasic).
---
[integration_blueprint]: https://github.com/custom-components/integration_blueprint
[black]: https://github.com/psf/black
[black-shield]: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge
[buymecoffee]: https://www.buymeacoffee.com/Schnitzel
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
[commits-shield]: https://img.shields.io/github/commit-activity/y/Schnitzel/hass-miner.svg?style=for-the-badge
[commits]: https://github.com/Schnitzel/hass-miner/commits/main
[hacs]: https://hacs.xyz
[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge
[discord]: https://discord.gg/Qa5fW2R
[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge
[exampleimg]: example.png
[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge
[forum]: https://community.home-assistant.io/
[license-shield]: https://img.shields.io/github/license/Schnitzel/hass-miner.svg?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-%40Schnitzel-blue.svg?style=for-the-badge
[pre-commit]: https://github.com/pre-commit/pre-commit
[pre-commit-shield]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=for-the-badge
[releases-shield]: https://img.shields.io/github/release/Schnitzel/hass-miner.svg?style=for-the-badge
[releases]: https://github.com/Schnitzel/hass-miner/releases
[user_profile]: https://github.com/Schnitzel