Guest User

Untitled

a guest
Jan 23rd, 2023
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.83 KB | None | 0 0
  1. heru_modbus:
  2. modbus:
  3. - name: "heru"
  4. close_comm_on_error: true
  5. delay: 5
  6. timeout: 5
  7. type: tcp
  8. host: 192.168.1.xxx
  9. port: yyy
  10. message_wait_milliseconds: 30 # Trying to get rid of unavailable...
  11.  
  12.  
  13. #Info for me:
  14. # Binary sensor , input type (discrete_input or coil)
  15. # Sensor (register_type input or holding)
  16. # 0 - coil, 1 - discrete_input, 3 - input register, 4- holding register
  17.  
  18. #HA adress = Heru adress -1
  19.  
  20. ######################################
  21. ######### SWITCHES #########
  22. ######################################
  23.  
  24. switches:
  25.  
  26. #### COIL ####
  27.  
  28. - name: FTX Drift
  29. address: 0
  30. write_type: coil
  31. verify:
  32. scan_interval: 10
  33.  
  34. - name: FTX Övertryck
  35. address: 1
  36. write_type: coil
  37. verify:
  38. scan_interval: 10
  39.  
  40. - name: FTX Boost
  41. address: 2
  42. write_type: coil
  43. verify:
  44. scan_interval: 10
  45.  
  46. - name: FTX Borta
  47. address: 3
  48. write_type: coil
  49. verify:
  50. scan_interval: 10
  51.  
  52. - name: FTX Återställ Larm
  53. address: 4
  54. write_type: coil
  55. verify:
  56. scan_interval: 10
  57.  
  58. #### HOLDING ####
  59.  
  60. - name: FTX Sommarkyla
  61. address: 18
  62. write_type: holding
  63. command_on: 1
  64. command_off: 0
  65. lazy_error_count: 3
  66. verify:
  67. scan_interval: 60
  68.  
  69. - name: FTX Elvärme
  70. address: 66
  71. write_type: holding
  72. command_on: 1
  73. command_off: 0
  74. lazy_error_count: 3
  75. verify:
  76. scan_interval: 60
  77.  
  78. ######################################
  79. ###### BINARY SENSORS ######
  80. ######################################
  81.  
  82. binary_sensors:
  83.  
  84. # #### COIL ####
  85.  
  86. # - name: FTX Drift
  87. # address: 0
  88. # input_type: coil
  89. # device_class: power
  90. # scan_interval: 60
  91. # lazy_error_count: 3
  92.  
  93. #### DISCRETE_INPUT - ALARM REGISTERS ####
  94.  
  95. - name: FTX Fire Alarm
  96. address: 9
  97. input_type: discrete_input
  98. device_class: safety
  99. scan_interval: 60
  100. lazy_error_count: 3
  101.  
  102. - name: FTX Rotor Alarm
  103. address: 10
  104. input_type: discrete_input
  105. device_class: safety
  106. scan_interval: 60
  107. lazy_error_count: 3
  108.  
  109. - name: FTX Freeze Alarm
  110. address: 12
  111. input_type: discrete_input
  112. device_class: safety
  113. scan_interval: 60
  114. lazy_error_count: 3
  115.  
  116. - name: FTX Low Supply Alarm
  117. address: 13
  118. input_type: discrete_input
  119. device_class: safety
  120. scan_interval: 60
  121. lazy_error_count: 3
  122.  
  123. - name: FTX Low Rotor Temp Alarm
  124. address: 14
  125. input_type: discrete_input
  126. device_class: safety
  127. scan_interval: 60
  128. lazy_error_count: 3
  129.  
  130. - name: FTX Temp Sensor Open Alarm
  131. address: 17
  132. input_type: discrete_input
  133. device_class: safety
  134. scan_interval: 60
  135. lazy_error_count: 3
  136.  
  137. - name: FTX Temp Sensor Short Alarm
  138. address: 18
  139. input_type: discrete_input
  140. device_class: safety
  141. scan_interval: 60
  142. lazy_error_count: 3
  143.  
  144. - name: FTX Supply Fan Alarm
  145. address: 20
  146. input_type: discrete_input
  147. device_class: safety
  148. scan_interval: 60
  149. lazy_error_count: 3
  150.  
  151. - name: FTX Exhaust Fan Alarm
  152. address: 21
  153. input_type: discrete_input
  154. device_class: safety
  155. scan_interval: 60
  156. lazy_error_count: 3
  157.  
  158. - name: FTX Freeze Protection B
  159. address: 25
  160. input_type: discrete_input
  161. device_class: safety
  162. scan_interval: 60
  163. lazy_error_count: 3
  164.  
  165. - name: FTX Freeze Protection A
  166. address: 26
  167. input_type: discrete_input
  168. device_class: safety
  169. scan_interval: 60
  170. lazy_error_count: 3
  171.  
  172. #### DISCRETE_INPUT - STATES ####
  173.  
  174. # - name: FTX Heating
  175. # address: 29
  176. # input_type: discrete_input
  177. # device_class: heat
  178. # scan_interval: 60
  179. # lazy_error_count: 3
  180.  
  181. # - name: FTX Recovery Heat Cold
  182. # address: 30
  183. # input_type: discrete_input
  184. # device_class: heat
  185. # scan_interval: 60
  186. # lazy_error_count: 3
  187.  
  188. # - name: FTX Cooling
  189. # address: 31
  190. # input_type: discrete_input
  191. # device_class: heat
  192. # scan_interval: 60
  193. # lazy_error_count: 3
  194.  
  195.  
  196. ######################################
  197. ######### SENSORS ##########
  198. ######################################
  199.  
  200. sensors:
  201. - name: FTX Ute
  202. unit_of_measurement: '°C'
  203. address: 1
  204. data_type: int16
  205. input_type: 'input'
  206. scan_interval: 60
  207. lazy_error_count: 3
  208. scale: 0.1
  209. precision: 1
  210.  
  211. - name: FTX Tilluft
  212. unit_of_measurement: '°C'
  213. address: 2
  214. data_type: int16
  215. input_type: 'input'
  216. scan_interval: 60
  217. lazy_error_count: 3
  218. scale: 0.1
  219. precision: 1
  220.  
  221. - name: FTX Frånluft
  222. unit_of_measurement: '°C'
  223. address: 3
  224. data_type: int16
  225. input_type: 'input'
  226. scan_interval: 60
  227. lazy_error_count: 3
  228. scale: 0.1
  229. precision: 1
  230.  
  231. - name: FTX Avluft
  232. unit_of_measurement: '°C'
  233. address: 4
  234. data_type: int16
  235. input_type: 'input'
  236. scan_interval: 60
  237. lazy_error_count: 3
  238. scale: 0.1
  239. precision: 1
  240.  
  241. - name: FTX Rotor
  242. unit_of_measurement: '°C'
  243. address: 6
  244. data_type: int16
  245. input_type: 'input'
  246. scan_interval: 60
  247. lazy_error_count: 3
  248. scale: 0.1
  249. precision: 1
  250.  
  251. - name: FTX Filter
  252. unit_of_measurement: 'dagar'
  253. address: 19
  254. data_type: int16
  255. input_type: 'input'
  256. scan_interval: 3600
  257. lazy_error_count: 3
  258.  
  259. - name: FTX Tilluftsfläkt
  260. unit_of_measurement: '%'
  261. address: 24
  262. data_type: int16
  263. input_type: 'input'
  264. scan_interval: 60
  265. lazy_error_count: 3
  266.  
  267. - name: FTX Frånluftsfläkt
  268. unit_of_measurement: '%'
  269. address: 25
  270. data_type: int16
  271. input_type: 'input'
  272. scan_interval: 60
  273. lazy_error_count: 3
  274.  
  275. - name: FTX Tilluftsfläkt RPM
  276. unit_of_measurement: 'RPM'
  277. address: 26
  278. data_type: int16
  279. input_type: 'input'
  280. scan_interval: 60
  281. lazy_error_count: 3
  282.  
  283. - name: FTX Frånluftsfläkt RPM
  284. unit_of_measurement: 'RPM'
  285. address: 27
  286. data_type: int16
  287. input_type: 'input'
  288. scan_interval: 60
  289. lazy_error_count: 3
  290.  
  291. - name: FTX_Elvärme_255
  292. unit_of_measurement: ''
  293. address: 28
  294. data_type: int16
  295. input_type: 'input'
  296. scan_interval: 60
  297. lazy_error_count: 3
  298.  
  299. - name: FTX_Rotor_speed_255
  300. unit_of_measurement: ''
  301. address: 29
  302. data_type: int16
  303. input_type: 'input'
  304. scan_interval: 60
  305. lazy_error_count: 3
  306.  
  307.  
  308. ######################################
  309. ######### CLIMATE ##########
  310. ######################################
  311. # Does not work in fw 1.09, different scale on sensor and target temp.
  312. # Use Setpoint as sensor also, as workaround.
  313. climates:
  314. - name: Heru FTX
  315. address: 1 # Börvärde tilluft
  316. data_type: int16
  317. input_type: 'holding'
  318. scale: 1
  319. offset: 0
  320. precision: 0
  321. max_temp: 25
  322. min_temp: 15
  323. temp_step: 1
  324. target_temp_register: 1 #Börvärde tilluft
  325. scan_interval: 60
Advertisement
Add Comment
Please, Sign In to add comment