Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple breezers with single esp32 board only #7

Open
facetheheat opened this issue Jan 26, 2023 · 11 comments
Open

Multiple breezers with single esp32 board only #7

facetheheat opened this issue Jan 26, 2023 · 11 comments
Labels
question Further information is requested

Comments

@facetheheat
Copy link

facetheheat commented Jan 26, 2023

👋 Hi there,
is it possible to control multiple breezers only with single board? It seems not supported by configuration yaml?

I've had a 4 x Tion Lite with externals CO2/Temp sensors. I would like to control they from one esp32.
Thanks!

Screenshot 2023-01-26 at 15 29 36

@facetheheat facetheheat changed the title Multiple breezers only with single esp32 board Multiple breezers with single esp32 board only Jan 26, 2023
@dentra
Copy link
Owner

dentra commented Jan 26, 2023

Yes, it is possible but maximum is 3. This is limitation of ESP framework.

This is sample configuration:

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    ...
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion2_ble_client
    ...

climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion 1"
    ...
  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion 2"
    ...

@facetheheat
Copy link
Author

Thank you so much.

@facetheheat
Copy link
Author

facetheheat commented Jan 28, 2023

Hi there, I'm trying to add config with 3 tion lite and got this issue:

% tion-lite.yaml

ble_client:
  - mac_address: DD:7C:AA:8D:99:17
    id: tion1_ble_client
  - mac_address: CO:F4:AO:DD:60:44
    id: tion2_ble_client
  - mac_address: FC:DA:40:F6:4B:CA
    id: tion4_ble_client

% esphome run tion-lite.yaml

INFO Reading configuration tion-lite.yaml...
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source .esphome/packages/6525b20a/packages/rssi_signal.yaml:2]
  platform: ble_rssi
  
  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: tion-controller RSSI
  filters: 
    throttle_average: 60s
  entity_category: diagnostic
ble_client: [source tion-lite.yaml:47]
  - mac_address: DD:7C:AA:8D:99:17
    id: tion1_ble_client
  - 
    MAC Address parts must be hexadecimal values from 00 to FF.
    mac_address: CO:F4:AO:DD:60:44
    id: tion2_ble_client
  - mac_address: FC:DA:40:F6:4B:CA
    id: tion4_ble_client

Is it expected "$tion_mac_address" in
https://github.com/dentra/esphome-tion/blob/master/packages/rssi_signal.yaml ?

@facetheheat facetheheat reopened this Jan 28, 2023
@facetheheat
Copy link
Author

If I switch only to 1 breezer, but changed config to custom id in ble_client:

ble_client:
  - mac_address: $tion_mac_address
    id: tion1_ble_client

vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client

I've got an error:
% esphome run tion-lite.yaml

INFO Reading configuration tion-lite.yaml...
Failed config

ota: [source .esphome/packages/6525b20a/packages/common.yaml:32]
  on_begin: 
    - then: 
        - 
          Couldn't find ID 'tion_ble_client'. Please check you have defined an ID with that name in your configuration. These IDs look similar: "tion1_ble_client", "tion1_ble_vport".
          lambda: !lambda |-
            id(tion_ble_client).set_enabled(false);
  safe_mode: True
  port: 3232
  reboot_timeout: 5min
  num_attempts: 10

@dentra
Copy link
Owner

dentra commented Feb 13, 2023

Please provide your config, I will edit it for you.

@facetheheat
Copy link
Author

facetheheat commented Feb 14, 2023

$ cat tion-lite-all.yaml

substitutions:
  # tion mac address.
  tion1_mac_address: DD:7C:AA:8D:99:17
  tion2_mac_address: C0:F4:A0:DD:60:44

  # name of the node.
  node_name: esp-tion-lite
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: esp32dev
  # wifi settings.
  wifi_ssid: "MyWiFI"
  wifi_password: "MyPassPass"

packages:
  ## Enable additional RSSI signal sensor. Comment next line to disable.
  rssi_signal: github://dentra/esphome-tion/packages/rssi_signal.yaml
  ## Enable additional WiFi signal sensor. Comment next line to disable.
  wifi_signal: github://dentra/esphome-tion/packages/wifi_signal.yaml
  ## Enable additional Uptime sensor. Comment next line to disable.
  uptime: github://dentra/esphome-tion/packages/uptime.yaml
  ## Uncomment next line to enable additional restart button.
  # restart: github://dentra/esphome-tion/packages/restart.yaml
  ## Uncomment next line to enable persistent connection runtime control switch.
  # persistent: github://dentra/esphome-tion/packages/persistent.yaml
  ## Uncomment next line to enable additional connect switch useful for debugging.
  # connect: github://dentra/esphome-tion/packages/connect.yaml
  ## Uncomment next line to enable additional debug information.
  # debug: github://dentra/esphome-tion/packages/debug.yaml
  ## Uncomment next line to if you wish to compile via ESP IDF.
  # idf: github://dentra/esphome-tion/packages/idf.yaml
  # Common configuration parameters. Do not comment or remove!
  common: github://dentra/esphome-tion/packages/common.yaml

# WiFi hotspot configuration.
# Comment next 3 lines to enable manual WiFi conviguration via access point.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false


# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite 1"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite 2"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

$ esphome run tion-lite-all.yaml

INFO Reading configuration tion-lite-all.yaml...
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source .esphome/packages/6525b20a/packages/rssi_signal.yaml:2]
  platform: ble_rssi
  
  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: esp-tion-lite RSSI
  filters: 
    throttle_average: 60s
  entity_category: diagnostic

@dentra
Copy link
Owner

dentra commented Feb 28, 2023

Sorry for a long delay for answer:

substitutions:
  # tion mac address.
  tion1_mac_address: DD:7C:AA:8D:99:17
  tion2_mac_address: C0:F4:A0:DD:60:44

  # name of the node.
  node_name: esp-tion-lite
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: esp32dev
  # wifi settings.
  wifi_ssid: "MyWiFI"
  wifi_password: "MyPassPass"

  # framework settings: esp-idf or arduino
  framework_type: arduino

  tion_version: 2022.10.1

esphome:
  name: $node_name
  name_add_mac_suffix: $node_add_mac_suffix
  project:
    name: "dentra.tion"
    version: "$tion_version ($framework_type)"
  min_version: 2022.12.8

esp32:
  board: $board
  framework:
    type: $framework_type

preferences:
  flash_write_interval: 10min

# WiFi hotspot configuration.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password
  ap:
    ssid: "$name Fallback Hotspot"

api:
ota:
logger:

esp32_ble_tracker:

external_components:
  - source: github://dentra/[email protected]
    components: [crash_info, etl, otax, vport, esp32_usb_dis]
  - source: github://dentra/esphome-tion@$tion_version

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite 1"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite 2"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

@nmusatov
Copy link

@facetheheat, have you successfully used provided config ?
@dentra, tried to use it for my two tions lite, but it looks like some bluetooth data transfer issues ("packet count mismatch ") occurs when I try to connect two devices simultanesously (please see logs attached).
Config with only one device works like a charm, but it would be great if it possible to use only one esp32 to control two devices.

logs.txt

@nmusatov
Copy link

nmusatov commented Mar 30, 2023

substitutions:
  # tion mac address.
  tion1_mac_address: <mac1>
  tion2_mac_address: <mac2>

  # name of the node.
  node_name: esp-tion-lite-atom
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: m5stack-atom
  # wifi settings.
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  # framework settings: esp-idf or arduino
  framework_type: esp-idf

  tion_version: 2022.10.1

esphome:
  name: $node_name
  name_add_mac_suffix: $node_add_mac_suffix
  project:
    name: "dentra.tion"
    version: "$tion_version ($framework_type)"
  min_version: 2022.12.8

esp32:
  board: $board
  framework:
    type: $framework_type

preferences:
  flash_write_interval: 10min

# WiFi hotspot configuration.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password
  manual_ip:
    static_ip: 192.168.249.42
    gateway: 192.168.249.1
    subnet: 255.255.255.0
    dns1: 192.168.249.1
    dns2: 1.1.1.1


ota:
logger:

esp32_ble_tracker:

external_components:
  - source: github://dentra/[email protected]
    components: [crash_info, etl, otax, vport, esp32_usb_dis]
  - source: github://dentra/esphome-tion@$tion_version

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite Bedroom"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite Childroom"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

@facetheheat
Copy link
Author

facetheheat commented Mar 30, 2023

Hi Nikolay, I ended up choosing separate devices for each breezer. For me it would be more convenient to have 1 esp for 1 breezer.

@facetheheat, have you successfully used provided config ?

@dentra dentra added the question Further information is requested label Jan 18, 2024
@standby-cappuccino
Copy link

standby-cappuccino commented Oct 8, 2024

I'am trying to add 3 breezers but I cannot validate .yaml
Here is my yaml:
3_breezers.txt

During validation, I'm getting this error:

INFO ESPHome 2024.9.2
INFO Reading configuration /config/tionlite.yaml...
WARNING Found '$tion_mac_address' (see sensor->1->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->1->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source /config/.esphome/packages/87dfe8f6/packages/rssi_signal.yaml:2]
  platform: ble_rssi
  id: tion_ble_rssi
  
  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: RSSI
  filters: 
    throttle_average: 60s
  entity_category: diagnostic

If I comment packages/rssi_signal.yaml
I get this:

  INFO ESPHome 2024.9.2
INFO Reading configuration /config/tionlite.yaml...
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

ble_client: [source /config/.esphome/packages/87dfe8f6/packages/esp32_ble.yaml:20]
  - 
    MAC Address must consist of 6 : (colon) separated parts.
    mac_address: $tion_mac_address
    id: tion_ble_client
  - mac_address: CD:XF:88:XE:74:X6
    id: tion1_ble_client
  - mac_address: F4:X7:D2:X3:91:XF
    id: tion2_ble_client
  - mac_address: F9:1X:87:XE:97:XA
    id: tion3_ble_client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants