Repository Installation

This commit is contained in:
Devmel Apps
2022-11-22 18:47:32 +01:00
parent 84c3fd7b97
commit 96191aa99a
3 changed files with 21 additions and 11 deletions
+6 -1
View File
@@ -4,7 +4,12 @@
Home Assistant Addon to control an AirSend device in a local network.
## Installation
## Repository Installation
[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fdevmel%2Fhass_airsend-addon)
## Manual Installation
1. Into the terminal, run `wget -q -O - https://raw.githubusercontent.com/devmel/hass_airsend-addon/master/install | bash -`
OR copy the `airsend` folder into your [addon folder](https://developers.home-assistant.io/docs/creating_integration_file_structure/#where-home-assistant-looks-for-integrations).
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bashio
payload=`echo $2 | base64 -d`
echo -en $payload | curl -s --data-binary @- -X POST -H "Authorization: Bearer ${SUPERVISOR_TOKEN}" -H "Content-Type: application/json" http://supervisor/core/api/states/$1
+4
View File
@@ -0,0 +1,4 @@
# https://developers.home-assistant.io/docs/add-ons/repository#repository-configuration
name: AirSend Home Assistant add-on repository
url: 'https://github.com/devmel/hass_airsend-addon'
maintainer: Devmel Apps <apps@devmel.com>