Feature/v0.3.0 (#11)

v0.3.0 - 2025-02-27
Added poller functionality. EHS-Sentinel can now actively request values via Modbus

fetch_intervals and groups can be defined in the config file
default group and pollers are in the sampelconfig
[!CAUTION]
This functionality requires that EHS-Sentinel actively communicates with
the Samsung EHS, so EHS-Sentinel intervenes here in the Modbus data
traffic between the components (it sends its own messages).
The activation of this functionality is exclusively at your own risk.
I assume no liability for any damage caused.

added a homeassistant dashboard.yaml with default Dashboard

edited Measurement

ENUM_IN_FSV_5061 add enums
ENUM_IN_FSV_5094 correct enum values
ENUM_IN_PV_CONTACT_STATE correct enum values
added units for multiple Measurements
Rename some Measurements:

NASA_INDOOR_COOL_MAX_SETTEMP_WATEROUT -> VAR_IN_FSV_1011
NASA_INDOOR_COOL_MIN_SETTEMP_WATEROUT -> VAR_IN_FSV_1012
NASA_INDOOR_COOL_MAX_SETTEMP_ROOM -> VAR_IN_FSV_1021
NASA_INDOOR_COOL_MIN_SETTEMP_ROOM -> VAR_IN_FSV_1022
NASA_INDOOR_HEAT_MAX_SETTEMP_WATEROUT -> VAR_IN_FSV_1031
NASA_INDOOR_HEAT_MIN_SETTEMP_WATEROUT -> VAR_IN_FSV_1032
NASA_INDOOR_HEAT_MAX_SETTEMP_ROOM -> VAR_IN_FSV_1041
NASA_INDOOR_HEAT_MIN_SETTEMP_ROOM -> VAR_IN_FSV_1042
NASA_DHW_MAX_SETTEMPLIMIT -> VAR_IN_FSV_1051
NASA_DHW_MIN_SETTEMPLIMIT -> VAR_IN_FSV_1052
NASA_USE_DHW_THERMOSTAT -> ENUM_IN_FSV_3061
NASA_USE_BOOSTER_HEATER -> ENUM_IN_FSV_3031
NASA_ENABLE_DHW -> ENUM_IN_FSV_3011
NASA_USE_THERMOSTAT!1 -> ENUM_IN_FSV_2091
NASA_USE_THERMOSTAT2 -> ENUM_IN_FSV_2092
Fixes #9
This commit is contained in:
echoDaveD
2025-02-27 22:04:27 +01:00
committed by GitHub
parent 1278f8e3e7
commit 86ef22006d
12 changed files with 835 additions and 131 deletions

View File

@@ -502,10 +502,15 @@ ENUM_IN_FSV_5051:
ENUM_IN_FSV_5061:
address: '0x40B4'
arithmetic: ''
description: ''
description: 'Ratio of hot water supply compare to heating'
enum:
0x00: 'OFF'
0x01: 'ON'
0x01: "1"
0x02: "2"
0x03: "3"
0x04: "4"
0x05: "5"
0x06: "6"
0x07: "7"
remarks: ''
signed: ''
type: ENUM
@@ -537,8 +542,8 @@ ENUM_IN_FSV_5094:
arithmetic: ''
description: Smart Grid Control - DHW Mode
enum:
0x00: '55° by HP'
0x01: '70° by HP and BSH'
0x00: "55\u00b0 by HP"
0x01: "70\u00b0 by HP and BSH"
remarks: ''
signed: ''
type: ENUM
@@ -655,8 +660,9 @@ ENUM_IN_PV_CONTACT_STATE:
arithmetic: ''
description: PV Control
enum:
0x00: 'Disable'
0x01: 'ENABLE'
0x00: 'OFF'
0x01: 'ON'
0xFF: 'DISABLED'
remarks: ''
signed: ''
type: ENUM
@@ -1788,7 +1794,7 @@ NASA_DETECTION_TYPE:
signed: ''
type: ''
unit: ''
NASA_DHW_MAX_SETTEMPLIMIT:
VAR_IN_FSV_1051:
address: '0x4252'
arithmetic: value / 10
description: User limitation - Hot Water Temperature Max.
@@ -1796,7 +1802,7 @@ NASA_DHW_MAX_SETTEMPLIMIT:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_DHW_MIN_SETTEMPLIMIT:
VAR_IN_FSV_1052:
address: '0x4253'
arithmetic: value / 10
description: ''
@@ -1917,7 +1923,7 @@ NASA_ENABLEDOWNLOAD:
signed: ''
type: ''
unit: ''
NASA_ENABLE_DHW:
ENUM_IN_FSV_3011:
address: '0x4097'
arithmetic: ''
description: ''
@@ -2177,7 +2183,7 @@ NASA_INDOOR_CAPACITY:
signed: 'false'
type: VAR
unit: kW
NASA_INDOOR_COOL_MAX_SETTEMP_ROOM:
VAR_IN_FSV_1021:
address: '0x424C'
arithmetic: value / 10
description: User limitation - Room Cooling Temperature Max.
@@ -2185,7 +2191,7 @@ NASA_INDOOR_COOL_MAX_SETTEMP_ROOM:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_COOL_MAX_SETTEMP_WATEROUT:
VAR_IN_FSV_1011:
address: '0x424A'
arithmetic: value / 10
description: User limitation - Water Cooling Temperature Max.
@@ -2193,7 +2199,7 @@ NASA_INDOOR_COOL_MAX_SETTEMP_WATEROUT:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_COOL_MIN_SETTEMP_ROOM:
VAR_IN_FSV_1022:
address: '0x424D'
arithmetic: value / 10
description: ''
@@ -2201,7 +2207,7 @@ NASA_INDOOR_COOL_MIN_SETTEMP_ROOM:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_COOL_MIN_SETTEMP_WATEROUT:
VAR_IN_FSV_1012:
address: '0x424B'
arithmetic: value / 10
description: ''
@@ -2260,7 +2266,7 @@ NASA_INDOOR_DHW_SET_TEMP:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_HEAT_MAX_SETTEMP_ROOM:
VAR_IN_FSV_1041:
address: '0x4250'
arithmetic: value / 10
description: User limitation - Room heating Temperature Max.
@@ -2268,7 +2274,7 @@ NASA_INDOOR_HEAT_MAX_SETTEMP_ROOM:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_HEAT_MAX_SETTEMP_WATEROUT:
VAR_IN_FSV_1031:
address: '0x424E'
arithmetic: value / 10
description: User limitation - Water Heating Temperature Max.
@@ -2276,7 +2282,7 @@ NASA_INDOOR_HEAT_MAX_SETTEMP_WATEROUT:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_HEAT_MIN_SETTEMP_ROOM:
VAR_IN_FSV_1042:
address: '0x4251'
arithmetic: value / 10
description: ''
@@ -2284,7 +2290,7 @@ NASA_INDOOR_HEAT_MIN_SETTEMP_ROOM:
signed: 'true'
type: VAR
unit: "\u00b0C"
NASA_INDOOR_HEAT_MIN_SETTEMP_WATEROUT:
VAR_IN_FSV_1032:
address: '0x424F'
arithmetic: value / 10
description: ''
@@ -4550,7 +4556,7 @@ NASA_TRACKING_RESULT:
signed: ''
type: ENUM
unit: ''
NASA_USE_BOOSTER_HEATER:
ENUM_IN_FSV_3031:
address: '0x4098'
arithmetic: ''
description: ''
@@ -4577,7 +4583,7 @@ NASA_USE_DESIRED_HUMIDITY:
signed: ''
type: ''
unit: ''
NASA_USE_DHW_THERMOSTAT:
ENUM_IN_FSV_3061:
address: '0x409C'
arithmetic: ''
description: ''
@@ -4649,7 +4655,7 @@ NASA_USE_SPI:
signed: ''
type: ENUM
unit: ''
NASA_USE_THERMOSTAT1:
ENUM_IN_FSV_2091:
address: '0x4095'
arithmetic: ''
description: ''
@@ -4663,7 +4669,7 @@ NASA_USE_THERMOSTAT1:
signed: ''
type: ENUM
unit: ''
NASA_USE_THERMOSTAT2:
ENUM_IN_FSV_2092:
address: '0x4096'
arithmetic: ''
description: ''
@@ -4994,34 +5000,38 @@ VAR_IN_FSV_3024:
address: '0x4263'
arithmetic: ''
description: DHW - Heat Pump Min. Space heating operation time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_3025:
address: '0x4264'
arithmetic: ''
description: DHW - Heat Pump Max. DHW operation time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_3026:
address: '0x4265'
arithmetic: ''
description: DHW - Heat Pump Max. Space heating operation time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'h'
VAR_IN_FSV_3032:
address: '0x4266'
arithmetic: ''
description: DHW - Booster Heat Delay Time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_3033:
address: '0x4267'
arithmetic: value / 10
@@ -5042,10 +5052,11 @@ VAR_IN_FSV_3043:
address: '0x4269'
arithmetic: ''
description: DHW - Disinfection Start Time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'h'
VAR_IN_FSV_3044:
address: '0x426A'
arithmetic: value / 10
@@ -5058,26 +5069,29 @@ VAR_IN_FSV_3045:
address: '0x426B'
arithmetic: ''
description: DHW - Disinfection Duration
device_class: duration
remarks: ''
signed: 'true'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_3046:
address: '0x42CE'
arithmetic: value / 60
description: DHW - Disinfection Max time
remarks: NASA Value is [minutes], not [hours]
device_class: duration
signed: 'false'
type: VAR
unit: ''
unit: 'h'
VAR_IN_FSV_3052:
address: '0x426C'
arithmetic: value / 0.1
description: DHW - Forced DHW Operation Time Duration
device_class: duration
remarks: ''
signed: 'true'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_3081:
address: '0x42ED'
arithmetic: ''
@@ -5085,7 +5099,7 @@ VAR_IN_FSV_3081:
remarks: ''
signed: 'true'
type: VAR
unit: ''
unit: 'kW'
VAR_IN_FSV_3082:
address: '0x42EE'
arithmetic: ''
@@ -5093,7 +5107,7 @@ VAR_IN_FSV_3082:
remarks: ''
signed: 'true'
type: VAR
unit: ''
unit: 'kW'
VAR_IN_FSV_3083:
address: '0x42EF'
arithmetic: ''
@@ -5101,7 +5115,7 @@ VAR_IN_FSV_3083:
remarks: ''
signed: 'true'
type: VAR
unit: ''
unit: 'kW'
VAR_IN_FSV_4012:
address: '0x426D'
arithmetic: value / 10
@@ -5170,18 +5184,20 @@ VAR_IN_FSV_4045:
address: '0x4288'
arithmetic: ''
description: Heating - Mixing Valve Control Interval
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 'min'
VAR_IN_FSV_4046:
address: '0x4289'
arithmetic: value / 0.1
description: Heating - Mixing Valve Running Time
device_class: duration
remarks: ''
signed: 'false'
type: VAR
unit: ''
unit: 's'
VAR_IN_FSV_4052:
address: '0x428A'
arithmetic: value / 10

View File

@@ -5,9 +5,10 @@ logging:
messageNotFound: False
packetNotFromIndoorOutdoor: False
proccessedMessage: False
serial:
device: /dev/ttyUSB0
baudrate: 9600
pollerMessage: False
#serial:
# device: /dev/ttyUSB0
# baudrate: 9600
tcp:
ip: 168.192.2.200
port: 4196
@@ -20,3 +21,123 @@ mqtt:
homeAssistantAutoDiscoverTopic: "hass"
useCamelCaseTopicNames: True
topicPrefix: ehsSentinel
polling:
fetch_interval:
- name: fsv10xx
enable: false
schedule: 30m
- name: fsv20xx
enable: false
schedule: 30m
- name: fsv30xx
enable: false
schedule: 30m
- name: fsv40xx
enable: false
schedule: 30m
- name: fsv50xx
enable: false
schedule: 30m
groups:
fsv10xx:
- VAR_IN_FSV_1011
- VAR_IN_FSV_1012
- VAR_IN_FSV_1021
- VAR_IN_FSV_1022
- VAR_IN_FSV_1031
- VAR_IN_FSV_1032
- VAR_IN_FSV_1041
- VAR_IN_FSV_1042
- VAR_IN_FSV_1051
- VAR_IN_FSV_1052
fsv20xx:
- VAR_IN_FSV_2011
- VAR_IN_FSV_2012
- VAR_IN_FSV_2021
- VAR_IN_FSV_2022
- VAR_IN_FSV_2031
- VAR_IN_FSV_2032
- ENUM_IN_FSV_2041
- VAR_IN_FSV_2051
- VAR_IN_FSV_2052
- VAR_IN_FSV_2061
- VAR_IN_FSV_2062
- VAR_IN_FSV_2071
- VAR_IN_FSV_2072
- ENUM_IN_FSV_2081
- ENUM_IN_FSV_2091
- ENUM_IN_FSV_2092
- ENUM_IN_FSV_2093
- ENUM_IN_FSV_2094
fsv30xx:
- ENUM_IN_FSV_3011
- VAR_IN_FSV_3021
- VAR_IN_FSV_3022
- VAR_IN_FSV_3023
- VAR_IN_FSV_3024
- VAR_IN_FSV_3025
- VAR_IN_FSV_3026
- ENUM_IN_FSV_3031
- VAR_IN_FSV_3032
- VAR_IN_FSV_3033
- ENUM_IN_FSV_3041
- ENUM_IN_FSV_3042
- VAR_IN_FSV_3043
- VAR_IN_FSV_3044
- VAR_IN_FSV_3045
- VAR_IN_FSV_3046
- ENUM_IN_FSV_3051
- VAR_IN_FSV_3052
- ENUM_IN_FSV_3061
- ENUM_IN_FSV_3071
- VAR_IN_FSV_3081
- VAR_IN_FSV_3082
- VAR_IN_FSV_3083
fsv40xx:
- ENUM_IN_FSV_4011
- VAR_IN_FSV_4012
- VAR_IN_FSV_4013
- ENUM_IN_FSV_4021
- ENUM_IN_FSV_4022
- ENUM_IN_FSV_4023
- VAR_IN_FSV_4024
- VAR_IN_FSV_4025
- ENUM_IN_FSV_4031
- ENUM_IN_FSV_4032
- VAR_IN_FSV_4033
- ENUM_IN_FSV_4041
- VAR_IN_FSV_4042
- VAR_IN_FSV_4043
- ENUM_IN_FSV_4044
- VAR_IN_FSV_4045
- VAR_IN_FSV_4046
- ENUM_IN_FSV_4051
- VAR_IN_FSV_4052
- ENUM_IN_FSV_4053
- ENUM_IN_FSV_4061
fsv50xx:
- VAR_IN_FSV_5011
- VAR_IN_FSV_5012
- VAR_IN_FSV_5013
- VAR_IN_FSV_5014
- VAR_IN_FSV_5015
- VAR_IN_FSV_5016
- VAR_IN_FSV_5017
- VAR_IN_FSV_5018
- VAR_IN_FSV_5019
- VAR_IN_FSV_5021
- VAR_IN_FSV_5031
- ENUM_IN_FSV_5022
- VAR_IN_FSV_5023
- ENUM_IN_FSV_5041
- ENUM_IN_FSV_5042
- ENUM_IN_FSV_5043
- ENUM_IN_FSV_5051
- ENUM_IN_FSV_5061
- ENUM_IN_FSV_5081
- VAR_IN_FSV_5082
- VAR_IN_FSV_5083
- ENUM_IN_FSV_5091
- VAR_IN_FSV_5092
- VAR_IN_FSV_5093
- ENUM_IN_FSV_5094