Try powering the RPI zero and Arduino UNO with separate power sources and see what happens.
I will get a power adaptor and try powering separately. Thanks for the quick reply
@Bigdaddyale
Separate power is a good way to go - but let's talk about how to debug what's happening.
If you are on a current-ish version, the WiFi script will log to stderr.txt if it has trouble connecting. I'd also be interested to see if you can ping by name and/or IP address when it does go away.
Does it continue to log data while it's not responding to you?
You can also check the daemon log with "journalctl -u brewpi" and see if anything interesting lies there.
Dumb question: where is stderr.txt located? How would I check that file when the rpi inevitably goes offline again?
This is what is in the current stderr.txt log:
2021-03-13 11:42:51 [E] Starting BrewPi.
2021-03-14 12:07:01 [E] Starting BrewPi.
2021-03-15 12:26:03 [E] Starting BrewPi.
I will try to ping by name/IP when it goes offline again.
When the rpi is unresponsive would you expect it to log data to stderr.txt or somewhere else?
I checked the daemon log and here is what was available:
-- Logs begin at Mon 2021-03-15 12:17:01 EDT, end at Mon 2021-03-15 13:28:41 EDT
Mar 15 12:17:33 brewpi systemd[1]: Started BrewPi Remix daemon for: brewpi.
Mar 15 12:25:47 brewpi brewpi[436]: No user config file found:
Mar 15 12:25:47 brewpi brewpi[436]: /home/brewpi/settings/config.cfg
Mar 15 12:25:47 brewpi brewpi[436]: Using default configuration.
Mar 15 12:25:48 brewpi brewpi[436]: No user config file found:
Mar 15 12:25:48 brewpi brewpi[436]: /home/brewpi/settings/config.cfg
Mar 15 12:25:48 brewpi brewpi[436]: Using default configuration.
Mar 15 12:25:48 brewpi brewpi[436]: No user config file found:
Mar 15 12:25:48 brewpi brewpi[436]: /home/brewpi/settings/config.cfg
Mar 15 12:25:48 brewpi brewpi[436]: Using default configuration.
Mar 15 12:26:00 brewpi brewpi[436]: 2021-03-15 12:26:00 [N] No user config file
Mar 15 12:26:00 brewpi brewpi[436]: 2021-03-15 12:26:00 [N] /home/brewpi/setting
Mar 15 12:26:00 brewpi brewpi[436]: 2021-03-15 12:26:00 [N] Using default config
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] No user config file
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] /home/brewpi/setting
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] Using default config
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] No user config file
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] /home/brewpi/setting
Mar 15 12:26:01 brewpi brewpi[436]: 2021-03-15 12:26:01 [N] Using default config
Mar 15 12:26:03 brewpi brewpi[436]: Logging to /home/brewpi/logs/.
Mar 15 12:26:03 brewpi brewpi[436]: Output will not be shown in console.
Mar 15 12:26:03 brewpi brewpi[436]: Starting BrewPi.
Thanks for the quick reply!