Hass.io GPIO problems


#1

Hi,

Totally new on Hass.io and is trying to control GPIOs on a Raspberri Pi 2 B+ from Hass.io Home assistant.

I configured all GPIO in configuration.yaml as follows:

#GPIO
switch:

  • platform: rpi_gpio
    ports:
    26: PIN 37 LED
    19: PIN 35 LED
    13: PIN 33 LED
    6: PIN 31 LED
    5: PIN 29 LED
    21: PIN 40 LED
    20: PIN 38 LED
    16: PIN 36 LED

binary_sensor:

  • platform: rpi_gpio
    ports:

    Tryckknappen

    12: PIN 32
    pull_mode: UP

it worked for a short time then i stopped working

I’m not sure how to proceed, spent a few nights already :slight_smile:

Thanks in advance