Skip to content

Commit f6155a9

Browse files
author
William C Bonner
committed
--download default service option
1 parent 44aff6e commit f6155a9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif()
2323
add_compile_definitions(_BLUEZ_HCI_)
2424

2525
project (GoveeBTTempLogger
26-
VERSION 3.20250218.2
26+
VERSION 3.20250218.3
2727
DESCRIPTION "Listen and log Govee Thermometer Bluetooth Low Energy Advertisments via BlueZ and DBus"
2828
HOMEPAGE_URL https://github.com/wcbonner/GoveeBTTempLogger
2929
)

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ HCI code uses libbluetooth functionality from BlueZ on linux to open the default
4141
Updated the postinst debian install script to add a user goveebttemplogger and make changes to the permissions on the default directories appropriately.
4242
Changed the service file to specify running the program as user goveebttemplogger. This is possible because accessing BlueZ via DBus does not require root access.
4343

44+
### 2025-02-18 Added --download to default service command
45+
The download functionality is now working with the DBus code base as well as being more robust using the HCI code. As such I've added it to the default running configuration.
46+
It does not attempt to download data more than every two weeks, to reduce battery usage of the bluetooth device.
47+
It retrieves the oldest data first, and if the transfer is stopped midway, will attempt to start from the new "oldest" data downloaded.
48+
4449
## Major update to version 2.
4550
Added the SVG output function, directly creating SVG graphs from internal data in a specified directory. The causes the program to take longer to start up as it will attempt to read all of the old logged data into an internal memory structure as it starts. Once the program has entered the normal running state it writes four SVG files per device to the specified directory every five minutes.
4651

@@ -115,6 +120,7 @@ ExecStart=/usr/local/bin/goveebttemplogger \
115120
--verbose 0 \
116121
--log /var/log/goveebttemplogger \
117122
--time 60 \
123+
--download \
118124
--svg /var/www/html/goveebttemplogger --battery 8 --minmax 8 \
119125
--cache /var/cache/goveebttemplogger
120126
KillSignal=SIGINT

goveebttemplogger.service

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ExecStart=/usr/local/bin/goveebttemplogger \
2525
--verbose 0 \
2626
--log /var/log/goveebttemplogger \
2727
--time 60 \
28+
--download \
2829
--svg /var/www/html/goveebttemplogger --battery 8 --minmax 8 \
2930
--cache /var/cache/goveebttemplogger
3031
KillSignal=SIGINT

0 commit comments

Comments
 (0)