Update README.md

This commit is contained in:
Jørgen O. 2025-03-11 13:17:54 +01:00
parent ce5e8c999c
commit c3c7a296f2

182
README.md
View file

@ -1,89 +1,93 @@
# 🏡 Home Assistant Newt Add-on # 🏡 Home Assistant Newt Add-on
## 📌 About this Add-on ## 📌 About this Add-on
This Home Assistant add-on allows you to easily run **Newt** from [Fossorial](https://docs.fossorial.io/Newt/overview) directly in Home Assistant. The add-on lets you configure **PANGOLIN_ENDPOINT**, **NEWT_ID**, and **NEWT_SECRET** via the Home Assistant interface. This Home Assistant add-on allows you to easily run **Newt** from [Fossorial](https://docs.fossorial.io/Newt/overview) directly in Home Assistant. The add-on lets you configure **PANGOLIN_ENDPOINT**, **NEWT_ID**, and **NEWT_SECRET** via the Home Assistant interface.
## 🚀 Features ## 🚀 Features
✅ Easy installation via Home Assistant Add-on Store ✅ Easy installation via Home Assistant Add-on Store
✅ Automated setup and execution of the Newt container ✅ Automated setup and execution of the Newt container
✅ Supports `amd64`, `armv7`, `armhf`, and `aarch64` architectures ✅ Supports `amd64`, `armv7`, `armhf`, and `aarch64` architectures
✅ Automatic restart on crash ✅ Automatic restart on crash
--- ---
## 🛠️ Installation ## 🛠️ Installation
### **1⃣ Add the GitHub Repository as an Add-on Source** ### **1⃣ Add the GitHub Repository as an Add-on Source**
1. Go to **Settings → Add-ons → Add-on Store**. 1. Go to **Settings → Add-ons → Add-on Store**.
2. Click the menu (three dots in the top right) and select **Repositories**. 2. Click the menu (three dots in the top right) and select **Repositories**.
3. Add the following URL: 3. Add the following URL:
``` ```
https://github.com/username/home-assistant-newt-addon https://github.com/Ferdinand99/home-assistant-newt-addon
``` ```
4. Click **Add** and wait for the repository to load. or
```
### **2⃣ Install and Start the Add-on** https://git.opland.net/Ferdinand99/home-assistant-newt-addon/
1. Find **Newt Add-on** in the list and click **Install**. ```
2. Go to the **Configuration** tab and enter your values for: 4. Click **Add** and wait for the repository to load.
- **PANGOLIN_ENDPOINT** (e.g., `https://example.com`)
- **NEWT_ID** ### **2⃣ Install and Start the Add-on**
- **NEWT_SECRET** 1. Find **Newt Add-on** in the list and click **Install**.
3. Click **Save** and then **Start**. 2. Go to the **Configuration** tab and enter your values for:
4. Check the **Logs** tab to verify that everything is running correctly. - **PANGOLIN_ENDPOINT** (e.g., `https://example.com`)
- **NEWT_ID**
--- - **NEWT_SECRET**
3. Click **Save** and then **Start**.
## ⚙️ Configuration 4. Check the **Logs** tab to verify that everything is running correctly.
After installation, you can configure the add-on via the Home Assistant UI:
---
```yaml
PANGOLIN_ENDPOINT: "https://example.com" ## ⚙️ Configuration
NEWT_ID: "your_newt_id" After installation, you can configure the add-on via the Home Assistant UI:
NEWT_SECRET: "your_newt_secret"
``` ```yaml
PANGOLIN_ENDPOINT: "https://example.com"
### **Docker Environment Variables** NEWT_ID: "your_newt_id"
The following environment variables are passed to the `Newt` container: NEWT_SECRET: "your_newt_secret"
- `PANGOLIN_ENDPOINT` ```
- `NEWT_ID`
- `NEWT_SECRET` ### **Docker Environment Variables**
The following environment variables are passed to the `Newt` container:
--- - `PANGOLIN_ENDPOINT`
- `NEWT_ID`
## 🔍 Troubleshooting - `NEWT_SECRET`
💡 **Add-on does not start?**
- Check the logs in Home Assistant (`Settings → Add-ons → Newt → Logs`). ---
- Ensure that `PANGOLIN_ENDPOINT`, `NEWT_ID`, and `NEWT_SECRET` are set correctly.
## 🔍 Troubleshooting
💡 **Changes in configuration do not take effect?** 💡 **Add-on does not start?**
- Restart the add-on after making changes. - Check the logs in Home Assistant (`Settings → Add-ons → Newt → Logs`).
- Try removing the container manually: - Ensure that `PANGOLIN_ENDPOINT`, `NEWT_ID`, and `NEWT_SECRET` are set correctly.
```sh
docker stop newt 💡 **Changes in configuration do not take effect?**
docker rm newt - Restart the add-on after making changes.
``` - Try removing the container manually:
Then start the add-on again. ```sh
docker stop newt
💡 **Docker not available?** docker rm newt
- Home Assistant OS manages Docker automatically, but check if the system has access to Docker by running: ```
```sh Then start the add-on again.
docker info
``` 💡 **Docker not available?**
If this fails, there may be a restriction in Home Assistant OS. - Home Assistant OS manages Docker automatically, but check if the system has access to Docker by running:
```sh
--- docker info
```
## 🔗 Useful Links If this fails, there may be a restriction in Home Assistant OS.
- 📖 [Newt Documentation](https://docs.fossorial.io/Newt/overview)
- 🏡 [Home Assistant](https://www.home-assistant.io/) ---
- 🐳 [Docker Docs](https://docs.docker.com/)
## 🔗 Useful Links
--- - 📖 [Newt Documentation](https://docs.fossorial.io/Newt/overview)
- 🏡 [Home Assistant](https://www.home-assistant.io/)
## ❤️ Contribute - 🐳 [Docker Docs](https://docs.docker.com/)
Have suggestions for improvements? Create a **Pull Request** or report an issue in the **Issues** tab!
---
---
## ❤️ Contribute
© 2025 - Made with ❤️ for Home Assistant users 🚀 Have suggestions for improvements? Create a **Pull Request** or report an issue in the **Issues** tab!
---
© 2025 - Made with ❤️ for Home Assistant users 🚀