ModBus software works, MQTT bridge software added.
This commit is contained in:
22
software/rs485_client_to_mqtt/config.yaml
Normal file
22
software/rs485_client_to_mqtt/config.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# This is the configuration file for the Mees Electronics weather station MK2
|
||||
|
||||
# Global settings
|
||||
global:
|
||||
program-log: 0 # All program output will be written to this file (0 = do not log to file)
|
||||
#program-log: /home/marcel/rs458.log # All program output will be written to this file (0 = do not log to file)
|
||||
data-log: /home/marcel/weather_station_data.log # All sensor data will be written to this file (0 = do not log to file). Every day the current date is added to the end of the filename, so every dat a new file is created.
|
||||
mqtt-server: mqtt.meezenest.nl
|
||||
mqtt-port: 1883
|
||||
mqtt-root-topic: mees_electronics
|
||||
|
||||
# ModBus hardware settings
|
||||
modbus:
|
||||
#port: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0 # USB port to which RS-485 dongle is connected
|
||||
port: /dev/ttyUSB0
|
||||
|
||||
# Modbus servers settings
|
||||
modbus_servers:
|
||||
- address: 14 # ModBus address of weather station
|
||||
description: Dual temperature sensor
|
||||
- address: 1
|
||||
description: Dummy
|
Reference in New Issue
Block a user