Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sdwilsh/hass-truenas

TrueNAS integration for Home Assistant
https://github.com/sdwilsh/hass-truenas

freenas hacs home-assistant home-automation truenas

Last synced: about 2 months ago
JSON representation

TrueNAS integration for Home Assistant

Awesome Lists containing this project

README

        

[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/custom-components/hacs)
![hacs](https://github.com/sdwilsh/hass-truenas/workflows/hacs/badge.svg)
![hassfest](https://github.com/sdwilsh/hass-truenas/workflows/hassfest/badge.svg)

# TrueNAS Integration for Home Assistant

## Features

- Virtual machines and their running state
- Disks and their temperature

## Installation

1. Install using [HACS](https://github.com/custom-components/hacs). Or install manually by copying `custom_components/truenas` folder into `/custom_components`
2. Restart Home Assistant.
3. In the Home Assistant UI, navigate to `Configuration` then `Integrations`. Click on the add integration button at the bottom right and select `TrueNAS`. Fill out the options and save.
- Host: the ip address or hostname of the TrueNAS server.
- Username: the username used to login to the TrueNAS server.
- Password: the password used to login to the TrueNAS server.

## Using Services

### truenas.jail_start

### truenas.jail_stop

### truenas.jail_restart

### truenas.vm_start

### truenas.vm_stop

### truenas.vm_restart

## Development

```
python3.9 -m venv .venv
source .venv/bin/activate

# Install Dev Requirements
pip install -r requirements-dev.txt

# One-Time Install of Commit Hooks
pre-commit install

# Run tests
python -m pytest tests
```