Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pvmt:
- rest:
- - resource: "http://pvmterminal.local/public"
- scan_interval: 10
- sensor:
- - unique_id: pvmt_ip
- name: pvmt - IP
- value_template: '{{ value_json["info"]["myip"] }}'
- icon: mdi:lan
- - unique_id: pvmt_pvstrt
- name: pvmt - uruchomienie
- value_template: '{{ value_json["info"]["pvstrt"] }}'
- icon: mdi:clock
- - unique_id: pvmt_nr_pvsno
- name: pvmt - nr seryjny
- value_template: '{{ value_json["info"]["pvsno"] }}'
- icon: mdi:id-card
- - unique_id: pvmt_ds18b20_43c01e076832928
- name: pvmt - Temperatura parter
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "43c01e076832928") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="43c01e076832928")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_733c01e076158928
- name: pvmt - Temperatura zewnetrzny
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "733c01e076158928") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="733c01e076158928")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_803c01e076f22628
- name: pvmt - Temperatura nawiew br
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "803c01e076f22628") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="803c01e076f22628")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_693c01e076103328
- name: pvmt - Temperatura piwnica
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "693c01e076103328") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="693c01e076103328")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_173c01e07651a628
- name: pvmt - Temperatura CWU
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "173c01e07651a628") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="173c01e07651a628")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_5b022078a0a8ff28
- name: pvmt - Temperatura gaz skraplacz
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "5b022078a0a8ff28") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="5b022078a0a8ff28")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_ds18b20_d1022078ba8fff28
- name: pvmt - Temperatura gaz sprężarka
- value_template: '{{ (value_json["18b20"]["ds18b20read"] | selectattr("s_ds18b20a", "==", "d1022078ba8fff28") | first)["s_ds18b20v"] }}'
- unit_of_measurement: '°C'
- device_class: temperature
- json_attributes_path: '$.18b20.ds18b20read[?(@.s_ds18b20a=="d1022078ba8fff28")]'
- json_attributes:
- - s_ds18b20t
- - s_ds18b20e
- - s_ds18b20n
- - unique_id: pvmt_pulse_0_impulsy
- name: pvmt - Pompy pow-pow - impulsy
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "0") | first)["em_Impulsy"] }}'
- unit_of_measurement: ''
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="0")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_pulse_0_p
- name: pvmt - Pompy pow-pow - moc
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "0") | first)["em_P"] }}'
- unit_of_measurement: 'W'
- device_class: power
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="0")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_pulse_0_kWh
- name: pvmt - Pompy pow-pow - energia
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "0") | first)["em_kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="0")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_pulse_1_impulsy
- name: pvmt - CWU - impulsy
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "1") | first)["em_Impulsy"] }}'
- unit_of_measurement: ''
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_pulse_1_p
- name: pvmt - CWU - moc
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "1") | first)["em_P"] }}'
- unit_of_measurement: 'W'
- device_class: power
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_pulse_1_kWh
- name: pvmt - CWU - energia
- value_template: '{{ (value_json["pulse"]["empulseread"] | selectattr("em_#", "==", "1") | first)["em_kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.pulse.empulseread[?(@["em_#"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_sum_zapotrzebowanie_energia
- name: pvmt - Zapotrzebowanie - energia
- value_template: '{{ (value_json["sum"]["emsumread"] | selectattr("em_Nazwa", "==", "Zapotrzebowanie") | first)["em_kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.sum.emsumread[?(@["em_Nazwa"]=="Zapotrzebowanie")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_sum_zapotrzebowanie_moc
- name: pvmt - Zapotrzebowanie - moc
- value_template: '{{ (value_json["sum"]["emsumread"] | selectattr("em_Nazwa", "==", "Zapotrzebowanie") | first)["em_P"] }}'
- unit_of_measurement: 'W'
- device_class: power
- json_attributes_path: '$.sum.emsumread[?(@["em_Nazwa"]=="Zapotrzebowanie")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_sum_autokonsumpcja_energia
- name: pvmt - Autokonsumpcja - energia
- value_template: '{{ (value_json["sum"]["emsumread"] | selectattr("em_Nazwa", "==", "Autokonsumpcja") | first)["em_kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.sum.emsumread[?(@["em_Nazwa"]=="Autokonsumpcja")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_sum_autokonsumpcja_moc
- name: pvmt - Autokonsumpcja - moc
- value_template: '{{ (value_json["sum"]["emsumread"] | selectattr("em_Nazwa", "==", "Autokonsumpcja") | first)["em_P"] }}'
- unit_of_measurement: 'W'
- device_class: power
- json_attributes_path: '$.sum.emsumread[?(@["em_Nazwa"]=="Autokonsumpcja")]'
- json_attributes:
- - em_Czas odczytu
- - unique_id: pvmt_rs485_foxess_napiecie_L1
- name: pvmt - FoxESS - napięcie L1
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_V L1"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_napiecie_L2
- name: pvmt - FoxESS - napięcie L2
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_V L2"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_napiecie_L3
- name: pvmt - FoxESS - napięcie L3
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_V L3"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_prad_L1
- name: pvmt - FoxESS - prąd L1
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_I L1"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_prad_L2
- name: pvmt - FoxESS - prąd L2
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_I L2"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_prad_L3
- name: pvmt - FoxESS - prąd L3
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_I L3"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_day_gen
- name: produkcja_dzienna
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_En day gen"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_foxess_gen
- name: produkcja_calkowita
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "1") | first)["em_En gen"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="1")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_napiecie_L1
- name: pvmt - Sdm630 - napięcie L1
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_V L1"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_napiecie_L2
- name: pvmt - Sdm630 - napięcie L2
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_V L2"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_napiecie_L3
- name: pvmt - Sdm630 - napięcie L3
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_V L3"] }}'
- unit_of_measurement: 'V'
- device_class: voltage
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_prad_L1
- name: pvmt - Sdm630 - prąd L1
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_I L1"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_prad_L2
- name: pvmt - Sdm630 - prąd L2
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_I L2"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_prad_L3
- name: pvmt - Sdm630 - prąd L3
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_I L3"] }}'
- unit_of_measurement: 'A'
- device_class: current
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_em_Imp
- name: zuzycie
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_Imp kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
- - unique_id: pvmt_rs485_sdm630_em_Exp
- name: eksport
- value_template: '{{ (value_json["rs485"]["emetersread"] | selectattr("em_Adres", "==", "2") | first)["em_Exp kWh"] }}'
- unit_of_measurement: 'kWh'
- device_class: energy
- json_attributes_path: '$.rs485.emetersread[?(@["em_Adres"]=="2")]'
- json_attributes:
- - em_Czas odczytu
- - em_Status
- - em_Błędy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement