Viewing ESP32 GPIO peripherals on ESPHome dashboard

Hi, newbie here. I’m just trying to test out setting up an ESP32 with a local dashboard, as I don’t currently have a spare pi to set up homeassistant on.

I set up a test switch and sensor, just to see how the dashboard/esp interaction works, but the problem is, that I’m not seeing anything on the dashboard? I suspect I’m missing something obvious, but following the tutorial and poking around has only got me this far.

switch:
  - platform: gpio
    id: test_switch
    name: "Test Switch"
    pin: 5

binary_sensor:
  - platform: gpio
    id: living_room_window
    name: "Living Room Window"
    pin:
      number: 16
      inverted: true
      mode:
        input: true
        pullup: true

they seem to be instantiating, but I don’t know how to make things appear on the dashboard! I need some sort of output?

[12:45:30][C][logger:278]:   Hardware UART: UART0
[12:45:30][C][switch.gpio:050]: GPIO Switch 'Test Switch'
[12:45:30][C][switch.gpio:051]:   Pin: GPIO5
[12:45:30][C][switch.gpio:073]:   Restore Mode: Restore (Defaults to OFF)
[12:45:30][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Living Room Window'
[12:45:30][C][gpio.binary_sensor:016]:   Pin: GPIO16

this is all I see though…

The peripheral components do not appear on the ESPHome dashboard. It is for programming the devices only.

ESPHone includes a web server that you could use.

1 Like

ah! Well at least I know I’m not going mad and it’s not broken. Thanks! I’ll give the web server a shot.