This commit is contained in:
Alexandre
2021-10-31 16:46:31 +01:00

View File

@@ -27,30 +27,17 @@ comparison to installing any other Hass.io add-on.
## Configuration
You'll need to open the options and encode the secret token lrMY24Byhx (or modify it)
To connect, you need to check the log : all informations are there tailored for your system
1. Via ingress (accessible from within the app)
2. From the local network, by accessing directly accessing the url ("joal" must be replaced by whatever your "ui_path" is set to in the addon options): `http://homeassistant.local:8081/joal/ui`
Addon options :
```yaml
secret_token: lrMY24Byhx #you can encode your own token here that will be used to identify in the app
ui_path: joal #the path where Joal will be accessible
run_duration: 12h #for how long should the addon run. Must be formatted as number + time unit (ex : 5s, or 2m, or 12h, or 5d...)
```
Methods of connection:
1. Via ingress (accessible from within the app)
``` yaml
Address : until I make it automatic, you need to get the Ingress URL from the addon log. #Example from my config : `192.168.178.69:8123/api/hassio_ingress/POVP6iOh67KUz_LQQJg4lOC-DJi7FNXutaz_7kNiFWM/`
Port : your HA port #usually 8123)
Prefix : defined in "ui_path" addon options #_(default : joal)_
Secret token : defined in "secret_token" addon options #_(default : lrMY24Byhx)_
```
2. From the local network, by accessing directly accessing the url ("joal" must be replaced by whatever your "ui_path" is set to in the addon options): `http://homeassistant.local:8081/joal/ui`
``` yaml
Address : homeassistant.local #_(or your direct url, or your external url if you have opened the port on your router)_
Port : defined in addon options #_(default : 8081)_
Prefix : defined in "ui_path" addon options #_(default : joal)_
Secret token : defined in "secret_token" addon options #_(default : lrMY24Byhx)_
```
## Support
For HA : create an issue on github
For Joal : see the upstream repo here https://github.com/anthonyraymond/joal