Hello I installed hass.io on my Raspberry Pi 3 using the 32-bit version 2.10 image. I have successfully gotten it to work and control zwave devices with a Zwave usb dongle I bought.
Next, I would like to control a buzzer lock with a relay controlled by the gpio pins on the raspberry pi. I am trying to follow the documentation at https://www.home-assistant.io/components/rpi_gpio/ I have added entries to my configuration.yaml file and restarted the system, but none of my custom defined gpio switches appear in the web ui. All my zwave switches appear and work fine. Is there something else I need to do to get the switches to appear in the web ui?
What I really want to do is have a button in my web UI that would activate a gpio pin for 3 seconds and then shut off. This would activate a buzzer lock and give you 3 seconds to push open the door before it unlocks. It seems the “cover” option has a relay_time that could do this, although I have no need for a state_pin so just picked a dummy pin.
This is currently what my configuration.yaml looks like. I tried to create a dummy rpio switch as a test too. But I just can’t seem to get anything to show up in the web ui with this configuration.
homeassistant: # Name of the location where Home Assistant is running name: Home # Location required to calculate the time the sun rises and sets latitude: 42.0738 longitude: -80.1484 # Impacts weather/sunrise data (altitude above sea level in meters) elevation: 0 # metric for Metric, imperial for Imperial unit_system: imperial time_zone: America/New_York # Customization file customize: !include customize.yaml # Configure a default setup of Home Assistant (frontend, api, etc) default_config: # Uncomment this if you are using SSL/TLS, running in Docker container, etc. #http: # base_url: hassio:8123 api: # Sensors sensor: # Weather prediction - platform: yr # Text to speech tts: - platform: google_translate service_name: google_say group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml rpi_gpio: switch: - platform: rpi_gpio ports: 13: GPIOTestSwitch cover: - platform: rpi_gpio relay_time: 3.1 invert_relay: false state_pull_mode: 'UP' invert_state: true covers: - relay_pin: 11 state_pin: 12 name: 'Buzzer Lock'