Repository Installation
This commit is contained in:
@@ -4,7 +4,12 @@
|
|||||||
|
|
||||||
Home Assistant Addon to control an AirSend device in a local network.
|
Home Assistant Addon to control an AirSend device in a local network.
|
||||||
|
|
||||||
## Installation
|
## Repository Installation
|
||||||
|
|
||||||
|
[](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 -`
|
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).
|
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,4 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
|
||||||
payload=`echo $2 | base64 -d`
|
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
|
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
|
||||||
|
|||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user