This file contains hidden or 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
| #!/usb/bin/env bash | |
| # Required variables | |
| MQTT_HOST="" # Your mqtt host | |
| MQTT_USERNAME="" # Your mqtt username | |
| MQTT_PASSWORD="" # Your mqtt password | |
| METERS_FILES="" # Location of wmbusmeters.d directory | |
| MQTT_DISCOVERY_PREFIX="homeassistant" |
This file contains hidden or 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
| # Foreword: Your fork is the "origin" and the repository you forked from is the "upstream". | |
| # Let's assume that you cloned already your fork to your computer with a command like this: | |
| # | |
| git clone git@github.com:your_name/project_name.git | |
| cd project_name | |
| # If that is given then you need to continue in this order: | |
| # | |
| # Add the "upstream" to your cloned repository ("origin"): | |
| # |