From 12064282ce485e13739976dad69e4192423d0178 Mon Sep 17 00:00:00 2001 From: Nano Date: Mon, 1 Jun 2026 22:48:26 +0200 Subject: [PATCH] =?UTF-8?q?Anlegen=20Astro.things=20und=20=C3=A4nderung=20?= =?UTF-8?q?der=20MySQL=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/mysql.cfg | 2 +- things/astro.things | 11 +++++++++++ things/knx.things | 6 ++++-- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 things/astro.things diff --git a/services/mysql.cfg b/services/mysql.cfg index d824567..1d3defd 100644 --- a/services/mysql.cfg +++ b/services/mysql.cfg @@ -18,7 +18,7 @@ # (optional, defaults to false) #localtime=true -url=jdbc:mysql://127.0.0.1:3306/OpenHAB?serverTimezone=Europe/Berlin +url=jdbc:mariadb://openhab-mariadb:3306/openhab?serverTimezone=Europe/Berlin #/?serverTimezone=Europe/Berlin # the database user diff --git a/things/astro.things b/things/astro.things new file mode 100644 index 0000000..40fc3a0 --- /dev/null +++ b/things/astro.things @@ -0,0 +1,11 @@ +Thing astro:sun:local [ geolocation="51.3502338750402,7.021725917179536,210", interval=60 ] { + Channels: + Type rangeEvent : rise#event [ + earliest="07:20", + latest="08:30" + ] + Type rangeEvent : set#event [ + earliest="21:30", + offset=10 + ] +} \ No newline at end of file diff --git a/things/knx.things b/things/knx.things index 9daa0c1..ababdeb 100644 --- a/things/knx.things +++ b/things/knx.things @@ -2,8 +2,10 @@ Bridge knx:ip:bridge [ ipAddress="192.168.178.222", portNumber=3671, type="TUNNEL", - readingPause=50, - autoReconnectPeriod=30 + readingPause=50, + readRetriesLimit=3, + autoReconnectPeriod=60, + localSourceAddr="0.0.0" ] { // Thing device Busspannungsversorgung "KNX Spannungsversorgung" [ // address="1.1.1",