Adds config files for mmWave and temperature sensors
This commit is contained in:
44
ESPHome/temp.yaml
Normal file
44
ESPHome/temp.yaml
Normal 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);
|
||||
Reference in New Issue
Block a user