Adds config files for mmWave and temperature sensors

This commit is contained in:
LoermansA
2025-01-18 11:41:29 +01:00
parent 4e9ac01a7b
commit 970bc683c9
2 changed files with 158 additions and 0 deletions

44
ESPHome/temp.yaml Normal file
View File

@@ -0,0 +1,44 @@
esphome:
name: livingroom_temp
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: G/bagvG+KxSnRalMoU3JHVbHyQboABEPoCGu4Wd48so=
ota:
- platform: esphome
password: !secret ota_password # "esp_admin"
mqtt:
broker: !secret mqtt_broker_ip
username: !secret mqtt_username
password: !secret mqtt_password
# post values to the DIYLess thermostat topic
# topic_prefix: diyless_thermostat/cmnd/things/thermostat/properties/temperature
one_wire:
- platform: gpio
pin: D4
sensor:
- platform: dallas_temp
update_interval: 30s
name: "temperatuur"
id: wemos_temp_woonkamer
address: "0xae3c2df649900c28"
on_value:
then:
- mqtt.publish:
topic: diyless_thermostat/cmnd/things/thermostat/properties/temperature
payload: !lambda |-
return to_string(id(wemos_temp_woonkamer).state);