Hi everybody,
I tried setting up Host Platform, but it doesn’t seem to do anything. Below is my config as well as the debug log.
esphome:
name: hosttest
friendly_name: HOSTTEST
area: Arbeitszimmer
# Example configuration entry
host:
button:
- platform: template
name: Testbutton
on_press:
then:
- logger.log: Button Pressed
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret encryption_key
I ran this on my desktop via esphome run hosttest.yaml
.
INFO Successfully compiled program.
DEBUG Running: /mnt/hass/esphome/.esphome/build/hosttest/.pioenvs/hosttest/program
[13:06:58][I][app:029]: Running through setup()...
[13:06:58][C][api:026]: Setting up Home Assistant API server...
[13:06:58][I][app:062]: setup() finished successfully!
[13:06:58][W][component:157]: Component api set Warning flag: unspecified
[13:06:58][I][app:100]: ESPHome version 2024.10.3 compiled on Nov 15 2024, 13:06:47
[13:06:58][C][logger:185]: Logger:
[13:06:58][C][logger:186]: Level: DEBUG
[13:06:58][C][mdns:116]: mDNS:
[13:06:58][C][mdns:117]: Hostname: hosttest
[13:06:58][C][api:140]: API Server:
[13:06:58][C][api:141]: Address: :6053
[13:06:58][C][api:143]: Using noise encryption: YES
That’s it. There will be no further output.
My host computer is on the same network as Home Assistant. I made sure to disable my firewall, in case it interfered with this. No difference. I ran esphome clean hosttest.yaml
in between tries.
Perhaps this is related to the API component, but unspecified
doesn’t help me much. Have any of you successfully gotten this to run?
Thanks in advance