Skip to content
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

Saving HA Config Overwrites GPIO Settings #23

Open
kevinsaucier opened this issue Mar 19, 2024 · 0 comments
Open

Saving HA Config Overwrites GPIO Settings #23

kevinsaucier opened this issue Mar 19, 2024 · 0 comments

Comments

@kevinsaucier
Copy link

kevinsaucier commented Mar 19, 2024

FPP 7.5 and the latest HA Plugin Update

Configuring a binary sensor in the HA Plugin automatically configures a GPIO pin with the 'proper' settings but, if those settings need to be tweaked, FPP overwrites the settings with every save of the HA config.

Example:

I have a momentary button wired to GPIO PIN 8 with the other side of the button to Ground. I created this in the HA plugin and it automatically populated the settings into the GPIO page's fields using None/External as the type and On on the Rising Edge and Off on the Falling Edge. I admit I am no expert here, but I've found I need the pin set to Pull Up with Off on the Rising Edge and On on the Falling Edge, in order for the sensor created in HA to reflect On/Off when the button is pushed.

I can change the settings and everything works as expected, but the settings get overwritten every time I save the HA Config. Of course, HA has no idea how I have my button configured so I get why it's doing what it's doing, but it's still not ideal. Maybe it needs an 'Overwrite?' checkbox or something when saving the HA page. 🤷‍♂️ Not sure what the best option here is, but I don't love the current one. 😁

HA Config:

image

HA GPIO Config (this causes the button to report on/off repeatedly)

image

Working:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant