forked from mirkodcomparetti/rpi-sensehat_mqtt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CONFIG.ini
32 lines (29 loc) · 1.15 KB
/
CONFIG.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
# This is where the user configurable variables are stored.
# You may edit any variables to your liking.
[DEFAULT]
# time (in seconds) between publishing sensor data to the broker
resolution = 300
# welcome message to be displayed on the senseHAT at startup
welcome_msg = SenseHAT is ready!
[mqtt]
# the full 'protocol://address:port' endpoint of the broker
broker_address = mqtt://127.0.0.1:1883
# if the MQTT broker requires credentials, edit them here
user =
password =
# TODO: TLS support variables
# the MQTT topic follows a 'zone/room/client_name' level structure. edit the following variables accordingly.
zone = downstairs
room = livingroom
client_name = sensehat01
[sensehat]
# LED rotation; set to 180 to rotate the display 180° relative to its original position
set_rotation = 0
# boolean to set led matrix to low intensity
low_light = True
# integer for the number of decimals for float variables
rounding = 4
# float that converts Gs (default) to meters/square second; set to 1 for default
acceleration_multiplier = 9.80665
# float to convert the rotational intensity in radians/second (default) to something else; set to 1 for default
gyroscope_multiplier = 1.0