Advertisement
Guest User

Untitled

a guest
Apr 6th, 2023
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.64 KB | None | 0 0
  1.  
  2. # Loads default set of integrations. Do not remove.
  3. default_config:
  4.  
  5. mqtt:
  6. sensor:
  7. - name: Operame CO2
  8. state_topic: "operame-54220d"
  9. value_template: "{{ value_json['value'] }}"
  10. unique_id: "operame1_co2"
  11. state_class: "measurement"
  12. device_class: "carbon_dioxide"
  13. unit_of_measurement: "ppm"
  14. expire_after: 1800
  15.  
  16. - name: Operame temperature
  17. state_topic: "operame-54220d/t"
  18. value_template: "{{ value_json['value'] }}"
  19. unique_id: "operame1_temp"
  20. state_class: "measurement"
  21. device_class: "temperature"
  22. unit_of_measurement: "°C"
  23. expire_after: 1800
  24.  
  25. - name: Operame humidity
  26. state_topic: "operame-54220d/h"
  27. value_template: "{{ value_json['value'] }}"
  28. unique_id: "operame1_hm"
  29. state_class: "measurement"
  30. device_class: "humidity"
  31. unit_of_measurement: "%"
  32. expire_after: 1800
  33.  
  34. - name: Operame2 CO2
  35. state_topic: "operame-a8110d"
  36. value_template: "{{ value_json['value'] }}"
  37. unique_id: "operame2_co2"
  38. state_class: "measurement"
  39. device_class: "carbon_dioxide"
  40. unit_of_measurement: "ppm"
  41. expire_after: 1800
  42.  
  43. - name: Itho WPU Outside Temperature
  44. state_topic: "ithowpu/ithostatus"
  45. value_template: "{{ value_json['Outside temp (°C)'] }}"
  46. unique_id: "itho_wpu_outside_temp"
  47. state_class: "measurement"
  48. device_class: "temperature"
  49. unit_of_measurement: "°C"
  50.  
  51. - name: Itho WPU CV Pressure
  52. state_topic: "ithowpu/ithostatus"
  53. value_template: "{{ value_json['CV pressure (Bar)'] }}"
  54. unique_id: "itho_wpu_bar"
  55. state_class: "measurement"
  56. device_class: "pressure"
  57. unit_of_measurement: "bar"
  58.  
  59. - name: Itho WPU Flow rate (l/h)
  60. state_topic: "ithowpu/ithostatus"
  61. value_template: "{{ value_json['Flow sensor (lt_hr)'] }}"
  62. unique_id: "itho_wpu_flowrate"
  63. state_class: "measurement"
  64.  
  65. - name: Itho WPU CV Return
  66. state_topic: "ithowpu/ithostatus"
  67. value_template: "{{ value_json['CV return temp (°C)'] }}"
  68. unique_id: "itho_wpu_cv_return"
  69. state_class: "measurement"
  70. device_class: "temperature"
  71. unit_of_measurement: "°C"
  72.  
  73. - name: Itho WPU Status
  74. state_topic: "ithowpu/ithostatus"
  75. value_template: >
  76. {% set st = value_json.Status| int %}
  77. {% if st == 0 %}
  78. Init
  79. {% elif st == 1 %}
  80. Off
  81. {% elif st == 2 %}
  82. CV
  83. {% elif st == 3 %}
  84. Boiler
  85. {% elif st == 4 %}
  86. Cooling
  87. {% elif st == 5 %}
  88. Venting
  89. {% endif %}
  90. unique_id: "itho_wpu_status"
  91.  
  92. - name: Itho WPU Boiler temp up
  93. state_topic: "ithowpu/ithostatus"
  94. value_template: "{{ value_json['Boiler temp up (°C)'] }}"
  95. unique_id: "itho_wpu_boiler_temp_up"
  96. state_class: "measurement"
  97. device_class: "temperature"
  98. unit_of_measurement: "°C"
  99.  
  100. - name: Itho WPU Boiler temp down
  101. state_topic: "ithowpu/ithostatus"
  102. value_template: "{{ value_json['Boiler temp down (°C)'] }}"
  103. unique_id: "itho_wpu_boiler_temp_down"
  104. state_class: "measurement"
  105. device_class: "temperature"
  106. unit_of_measurement: "°C"
  107.  
  108. - name: Itho WPU Compressor evaporator temp T4
  109. state_topic: "ithowpu/ithostatus"
  110. value_template: "{{ value_json['Evaporator temp (°C)'] }}"
  111. unique_id: "itho_wpu_compressor_evaporator_T4"
  112. state_class: "measurement"
  113. device_class: "temperature"
  114. unit_of_measurement: "°C"
  115.  
  116. - name: Itho WPU Compressor suction gas temp T5
  117. state_topic: "ithowpu/ithostatus"
  118. value_template: "{{ value_json['Suction gas temp (°C)'] }}"
  119. unique_id: "itho_wpu_compressor_suctiongas_T5"
  120. state_class: "measurement"
  121. device_class: "temperature"
  122. unit_of_measurement: "°C"
  123.  
  124. - name: Itho WPU Compressor compressed gas temp T6
  125. state_topic: "ithowpu/ithostatus"
  126. value_template: "{{ value_json['Compressed gas temp (°C)'] }}"
  127. unique_id: "itho_wpu_compressor_compressedgas_T4"
  128. state_class: "measurement"
  129. device_class: "temperature"
  130. unit_of_measurement: "°C"
  131.  
  132. - name: Itho WPU Compressor liquid temp T7
  133. state_topic: "ithowpu/ithostatus"
  134. value_template: "{{ value_json['Liquid temp (°C)'] }}"
  135. unique_id: "itho_wpu_compressor_liquid_T7"
  136. state_class: "measurement"
  137. device_class: "temperature"
  138. unit_of_measurement: "°C"
  139.  
  140. - name: Itho WPU CV Supply
  141. state_topic: "ithowpu/ithostatus"
  142. value_template: "{{ value_json['CV supply temp (°C)'] }}"
  143. unique_id: "itho_wpu_cv_supply"
  144. state_class: "measurement"
  145. device_class: "temperature"
  146. unit_of_measurement: "°C"
  147.  
  148. - name: Itho WPU Requested temp
  149. state_topic: "ithowpu/ithostatus"
  150. value_template: "{{ value_json['Requested room temp (°C)'] }}"
  151. unique_id: "itho_wpu_cv_req_temp"
  152. state_class: "measurement"
  153. device_class: "temperature"
  154. unit_of_measurement: "°C"
  155.  
  156. - name: Itho WPU Temp from source
  157. state_topic: "ithowpu/ithostatus"
  158. value_template: "{{ value_json['Temp from source (°C)'] }}"
  159. unique_id: "itho_wpu_temp_from_source"
  160. state_class: "measurement"
  161. device_class: "temperature"
  162. unit_of_measurement: "°C"
  163.  
  164. - name: Itho WPU Temp to source
  165. state_topic: "ithowpu/ithostatus"
  166. value_template: "{{ value_json['Temp to source (°C)'] }}"
  167. unique_id: "itho_wpu_temp_to_source"
  168. state_class: "measurement"
  169. device_class: "temperature"
  170. unit_of_measurement: "°C"
  171.  
  172. - name: Itho WPU delta source temp
  173. state_topic: "ithowpu/ithostatus"
  174. value_template: "{{ value_json['Correction measurement delta source temperature (K)'] }}"
  175. unique_id: "itho_wpu_delta_source_temp"
  176. state_class: "measurement"
  177. device_class: "temperature"
  178. unit_of_measurement: "K"
  179.  
  180. - name: Itho WPU PI error sourceflow
  181. state_topic: "ithowpu/ithostatus"
  182. value_template: "{{ value_json['Pi error sourceflow'] }}"
  183. unique_id: "itho_wpu_pi_error_sourceflow"
  184. state_class: "measurement"
  185.  
  186. - name: Itho Freecooling interval
  187. state_topic: "ithowpu/ithostatus"
  188. value_template: "{{ value_json['Free cooling interval (sec)'] }}"
  189. unique_id: "itho_wpu_free_cooling_interval"
  190. state_class: "measurement"
  191. device_class: "duration"
  192. unit_of_measurement: "second"
  193.  
  194. - name: Itho Compressor current (A)
  195. state_topic: "ithowpu/ithostatus"
  196. value_template: "{{ value_json['Compressor current (A)'] }}"
  197. unique_id: "itho_wpu_compressor_current"
  198. state_class: "measurement"
  199. device_class: "current"
  200. unit_of_measurement: "A"
  201.  
  202. - name: Itho Compressor active
  203. state_topic: "ithowpu/ithostatus"
  204. value_template: "{{ value_json['Compressor'] }}"
  205. unique_id: "itho_wpu_compressor_active"
  206.  
  207. - name: Itho Calculated CV condensation temp
  208. state_topic: "ithowpu/ithostatus"
  209. value_template: "{{ value_json['Calculated CV condensation temp (°C)'] }}"
  210. unique_id: "itho_wpu_calc_cv_condensation_temp"
  211. state_class: "measurement"
  212. device_class: "temperature"
  213. unit_of_measurement: "°C"
  214.  
  215. - name: Itho WPU Total Power Used
  216. state_topic: "ithowpu/ithostatus"
  217. value_template: >
  218. {% if is_number(value_json['E-consumption during stand-by (kWh)']) %}
  219. {{ (value_json['E-consumption during stand-by (kWh)']| float + value_json['E-consumption during DHW (kWh)']| float + value_json['E-consumption during heating (kWh)']| float + value_json['E-consumption during cooling (kWh)']| float) | float | round(0) }}
  220. {% else %}
  221. None
  222. {% endif %}
  223. unique_id: "itho_wpu_total_energy"
  224. state_class: "total"
  225. device_class: "energy"
  226. unit_of_measurement: "kWh"
  227.  
  228. - name: Itho WPU Power Used Cooling
  229. state_topic: "ithowpu/ithostatus"
  230. value_template: "{{ value_json['E-consumption during cooling (kWh)'] }}"
  231. unique_id: "itho_wpu_cooling_energy"
  232. state_class: "total"
  233. device_class: "energy"
  234. unit_of_measurement: "kWh"
  235.  
  236. - name: Itho WPU Power Used Heating
  237. state_topic: "ithowpu/ithostatus"
  238. value_template: "{{ value_json['E-consumption during heating (kWh)'] }}"
  239. unique_id: "itho_wpu_heating_energy"
  240. state_class: "total"
  241. device_class: "energy"
  242. unit_of_measurement: "kWh"
  243.  
  244. - name: Itho WPU Power Used DHW
  245. state_topic: "ithowpu/ithostatus"
  246. value_template: "{{ value_json['E-consumption during DHW (kWh)'] }}"
  247. unique_id: "itho_wpu_dwh_energy"
  248. state_class: "total"
  249. device_class: "energy"
  250. unit_of_measurement: "kWh"
  251.  
  252. - name: Itho WPU Power Used Standby
  253. state_topic: "ithowpu/ithostatus"
  254. value_template: "{{ value_json['E-consumption during stand-by (kWh)'] }}"
  255. unique_id: "itho_wpu_standby_energy"
  256. state_class: "total"
  257. device_class: "energy"
  258. unit_of_measurement: "kWh"
  259.  
  260. - name: Itho WPU Current Room temp
  261. state_topic: "ithowpu/ithostatus"
  262. value_template: "{{ value_json['Room temp (°C)'] }}"
  263. unique_id: "itho_wpu_roomtemp"
  264. state_class: "measurement"
  265. device_class: "temperature"
  266. unit_of_measurement: "°C"
  267.  
  268. - name: Itho WPU Heat demand thermostat
  269. state_topic: "ithowpu/ithostatus"
  270. value_template: "{{ value_json['Heat demand thermost. (%)'] }}"
  271. unique_id: "itho_wpu_heatdemand_spider"
  272. state_class: "measurement"
  273. unit_of_measurement: "%"
  274.  
  275. - name: Itho WPU Heat demand total
  276. state_topic: "ithowpu/ithostatus"
  277. value_template: "{{ value_json['Heat demand total (%)'] }}"
  278. unique_id: "itho_wpu_heatdemand_total"
  279. state_class: "measurement"
  280. unit_of_measurement: "%"
  281.  
  282. - name: Itho WPU CV pump percent
  283. state_topic: "ithowpu/ithostatus"
  284. value_template: "{{ value_json['Cv pump (%)'] }}"
  285. unique_id: "itho_wpu_cv_pump"
  286. state_class: "measurement"
  287. unit_of_measurement: '%'
  288.  
  289. - name: Itho WPU Source pump percent
  290. state_topic: "ithowpu/ithostatus"
  291. value_template: "{{ value_json['Well pump (%)'] }}"
  292. unique_id: "itho_wpu_well_pump"
  293. state_class: "measurement"
  294. unit_of_measurement: '%'
  295.  
  296. - name: Itho WPU Thermostat mode
  297. state_topic: "ithowpu/ithostatus"
  298. value_template: >
  299. {% if value_json['ECO selected on thermostat'] == 1 %}Eco{% endif %}
  300. {% if value_json['Comfort selected on thermostat'] == 1 %}Comfort{% endif %}
  301. {% if value_json['Boiler boost from thermostat'] == 1 %}Boost{% endif %}
  302. {% if value_json['Venting from thermostat'] == 1 %}Venting{% endif %}
  303. {% if value_json['Tariff low from thermostat'] == 1 %}Low{% endif %}
  304. {% if value_json['Boiler blocked from thermostat'] == 1 %}Off{% endif %}
  305. unique_id: "itho_wpu_thermostat_mode"
  306.  
  307. - name: Itho WPU Delay cv start
  308. state_topic: "ithowpu/ithostatus"
  309. value_template: "{{ value_json['Delay cv start (sec)'] }}"
  310. unique_id: "itho_wpu_delay_cv_start"
  311. state_class: "measurement"
  312. unit_of_measurement: 's'
  313.  
  314. - name: Itho WPU Delay cv stop
  315. state_topic: "ithowpu/ithostatus"
  316. value_template: "{{ value_json['Delay cv stop (sec)'] }}"
  317. unique_id: "itho_wpu_delay_cv_stop"
  318. state_class: "measurement"
  319. unit_of_measurement: 's'
  320.  
  321. - name: Itho WPU Free cooling interval
  322. state_topic: "ithowpu/ithostatus"
  323. value_template: "{{ value_json['Free cooling interval (sec)'] }}"
  324. unique_id: "itho_wpu_free_cooling_interval"
  325. state_class: "measurement"
  326. unit_of_measurement: 's'
  327.  
  328. - name: Itho WPU Manual Operation
  329. state_topic: "ithowpu/ithostatus"
  330. value_template: "{{ value_json['Manual operation'] }}"
  331. unique_id: "itho_wpu_manual_operation"
  332.  
  333. - name: Itho WPU Manual Operation Timer
  334. state_topic: "ithowpu/ithostatus"
  335. value_template: "{{ value_json['Manual control (sec)'] }}"
  336. unique_id: "itho_wpu_manual_operation_timer"
  337. state_class: "measurement"
  338. unit_of_measurement: 's'
  339.  
  340. - name: Itho WPU Tariff
  341. state_topic: "ithowpu/ithostatus"
  342. value_template: "{{ value_json['Tariff'] }}"
  343. unique_id: "itho_wpu_tariff"
  344.  
  345. - name: Itho WPU Error code
  346. state_topic: "ithowpu/ithostatus"
  347. value_template: "{{ value_json['Fault highest priority'] }}"
  348. unique_id: "itho_wpu_error_code"
  349.  
  350.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement