Hi all. I am struggling to run a python script that will switch my gpio ports on for 1 second.
I get error on the first line of code import RPi.GPIO as GPIO
I am using this solution on my rPi3B and works fine. I wanted to integrate and automate.
So I installed hassio to run the code with ifttt and so on…
I can use following code in configuration:
- platform: rpi_gpio
BUT it has main limitation for me that the gpio will stay on.
Can anyone help me please?