ModBus software works, MQTT bridge software added.
This commit is contained in:
30
software/rs485_client_to_mqtt/modbus_registers.yaml
Normal file
30
software/rs485_client_to_mqtt/modbus_registers.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
# This file defines the Mees Electronincs ModBus device registers
|
||||
|
||||
devices:
|
||||
- device_type: 1
|
||||
input_registers: 6 # The number of available input registers, starting from offset 40
|
||||
input_register_names: # Description, unit
|
||||
- [Temperature A, °C]
|
||||
- [Temperature B , °C]
|
||||
- [Minimum temperature A, °C]
|
||||
- [Minimum temperature B, °C]
|
||||
- [Maximum temperature A, °C]
|
||||
- [Maximum temperature B, °C]
|
||||
- device_type: 2
|
||||
input_registers: 15 # The number of available input registers, starting from offset 40
|
||||
input_register_names: # Description, unit, scaling 0 = as is, 1 = decimal one position to the left, 2 = decimal two positions to the left, enz.
|
||||
- [weater_station_id, '', 0]
|
||||
- [wind_direction, °, 1]
|
||||
- [wind_speed, 'km/h', 2]
|
||||
- [wind_gust, 'km/h', 2]
|
||||
- [temperature, °C, 2]
|
||||
- [rain_last_hour, 'l/m2', 2]
|
||||
- [rain_last_24 hours, 'l/m2', 2]
|
||||
- [rain_since_midnight, 'l/m2', 2]
|
||||
- [humidity, '%', 2]
|
||||
- [barometric_pressure, hPa, 1]
|
||||
- [luminosity, 'W/m2', 0]
|
||||
- [snow_fall, NA, 0]
|
||||
- [raw_rainfall_counter, mm, 0]
|
||||
- [temperature_pressure_sensor, °C, 2]
|
||||
- [status_bits, '', 0]
|
Reference in New Issue
Block a user