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

Feed button does nothing #24

Open
pspfreak opened this issue Jan 31, 2022 · 2 comments
Open

Feed button does nothing #24

pspfreak opened this issue Jan 31, 2022 · 2 comments

Comments

@pspfreak
Copy link

I have started my container with the following:

docker run -d --restart always --privileged -v /etc/localtime:/etc/localtime -v /opt/petfeedd.db:/petfeedd/petfeedd.db -v /etc/petfeedd.conf:/petfeedd/petfeedd.conf -p 0.0.0.0:8080:8080 -p 0.0.0.0:11211:11211 peckrob/petfeedd-arm32v6

I have placed petfeedd.conf in the folder and per the logs it seems to be seeing the config. Despite this, setting my GPIO pin to 27, nothing happens when clicking feed now. I have verified I can manually trigger this pin outside of petfeedd.

Config file found at ./petfeedd.conf
Parsing configuration.
petfeedd 2022-01-30 23:19:26,410 (INFO): Logging enabled.
petfeedd 2022-01-30 23:19:26,482 (INFO): Starting web worker.
petfeedd 2022-01-30 23:19:26,500 (INFO): Starting time worker.
petfeedd 2022-01-30 23:19:26,528 (INFO): Starting notification worker.
petfeedd 2022-01-30 23:19:26,551 (INFO): Starting feed worker.
petfeedd 2022-01-30 23:19:26,570 (INFO): Starting auto discovery worker.

If it means anything, I'm running on a pi zero w.

@rebeccathedev
Copy link
Owner

I know it's been a few months since this was opened, but Version 1.0 is now available which is a complete, ground-up rewrite of petfeedd. Version 1.0 explicitly includes support for using "Raw" devices now. Feel free to pull from peckrob/petfeedd:latest and see if that fixes things.

@pspfreak
Copy link
Author

pspfreak commented Feb 10, 2023

Hi there, I got around to trying this out, and it is working with raw! My only issue now is I set up a GPIO? button in the configuration, but when I press the button the web interface just ends up hanging. It looks like when I originally made my python script I set the pin to pull down, could this be the issue? Do I need to pull the button to ground or 3.3v?

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

2 participants