2024-06-08 20:11:43 +00:00
|
|
|
http_port: 3001
|
2024-06-08 19:45:32 +00:00
|
|
|
|
|
|
|
# The output of the command must be a JSON dict with metrics name as keys and metrics value as value.
|
|
|
|
polling_conf:
|
|
|
|
- name: teleinfo
|
|
|
|
metrics:
|
|
|
|
- name: Modane_elec_main_power
|
|
|
|
type: int
|
|
|
|
- name: Modane_elec_energy_index
|
|
|
|
type: int
|
|
|
|
executable: ./read_teleinfo.py
|
|
|
|
arguments:
|
|
|
|
- "-f"
|
|
|
|
- "custom_json"
|
|
|
|
# interval between sensors polling in seconds
|
|
|
|
polling_interval: 10.0
|
|
|
|
|
|
|
|
- name: Modane_temperature_single_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_single_bedroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_single_bedroom"
|
|
|
|
- "/26.3FA954020000/temperature"
|
|
|
|
|
|
|
|
- name: Modane_temperature_double_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_double_bedroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_double_bedroom"
|
|
|
|
- "/26.A6E96B020000/temperature"
|
|
|
|
|
|
|
|
- name: Modane_temperature_living_room
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_living_room
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_living_room"
|
|
|
|
- "/26.23D26B020000/temperature"
|
|
|
|
|
|
|
|
- name: Modane_temperature_bathroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_bathroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_bathroom"
|
|
|
|
- "/26.A4C354020000/temperature"
|
|
|
|
|
|
|
|
- name: Modane_temperature_cellar
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_cellar
|
|
|
|
type: float
|
|
|
|
executable: ./read_yocto_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_cellar"
|
|
|
|
- "YTemperature"
|
|
|
|
- "METEOMK1-65C96"
|
|
|
|
|
|
|
|
#- name: Modane_temperature_outside
|
|
|
|
# metrics:
|
|
|
|
# - name: Modane_temperature_outside
|
|
|
|
# type: float
|
|
|
|
|
|
|
|
- name: Modane_temperature_closet
|
|
|
|
metrics:
|
|
|
|
- name: Modane_temperature_closet
|
|
|
|
type: float
|
|
|
|
executable: ./read_yocto_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_temperature_closet"
|
|
|
|
- "YTemperature"
|
|
|
|
- "TMPSENS1-EDF2D"
|
|
|
|
|
|
|
|
- name: Modane_humidity_single_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_humidity_single_bedroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_humidity_single_bedroom"
|
|
|
|
- "/26.3FA954020000/humidity"
|
|
|
|
|
|
|
|
- name: Modane_humidity_double_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_humidity_double_bedroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_humidity_double_bedroom"
|
|
|
|
- "/26.A6E96B020000/humidity"
|
|
|
|
|
|
|
|
- name: Modane_humidity_bathroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_humidity_bathroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_humidity_bathroom"
|
|
|
|
- "/26.A4C354020000/humidity"
|
|
|
|
|
|
|
|
- name: Modane_humidity_living_room
|
|
|
|
metrics:
|
|
|
|
- name: Modane_humidity_living_room
|
|
|
|
type: float
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_humidity_living_room"
|
|
|
|
- "/26.23D26B020000/humidity"
|
|
|
|
|
|
|
|
- name: Modane_humidity_cellar
|
|
|
|
metrics:
|
|
|
|
- name: Modane_humidity_cellar
|
|
|
|
type: float
|
|
|
|
executable: ./read_yocto_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_humidity_cellar"
|
|
|
|
- "YHumidity"
|
|
|
|
- "METEOMK1-65C96"
|
|
|
|
|
|
|
|
#- name: Modane_humidity_outside
|
|
|
|
# metrics:
|
|
|
|
# - name: Modane_humidity_outside
|
|
|
|
# type: float
|
|
|
|
# executable: ./read_yocto_sensor.py
|
|
|
|
# arguments:
|
|
|
|
# - "Modane_humidity_outside"
|
|
|
|
# - "YHumidity"
|
|
|
|
# - ""
|
|
|
|
|
|
|
|
- name: Modane_luminosity_single_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_luminosity_single_bedroom
|
|
|
|
type: int
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_luminosity_single_bedroom"
|
|
|
|
- "/26.3FA954020000/vis"
|
|
|
|
|
|
|
|
- name: Modane_luminosity_double_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_luminosity_double_bedroom
|
|
|
|
type: int
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_luminosity_double_bedroom"
|
|
|
|
- "/26.A6E96B020000/vis"
|
|
|
|
|
|
|
|
- name: Modane_luminosity_bathroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_luminosity_bathroom
|
|
|
|
type: int
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_luminosity_bathroom"
|
|
|
|
- "/26.A4C354020000/vis"
|
|
|
|
|
|
|
|
- name: Modane_luminosity_living_room
|
|
|
|
metrics:
|
|
|
|
- name: Modane_luminosity_living_room
|
|
|
|
type: int
|
|
|
|
executable: ./read_one-wire_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_luminosity_living_room"
|
|
|
|
- "/26.23D26B020000/vis"
|
|
|
|
|
|
|
|
- name: Modane_pressure_cellar
|
|
|
|
metrics:
|
|
|
|
- name: Modane_pressure_cellar
|
|
|
|
type: float
|
|
|
|
executable: ./read_yocto_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_pressure_cellar"
|
|
|
|
- "YPressure"
|
|
|
|
- "METEOMK1-65C96"
|
|
|
|
|
|
|
|
- name: Modane_CO2_single_bedroom
|
|
|
|
metrics:
|
|
|
|
- name: Modane_CO2_single_bedroom
|
|
|
|
type: float
|
|
|
|
executable: ./read_yocto_sensor.py
|
|
|
|
arguments:
|
|
|
|
- "Modane_CO2_single_bedroom"
|
|
|
|
- "YCarbonDioxide"
|
|
|
|
- "any"
|
|
|
|
|
|
|
|
# Default interval between sending to record API in seconds
|
|
|
|
default_recording_interval: 600.0
|
|
|
|
|
|
|
|
# Default interval between sensors polling in seconds
|
|
|
|
default_polling_interval: 600.0
|
|
|
|
|
|
|
|
recording_api_key: "{{ modane_server_thermostat_api_key }}"
|
|
|
|
|
|
|
|
post_url:
|
|
|
|
int: "http://ovh1.scimetis.net:3001/integer_metric/add"
|
|
|
|
float: "http://ovh1.scimetis.net:3001/float_metric/add"
|