diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 70e816d..d2c1586 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,6 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64,linux/arm/v6 + platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7 push: true tags: gbeine/fronius2mqtt:latest diff --git a/README.md b/README.md index 8faa055..3a26ea7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ -# fronius2mqtt - -A Fronius HTTP API to MQTT bridge +# fronius2mqtt - A Fronius HTTP API to MQTT bridge Attention: This is a complete rewrite of the bridge. While the old fronius2mqtt brigde used polling the inverters to fetch the data, the new version make use of the push feature provided by Fronius Symo. diff --git a/fronius2mqtt b/fronius2mqtt index 15cb58c..9679581 100755 --- a/fronius2mqtt +++ b/fronius2mqtt @@ -186,7 +186,7 @@ def start_mqtt(): mqtt_client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2) cert_reqs = verify_mode[daemon_args.mqtt_verify_mode] if daemon_args.mqtt_verify_mode in verify_mode else None tls_version = tls_versions[daemon_args.mqtt_tls_version] if daemon_args.mqtt_tls_version in tls_versions else None - mqtt_client.tls_set(cert_reqs=cert_reqs,tls_version=tls_version) + mqtt_client.tls_set(cert_reqs=cert_reqs, tls_version=tls_version) if daemon_args.verbose: logging.basicConfig(level=logging.DEBUG) mqtt_client.enable_logger()