Minor fixes, build arm32v7

This commit is contained in:
Gerrit Beine 2024-09-03 19:02:12 +02:00
parent d150cba3b3
commit f88a555402
3 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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.

View file

@ -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()