voici le evse.yaml, pas encore en MQTT ni nodered :
modbus:
- name: evse
type: tcp
host: 192.168.1.52
port: 8899
sensors: !include evse_sensors.yaml
template:
number: !include evse_template_number.yaml
sensor: !include evse_template_sensor.yaml
# select: !include evse_template_select.yaml
voici le evse_sensors.yaml
- name: live CT sur le général
unit_of_measurement: A
address: 146
slave: 255
scan_interval: 1
precision: 2
scale: 0.0172
unique_id: EVSE live CT DLB
- name: EVSE live PWM out
unit_of_measurement: A
address: 152
slave: 255
scan_interval: 1
scale: 0.006
unique_id: EVSE live PWM out %
- name: EVSE max DLB
unit_of_measurement: A
address: 102
slave: 255
data_type: uint16
scale: 0.01
scan_interval: 1
input_type: holding
unique_id: evse2_max_dlb
- name: EVSE max PWM
address: 109
slave: 255
scale: 0.006
precision: 0
data_type: uint16
input_type: holding
unique_id: evse2_max_pwm
- name: EVSE consigne rotary
unit_of_measurement: A
address: 151
device_address: 255
scale: 0.006
precision: 0
unique_id: EVSE consigne rotary
- name: EVSE status
address: 141
device_address: 255
unique_id: EVSE status
- name: EVSE PWM value cable gauge
unit_of_measurement: A
address: 142
device_address: 255
scale: 0.006
precision: 0
unique_id: EVSE PWM value cable gauge
- name: EVSE DLB max startup
unit_of_measurement: A
address: 101
device_address: 255
data_type: uint16
input_type: holding
precision: 0
scale: 0.01
unique_id: EVSE max startup
- name: EVSE max CT Current
unit_of_measurement: A
address: 103
device_address: 255
data_type: uint16
input_type: holding
scale: 0.01
precision: 0
unique_id: EVSE max CT Current
- name: EVSE sampling calibration coef
address: 104
device_address: 255
data_type: uint16
precision: 0
input_type: holding
unique_id: EVSE sampling calibration coef
# - name: EVSE live Calibration AD ref
# address: 150
# device_address: 255
# unique_id: EVSE live Calibration AD ref
- name: EVSE DLB on
address: 114
device_address: 255
unique_id: evse_dlb_on
modbus:
- name: evse
type: tcp
host: 192.168.1.52
port: 8899
sensors: !include evse_sensors.yaml
template:
number: !include evse_template_number.yaml
sensor: !include evse_template_sensor.yaml
# select: !include evse_template_select.yaml
voici le evse_sensors.yaml
- name: live CT sur le général
unit_of_measurement: A
address: 146
slave: 255
scan_interval: 1
precision: 2
scale: 0.0172
unique_id: EVSE live CT DLB
- name: EVSE live PWM out
unit_of_measurement: A
address: 152
slave: 255
scan_interval: 1
scale: 0.006
unique_id: EVSE live PWM out %
- name: EVSE max DLB
unit_of_measurement: A
address: 102
slave: 255
data_type: uint16
scale: 0.01
scan_interval: 1
input_type: holding
unique_id: evse2_max_dlb
- name: EVSE max PWM
address: 109
slave: 255
scale: 0.006
precision: 0
data_type: uint16
input_type: holding
unique_id: evse2_max_pwm
- name: EVSE consigne rotary
unit_of_measurement: A
address: 151
device_address: 255
scale: 0.006
precision: 0
unique_id: EVSE consigne rotary
- name: EVSE status
address: 141
device_address: 255
unique_id: EVSE status
- name: EVSE PWM value cable gauge
unit_of_measurement: A
address: 142
device_address: 255
scale: 0.006
precision: 0
unique_id: EVSE PWM value cable gauge
- name: EVSE DLB max startup
unit_of_measurement: A
address: 101
device_address: 255
data_type: uint16
input_type: holding
precision: 0
scale: 0.01
unique_id: EVSE max startup
- name: EVSE max CT Current
unit_of_measurement: A
address: 103
device_address: 255
data_type: uint16
input_type: holding
scale: 0.01
precision: 0
unique_id: EVSE max CT Current
- name: EVSE sampling calibration coef
address: 104
device_address: 255
data_type: uint16
precision: 0
input_type: holding
unique_id: EVSE sampling calibration coef
# - name: EVSE live Calibration AD ref
# address: 150
# device_address: 255
# unique_id: EVSE live Calibration AD ref
- name: EVSE DLB on
address: 114
device_address: 255
unique_id: evse_dlb_on