-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable / disable button at startup #20
Comments
Hi, You could setup a script that turns some appliances on after you start webgpio. How are you running it currently? |
Actually I am working on a RPi and some relay; I have stuff that needs to be open and others closed but I don't want that to be done on the relay as i want everything up as a green button and down as a red button. Button color is ok but I need those to be activeted or not at startup, I think I will have a look at the yml as for me it's the easyest impelmentation for next use. |
Was this ever solved? I'm having the same issue. I need to have a single WebGPIO config that uses GPIO.LOW for a few pins but GPIO.HIGH for another. I tried setting "ActiveState: 0" but it doesn't seem to do anything. |
Please excuse my ignorance. I ended up spending about 30 minutes in the code and figured out "Inverted: 1" behaved like I wanted it to. I thought ActiveState was something you could set in config.yml but I don't think it is. |
Hi,
i am looking to enable or disable buttons at startup depending of my needs.
i tried to add ActiveState: 1 or ActiveState: 0 as Inverted: True or Inverted: False in the config.yml in the Appliance description depending of the GPIOSetup.py but It doesn't work :/
Is that implemented or I am doing thinks wrong ?
Regards
The text was updated successfully, but these errors were encountered: