Skip to content

Latest commit

 

History

History
 
 

configuration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Configuration

tydom2mqtt can be configured using environment variables.

Environment variables

Please note that only one of DELTADORE_LOGIN + DELTADORE_PASSWORD or TYDOM_PASSWORD is needed as your Delta Dore account is used to retrieve the Tydom password

Environment variable Required Supported values Default value when missing
TYDOM_MAC 🔴 Tydom MAC address (starting with 001A...)
DELTADORE_LOGIN 🔴 Delta Dore account login
DELTADORE_PASSWORD 🔴 Delta Dore account password
TYDOM_PASSWORD 🔴 Tydom password
TYDOM_IP Tydom IPv4 address or FQDN mediation.tydom.com
TYDOM_POLLING_INTERVAL Tydom polling interval (in second) for devices need polling (like Tywatt) 300
TYDOM_ALARM_PIN Tydom Alarm PIN None
TYDOM_ALARM_HOME_ZONE Tydom alarm home zone 1
TYDOM_ALARM_NIGHT_ZONE Tydom alarm night zone 2
MQTT_HOST Mqtt broker IPv4 or FQDN localhost
MQTT_PORT Mqtt broker port 1883
MQTT_USER Mqtt broker user if authentication is enabled None
MQTT_PASSWORD Mqtt broker password if authentication is enabled None
MQTT_SSL Mqtt broker ssl enabled false
LOG_LEVEL Log level (DEBUG, INFO, WARNING, ERROR) ERROR
THERMOSTAT_CUSTOM_PRESETS Set custom Presets for THERMOSTATS like 4890
Format : { 'preset': 'temp'}
Example { 'ECO' : '17' }
THERMOSTAT_COOL_MODE_TEMP_DEFAULT Default temperature when switching to cooling mode 26
THERMOSTAT_HEAT_MODE_TEMP_DEFAULT Default temperature when switching to heating mode 16

Complete example

Docker Compose

version: '3'

services:
  tydom2mqtt:
    image: fmartinou/tydom2mqtt
    container_name: tydom2mqtt
    environment:
      - TYDOM_MAC=001A25XXXXXX
      - TYDOM_PASSWORD=azerty123456789
      - TYDOM_IP=192.168.1.33

Docker

docker run -d --name tydom2mqtt \
  -e TYDOM_MAC="001A25XXXXXX" \
  -e TYDOM_PASSWORD="azerty123456789" \
  -e TYDOM_IP="192.168.1.33" \  
  fmartinou/tydom2mqtt

THERMOSTAT_CUSTOM_PRESETS property

Why this configuration property?

Delta Dore sells underfloor heating devices to other brands (Thermor...); for example this one.
These sensors are controlled from an offline Thermostat but can also be controlled from Tydom using the X3D radio protocol.
The problem is that these sensors don't have presets built-in on their own.
It's on the controller end to manage and set presets if needed; that's the purpose of this configuration property.

How to use

Set the environment variables THERMOSTAT_CUSTOM_PRESETS with a JSON map of compatible presets among "STOP", "ANTI_FROST", "ECO", "COMFORT", "AUTO"

Example

Docker Compose

version: '3'

services:
  tydom2mqtt:
    image: fmartinou/tydom2mqtt
    environment:
      - THERMOSTAT_CUSTOM_PRESETS='{"ECO": "17", "COMFORT": "20"}'
    ...

Docker

docker run -d --name tydom2mqtt \
  ...
  -e THERMOSTAT_CUSTOM_PRESETS='{"ECO": "17", "COMFORT": "20"}'
  fmartinou/tydom2mqtt