-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
358 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,48 @@ | ||
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs) | ||
|
||
## Installation instructions: | ||
## Installation instructions (general): | ||
>>>>>>> develop | ||
1. Install HACS for Home Assistant | ||
2. Go to Community-Store-Grocy | ||
3. Install Grocy | ||
4. Restart Home Assistant | ||
5. Go to Grocy-Wrench icon-Manage API keys-Add | ||
6. Copy resulting API key and Grocy URL and input this in configuration.yaml: | ||
7. Choose: | ||
- Add `grocy:` to your HA configuration. | ||
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Grocy" | ||
|
||
8. Look for the new Grocy sensor in States and use its info | ||
|
||
|
||
## Additional installation instructions for Hass.io users | ||
|
||
The configuration is slightly different for users that use Hass.io and the [official Grocy addon](https://github.com/hassio-addons/addon-grocy) from the Hass.io Add-on store. | ||
|
||
1. If you haven't already done so, install Grocy from the Add-on store | ||
2. In the 'Network' section of the add-on config, input 9192 in the host field [screenshot](https://github.com/custom-components/grocy/raw/master/grocy-addon-config.png). Save your changes and restart the add-on. | ||
3. Install HACS for Home Assistant | ||
4. Go to Community > Store > Grocy | ||
5. Install the Grocy integration component | ||
6. Restart Home Assistant | ||
7. Go to Grocy > Wrench icon > Manage API keys > Add | ||
8. Copy resulting API key and input this in configuration.yaml: | ||
|
||
```yaml | ||
grocy: | ||
url: "https://{{YOUR_GROCY_URL}}" | ||
api_key: "{{YOUR_GROCY_API_KEY}}" | ||
verify_ssl: true | ||
url: "https://IP_ADDRESS_OFF_THE_DEVICE_RUNNING_HASS.IO" eg. "https://192.168.1.4" | ||
api_key: "YOUR_GROCY_API_KEY" | ||
verify_ssl: false | ||
port: 9192 | ||
sensor: | ||
- enabled: true | ||
binary_sensor: | ||
- enabled : true | ||
``` | ||
7. Restart Home Assistant | ||
8. Look for the new Grocy sensor in States and use its info | ||
9. Restart Home Assistant | ||
10. Look for the new Grocy sensor in States and use its info | ||
--- | ||
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/X8X1LYUK) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"config": { | ||
"title": "Grocy", | ||
"step": { | ||
"user": { | ||
"title": "Grocy", | ||
"description": "If you need help with the configuration have a look here: https://github.com/custom-components/grocy", | ||
"data": { | ||
"url": "Grocy API URL (e.g. \"http://yourgrocyurl.com\")", | ||
"api_key": "Grocy API Key", | ||
"port": "Port Number (9192)", | ||
"verify_ssl": "Verify SSL Certificate" | ||
} | ||
} | ||
}, | ||
"error": { | ||
"auth": "Something went wrong." | ||
}, | ||
"abort": { | ||
"single_instance_allowed": "Only a single configuration of Grocy is allowed." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.