Barry_Duffman
Member
No worries. You keep something going for free that appeals to a small set of a small community. Thank you for everything you do for us and I look forward to hacking into a chest freezer this weekend!
Thankyou for the replies. Im not sure whats going on. I ran the clear eprom empty code program from the IDE. Then uploaded brewpi again, no change. I also read post suggesting a reset immediately prior to upload, which also didnt work. I tried the combination of the two, no change. About to give up I powered off the board yet again and re-downloaded. This time it worked and I can now update the devices. I didnt do anything different I aware of.
I wish I knew what fixed it, all I can say is it wasnt as simple as clearing eprom and re-downloading. I do dislike fixes that I dont understand, but the beer produced thereafter will help me forget.
Thanks again for the help, indirectly it did fix the problem. Whatever it was lol
I had a look, and this is not the one I thought it was. This is more than likely just a transitory issue negotiating SSL. You should try it again.while installing using the automated installation I encountered the following error.
Clear any adjustments and let it run a day or so with the same thermal mass and see what happens. Yes, PID stands for "tempted end user to make bad mistakes." In the original Russian of course.It did occur to me it may need more time to adjust. I couldnt find any info on that. But then I notice that the overshoots no longer appear to be chaning in magnitude.
Its at this point I recall reading one of the common causes for bad PID tuning - modifying params without fully understanding them all!
So uninstall using option 1 automated installer or reformat the SD card, use the imager, then use automated installer?I had a look, and this is not the one I thought it was. This is more than likely just a transitory issue negotiating SSL. You should try it again.
We no longer have to sacrifice a virgin DIMM to the Bit Gods, while facing Silicon Valley, while reciting from Peter Norton’s Inside the IBM PC??!!The uninstaller will get you to where the installer will run again. Your choice really.
YOU do.We no longer have to sacrifice a virgin DIMM to the Bit Gods, while facing Silicon Valley, while reciting from Peter Norton’s Inside the IBM PC??!!
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
numpy~=1.26.2 from https://www.piwheels.org/simple/num...9f58865068410ff7a9e6bc37555c7600f1f608d7872fc (from -r /home/brewpi/requirements.txt (line 8)):
Expected sha256 81a37a6d46f316f63b79f58865068410ff7a9e6bc37555c7600f1f608d7872fc
Got 8d2fae391c40a02ce02433a4971b7defb368498251afe25ebd737e29909acc9a
Clear any adjustments and let it run a day or so with the same thermal mass and see what happens. Yes, PID stands for "tempted end user to make bad mistakes." In the original Russian of course.
"Integrator: maximum temp error °C - The integral is only active when the temperature is close to the target temperature. This is the maximum error for which the integral is active."
Freaking numpy.So now I'm getting a different error consistently for the last three install attempts. From what I could glean from Google searches piwheels numpy is received but not authenticated by the automated install. Maybe there is a new version of numpy but I'm just guessing and reading about it though educational for the last 30 minutes doesn't help me to actually install BrewPi. Thanks for any insights you guys can provide.
I decided to try a fourth time and completed the automated installation but now have an issue with the web portal not launching the script.
I think that's theMy interpretation is: Pi is not active if my overshoot or undershoot is greater than 0.5c about the set point. Is this a correct interpretation?
I
value. Honestly, PID is one of those things that needs some time OR an excellent calculator/loop tuning if you want to dive in. It's rare that a standard-ish heat/cool setup on 1-10 gallons ever needs tweaking. When I thought I wanted to use my degree to be an Engineer, I went from dirt engineering to controls, which you had to do every day for a while before it started making sense.Numpy can wait, get better first.Freaking numpy.
I am having some surgery this week (no, @Thorrak, not to remove my head from my ass) and I am not going to be able to get to this quickly. Sorry about that.
That section loops through a list using apt. You might trySo now I'm getting a different error consistently for the last three install attempts. From what I could glean from Google searches piwheels numpy is received but not authenticated by the automated install. Maybe there is a new version of numpy but I'm just guessing and reading about it though educational for the last 30 minutes doesn't help me to actually install BrewPi. Thanks for any insights you guys can provide.
I decided to try a fourth time and completed the automated installation but now have an issue with the web portal not launching the script.
sudo apt install x
where x is one at a time of these:CharlesW@BrewPi:~ $ sudo apt install libatlas-base-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libatlas-base-dev is already the newest version (3.10.3-13+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
CharlesW@BrewPi:~ $ sudo apt install python3-numpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-numpy is already the newest version (1:1.24.2-1).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
CharlesW@BrewPi:~ $ sudo apt install python3-scipy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-scipy is already the newest version (1.10.1-2+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
The logs should give a clue now. Check /home/brewpi/logs/ and there’s an error and run log.So I went through the commands and it appears to me that everything is properly installed. I went ahead and executed an option 1 uninstall of BrewPi then used the automated install tool. I can access the BrewPi.local web portal but I get "cannot connect to script" and "script not running" even giving it some time. When I go to configure devices and refresh nothing ever comes up.
Check the daemon log with:So I went ahead and rebooted earlier today and gave it a few hours and still the "script not running" issue. I tried using chrome, Microsoft Edge, and firefox with the same results. I opened the /home/brewpi/logs/ folder and all three files there were empty (ReadMe.md, stderr.txt, stdout.txt).
sudo systemctl status brewpi
CharlesW@BrewPi:~ $ sudo systemctl status brewpi
● brewpi.service - BrewPi Remix daemon for: brewpi
Loaded: loaded (/etc/systemd/system/brewpi.service; enabled; preset: enabl>
Active: active (running) since Fri 2024-05-17 15:35:10 CDT; 20h ago
Docs: https://docs.brewpiremix.com/
Main PID: 1055 (bash)
Tasks: 2 (limit: 1556)
CPU: 15h 47min 56.161s
CGroup: /system.slice/brewpi.service
├─ 1055 /bin/bash /home/brewpi/utils/doBrewPi.sh -d
└─10530 /home/brewpi/venv/bin/python3 -u /home/brewpi/brewpi.py -->
May 18 12:07:15 BrewPi brewpi[10526]: import brewpiJson
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/brewpiJson.py", line>
May 18 12:07:15 BrewPi brewpi[10526]: import Tilt
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/Tilt.py", line 38, i>
May 18 12:07:15 BrewPi brewpi[10526]: import numpy
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/venv/lib/python3.11/>
May 18 12:07:15 BrewPi brewpi[10526]: raise ImportError(msg) from e
May 18 12:07:15 BrewPi brewpi[10526]: ImportError: Error importing numpy: you s>
May 18 12:07:15 BrewPi brewpi[10526]: its source directory; please exit>
May 18 12:07:15 BrewPi brewpi[10526]: your python interpreter from ther>
lines 1-21/21 (END)...skipping...
● brewpi.service - BrewPi Remix daemon for: brewpi
Loaded: loaded (/etc/systemd/system/brewpi.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-17 15:35:10 CDT; 20h ago
Docs: https://docs.brewpiremix.com/
Main PID: 1055 (bash)
Tasks: 2 (limit: 1556)
CPU: 15h 47min 56.161s
CGroup: /system.slice/brewpi.service
├─ 1055 /bin/bash /home/brewpi/utils/doBrewPi.sh -d
└─10530 /home/brewpi/venv/bin/python3 -u /home/brewpi/brewpi.py --check --don>
May 18 12:07:15 BrewPi brewpi[10526]: import brewpiJson
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/brewpiJson.py", line 37, in <mo>
May 18 12:07:15 BrewPi brewpi[10526]: import Tilt
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/Tilt.py", line 38, in <module>
May 18 12:07:15 BrewPi brewpi[10526]: import numpy
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/venv/lib/python3.11/site-packag>
May 18 12:07:15 BrewPi brewpi[10526]: raise ImportError(msg) from e
May 18 12:07:15 BrewPi brewpi[10526]: ImportError: Error importing numpy: you should not t>
May 18 12:07:15 BrewPi brewpi[10526]: its source directory; please exit the numpy >
May 18 12:07:15 BrewPi brewpi[10526]: your python interpreter from there.
~
~
~
~
~
lines 1-21/21 (END)
● brewpi.service - BrewPi Remix daemon for: brewpi
Loaded: loaded (/etc/systemd/system/brewpi.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-17 15:35:10 CDT; 20h ago
Docs: https://docs.brewpiremix.com/
Main PID: 1055 (bash)
Tasks: 2 (limit: 1556)
CPU: 15h 47min 56.161s
CGroup: /system.slice/brewpi.service
├─ 1055 /bin/bash /home/brewpi/utils/doBrewPi.sh -d
└─10530 /home/brewpi/venv/bin/python3 -u /home/brewpi/brewpi.py --check --don>
May 18 12:07:15 BrewPi brewpi[10526]: import brewpiJson
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/brewpiJson.py", line 37, in <mo>
May 18 12:07:15 BrewPi brewpi[10526]: import Tilt
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/Tilt.py", line 38, in <module>
May 18 12:07:15 BrewPi brewpi[10526]: import numpy
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/venv/lib/python3.11/site-packag>
May 18 12:07:15 BrewPi brewpi[10526]: raise ImportError(msg) from e
May 18 12:07:15 BrewPi brewpi[10526]: ImportError: Error importing numpy: you should not t>
May 18 12:07:15 BrewPi brewpi[10526]: its source directory; please exit the numpy >
May 18 12:07:15 BrewPi brewpi[10526]: your python interpreter from there.
~
~
~
~
~
lines 1-21/21 (END)
● brewpi.service - BrewPi Remix daemon for: brewpi
Loaded: loaded (/etc/systemd/system/brewpi.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-17 15:35:10 CDT; 20h ago
Docs: https://docs.brewpiremix.com/
Main PID: 1055 (bash)
Tasks: 2 (limit: 1556)
CPU: 15h 47min 56.161s
CGroup: /system.slice/brewpi.service
├─ 1055 /bin/bash /home/brewpi/utils/doBrewPi.sh -d
└─10530 /home/brewpi/venv/bin/python3 -u /home/brewpi/brewpi.py --check ->
May 18 12:07:15 BrewPi brewpi[10526]: import brewpiJson
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/brewpiJson.py", line 37, in>
May 18 12:07:15 BrewPi brewpi[10526]: import Tilt
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/Tilt.py", line 38, in <modu>
May 18 12:07:15 BrewPi brewpi[10526]: import numpy
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/venv/lib/python3.11/site-pa>
May 18 12:07:15 BrewPi brewpi[10526]: raise ImportError(msg) from e
May 18 12:07:15 BrewPi brewpi[10526]: ImportError: Error importing numpy: you should n>
May 18 12:07:15 BrewPi brewpi[10526]: its source directory; please exit the nu>
May 18 12:07:15 BrewPi brewpi[10526]: your python interpreter from there.
~
~
~
~
~
lines 1-21/21 (END)...skipping...
● brewpi.service - BrewPi Remix daemon for: brewpi
Loaded: loaded (/etc/systemd/system/brewpi.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-05-17 15:35:10 CDT; 20h ago
Docs: https://docs.brewpiremix.com/
Main PID: 1055 (bash)
Tasks: 2 (limit: 1556)
CPU: 15h 47min 56.161s
CGroup: /system.slice/brewpi.service
├─ 1055 /bin/bash /home/brewpi/utils/doBrewPi.sh -d
└─10530 /home/brewpi/venv/bin/python3 -u /home/brewpi/brewpi.py --check --donotrun
May 18 12:07:15 BrewPi brewpi[10526]: import brewpiJson
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/brewpiJson.py", line 37, in <module>
May 18 12:07:15 BrewPi brewpi[10526]: import Tilt
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/Tilt.py", line 38, in <module>
May 18 12:07:15 BrewPi brewpi[10526]: import numpy
May 18 12:07:15 BrewPi brewpi[10526]: File "/home/brewpi/venv/lib/python3.11/site-packages/numpy/__init__.py", line 135, in <module>
May 18 12:07:15 BrewPi brewpi[10526]: raise ImportError(msg) from e
May 18 12:07:15 BrewPi brewpi[10526]: ImportError: Error importing numpy: you should not try to import numpy from
May 18 12:07:15 BrewPi brewpi[10526]: its source directory; please exit the numpy source tree, and relaunch
May 18 12:07:15 BrewPi brewpi[10526]: your python interpreter from there.
pip3 uninstall numpy
Sorry, I was stuck in bed for a week.Any thoughts on what I should do concerning the "script not running" and numpy issues I'm experiencing?
main
this morning that should address it, but it will need a clean install. I am not sure it will work, but if you want to try something before that, you could try:sudo apt-get install libopenblas-dev
Recover fast good sir.Sorry, I was stuck in bed for a week.
There is/was a library issue because Python people did Python things. I pushed a change tomain
this morning that should address it, but it will need a clean install. I am not sure it will work, but if you want to try something before that, you could try:
Code:sudo apt-get install libopenblas-dev
The problem is detailed in issue #212.
Anyone who knows what to do with the issue text should probably be able to figure that one out.fwiw, the link under the text "issue #212" is "http://sudo%20apt-get%20install%20libopenblas-dev/"