From dcaedf1cfd8b8fd7d55458e0b558346e2c53e792 Mon Sep 17 00:00:00 2001 From: lolouk44 Date: Thu, 26 Nov 2020 15:54:57 +0000 Subject: [PATCH 1/3] 0.1.14b --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cd069f..78c0368 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,6 @@ jobs: run: | docker buildx build --no-cache --push \ --tag lolouk44/xiaomi-mi-scale:${{ github.event.release.tag_name }} \ - --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 . - name: Image digest From 6542a02525b5f6b7c32e2c0cea97eb00b91be584 Mon Sep 17 00:00:00 2001 From: lolouk44 Date: Thu, 26 Nov 2020 16:11:46 +0000 Subject: [PATCH 2/3] 0.1.14 --- .github/workflows/main.yml | 1 + CHANGELOG.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78c0368..4b06265 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: run: | docker buildx build --no-cache --push \ --tag lolouk44/xiaomi-mi-scale:${{ github.event.release.tag_name }} \ + --tag lolouk44/xiaomi-mi-scale:latest \ --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 . - name: Image digest diff --git a/CHANGELOG.md b/CHANGELOG.md index 1294a95..abca157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.1.14] - 2020-11-26 +### Changed +- Reduced docker image size + ## [0.1.13] - 2020-11-26 ### Changed - Fixed MQTT Discovery Message From a5ddd5d334fd1968baabd510ef93d47484d31fbb Mon Sep 17 00:00:00 2001 From: lolouk44 Date: Thu, 10 Dec 2020 11:36:55 +0000 Subject: [PATCH 3/3] Update wrapper.sh --- src/wrapper.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/wrapper.sh b/src/wrapper.sh index a0d2002..c8f556d 100644 --- a/src/wrapper.sh +++ b/src/wrapper.sh @@ -2,7 +2,15 @@ sleep 60 # Give the system time after a reboot to connect to WiFi before continuing export MISCALE_MAC=00:00:00:00:00:00 # Mac address of your scale -export MQTT_PREFIX=miScale +export HCI_DEV=hci0 # Bluetooth hci device to use +export MQTT_HOST=127.0.0.1 # MQTT Server (defaults to 127.0.0.1) +export MQTT_PREFIX=miscale # MQTT Topic Prefix. Defaults to miscale +export MQTT_USERNAME= # Username for MQTT server (comment out if not required) +export MQTT_PASSWORD= # Password for MQTT (comment out if not required) +export MQTT_PORT=1883 # Defaults to 1883 +export TIME_INTERVAL=30 # Time in sec between each query to the scale, to allow other applications to use the Bluetooth module. Defaults to 30 +export MQTT_DISCOVERY=true # Home Assistant Discovery (true/false), defaults to true +export MQTT_DISCOVERY_PREFIX= # Home Assistant Discovery Prefix, defaults to homeassistant export USER1_GT=70 # If the weight is greater than this number, we'll assume that we're weighing User #1 export USER1_SEX=male