-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmqttBH1750Client.ini
45 lines (41 loc) · 1.39 KB
/
mqttBH1750Client.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# This file is part of the mqttBH1750Client distribution (https://github.com/olialb/mqttBH1750Client).
# Copyright (c) 2025 Oliver Albold.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
[global]
#set server ip adress and port
broker=openhab.local
port=1883
#set username and password if needed:
username=
password=
#set root of topic path:
topicRoot=kiosk/01
#device name
deviceName=bh1750
#delay in seconds to try reconnect to server, if connection is lost:
reconnectDelay=5
#cycle time in seconds to publish changes in topics:
publishDelay=3
#Every publishcycle*fullPublishCycle will be all topics published even if no data changed:
fullPublishCycle=20
[logging]
#configure the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
level=WARNING
[bh1750]
#i2c address of the bh1750
i2cAddr=0x23
#mode in which bh1750 is used
mode=0x10