Open pspfreak opened 2 years ago
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.
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?
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.