Minor fixes, build arm32v7
This commit is contained in:
parent
d150cba3b3
commit
f88a555402
3 changed files with 3 additions and 5 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -22,6 +22,6 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v6
|
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: gbeine/fronius2mqtt:latest
|
tags: gbeine/fronius2mqtt:latest
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# fronius2mqtt
|
# fronius2mqtt - A Fronius HTTP API to MQTT bridge
|
||||||
|
|
||||||
A Fronius HTTP API to MQTT bridge
|
|
||||||
|
|
||||||
Attention: This is a complete rewrite of the 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.
|
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.
|
||||||
|
|
|
@ -186,7 +186,7 @@ def start_mqtt():
|
||||||
mqtt_client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION2)
|
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
|
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
|
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:
|
if daemon_args.verbose:
|
||||||
logging.basicConfig(level=logging.DEBUG)
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
mqtt_client.enable_logger()
|
mqtt_client.enable_logger()
|
||||||
|
|
Loading…
Reference in a new issue