Skip to content

Commit

Permalink
Uploaded alfa manual configs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelprete committed Feb 7, 2024
1 parent da5831d commit d2de8c5
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 0 deletions.
Binary file removed doc/SunSpec_PICS-ABB-TRIO-50.0-TL-OUTD.xlsx
Binary file not shown.
Binary file removed doc/SunSpec_REACT2_PICS_Rev_003.xlsx
Binary file not shown.
Binary file removed doc/SunSpec_VSN300register_map.xlsx
Binary file not shown.
135 changes: 135 additions & 0 deletions doc/alfa-ha-modbus-configuration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
modbus:
- name: Alfa
type: tcp
host: <AlfaIP>
port: 502
sensors:
- name: Potenza Attiva Prelevata Istantanea
device_class: power
unit_of_measurement: W
state_class: measurement
data_type: uint16
address: 2
- name: Potenza Attiva Immessa Istantanea
device_class: power
unit_of_measurement: W
state_class: measurement
data_type: uint16
address: 12
- name: Potenza Attiva Prodotta Istantanea
device_class: power
unit_of_measurement: W
state_class: measurement
data_type: uint16
address: 921
- name: Energia Attiva Prelevata Totale
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 5
- name: Energia Attiva Immessa Totale
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 15
- name: Energia Attiva Prodotta Totale
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 924
- name: Pot Att Prel Quart Media
device_class: power
unit_of_measurement: W
state_class: measurement
data_type: uint16
address: 9
- name: Pot Att Imm Quart Media
device_class: power
unit_of_measurement: W
state_class: measurement
data_type: uint16
address: 19
- name: Tot Energ Att Prel Giorno-1 F1
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 30
- name: Tot Energ Att Prel Giorno-1 F2
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 32
- name: Tot Energ Att Prel Giorno-1 F3
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 34
- name: Tot Energ Att Prel Giorno-1 F4
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 36
- name: Tot Energ Att Prel Giorno-1 F5
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 38
- name: Tot Energ Att Prel Giorno-1 F6
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 40
- name: Tot Energ Att Imm Giorno-1 F1
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 54
- name: Tot Energ Att Imm Giorno-1 F2
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 56
- name: Tot Energ Att Imm Giorno-1 F3
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 58
- name: Tot Energ Att Imm Giorno-1 F4
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 60
- name: Tot Energ Att Imm Giorno-1 F5
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 62
- name: Tot Energ Att Imm Giorno-1 F6
device_class: energy
unit_of_measurement: Wh
state_class: total_increasing
data_type: uint32
address: 64
- name: Fascia oraria corrente
data_type: uint16
address: 203
- name: Data evento
data_type: uint32
address: 780
- name: Tempo residuo distacco
data_type: uint16
address: 782
9 changes: 9 additions & 0 deletions doc/distacco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
sensor:
- platform: template
sensors:
distacco:
friendly_name: "Avviso distacco"
value_template: >
{% if (states('sensor.data_evento') | int ) > 4294967294 %} Nessun avviso
{% else %} {{ (states('sensor.data_evento') | int + (states('sensor.tempo_residuo_distacco') | int)) | timestamp_local }}
{% endif %}

0 comments on commit d2de8c5

Please sign in to comment.