Closed titof2375 closed 7 months ago
@titof2375: Yes it's possible. You can use any homeassistant Sensors for temperature and the thermostat to regulate the temperature as an add-on in esphome. Here is my working config with home assistant sensor reading "sensor.meter_og_temperature": (Sorry for the formatting of the comments all '#' lead to bold)
`substitutions: esp32_name: "esphome-klimaanlage" device_description: "M5-Atom Stack mit RS485 Interface"
esphome: name: ${esp32_name} comment: ${device_description}
external_components:
esp32: board: m5stack-atom framework: type: esp-idf version: recommended
uart: tx_pin: GPIO19 rx_pin: GPIO22 baud_rate: 9600 parity: EVEN
logger: level: DEBUG
api: encryption: key: !secret ha_key reboot_timeout: 60s
ota: password: !secret ota_key safe_mode: true num_attempts: 1
wifi: ssid: !secret iot_ssid password: !secret iot_password domain: .iot.local reboot_timeout: 5min ap: ssid: "Klimaanlage Fallback Hotspot" password: !secret wifi_ap_password
esp32_ble_tracker: scan_parameters: interval: 1100ms window: 1100ms active: true
bluetooth_proxy: active: true
sensor:
platform: homeassistant id: TemperaturOG accuracy_decimals: 1 entity_id: sensor.meter_og_temperature
platform: homeassistant id: SollwertOG2 accuracy_decimals: 1 entity_id: input_number.heizung_sollwert_og2
switch:
button:
samsung_ac: debug_log_messages: false # logs all messages - only for debugging debug_log_messages_raw: false # logs the raw message bytes from all messages - only for debugging
devices:
address: "20.00.00" # for non NASA it sould be like "c4"
climate: name: "ESP32 mit RS485 Verbindung zur Klimaanlage" id: klima visual: min_temperature: 16 °C max_temperature: 26 °C temperature_step: 0.1 °C
room_temperature: name: Klima_Ist_Temperatur target_temperature: name: Klima_Soll_Temperatur power: name: Klima_power mode: name: Klima_mode
room_humidity: name: Klima_Luftfeuchtigkeit
climate: #https://esphome.io/components/climate/climate_ir.html?highlight=ir
#return id(SollwertOG2).state;
#ESP_LOGI("main", "Value of my sensor: %f", id(SollwertOG2).state);
cool_action:
Are these the sensors that you declare for the Samsung AC air conditioning driver?
Yes, the first one is a temperature sensor, the second one is meant to be the setpoint value, but not used yet.
so the samsung air conditioning takes the temperature from the sensor.meter_og_temperature probe
not directly - the thermostat takes the temperature and regulates the samsung hvac. (connected by the id: klima) At least the behavior is the same.
Hello, can we tell the air conditioning to regulate the temperature in relation to another temperature sensor than the one in the air conditioning?