Comments (5)
Everything came back alive except for the PID.
For subsequent readers, I the code should be:
print(p.is_alive()) print(h.is_alive()) print(r.is_alive()) print(s.is_alive())
from silvia-pi.
Apache is not necessary. This software is using cheroot server which will be installed by the setup.sh script.
You're accessing localhost:8080 from the pi or from your laptop/pc? (just asking). Localhost is referring to the pi so if you're on your laptop/pc you should replace localhost with the ip address of your pi.
And can you maybe check the logs? There should be a file silvia-pi.log
in your working directory.
from silvia-pi.
I've tried on the pi itself with localhost and via another computer accessing the IP address of the pi.
silvia-pi.log is:
Starting Scheduler thread... Starting PID thread... Starting HE Control thread... Starting REST Server thread... Starting Watchdog...
I haven't connected any of the wiring. I'm just getting the software part up. Would that cause a silent failure?
from silvia-pi.
That could be it but I'm unable to test it myself. There's a seperate error log for pid errors. Anything in there? I would guess an error in the pid thread if you didn't connect your sensor.
You could also maybe add these lines just before the while loop on line 344 in silvia-pi.py. Guessing one of them returns false
print("p.isAlive()")
print("h.isAlive()")
print("r.isAlive()")
print("s.isAlive()")
from silvia-pi.
And actually having the PID not hooked up is why this was exiting. The while line is:
while p.is_alive() and h.is_alive() and r.is_alive() and s.is_alive():
When i removed the p.is_alive(), the page loaded. Thanks for the help troubleshooting!
from silvia-pi.
Related Issues (20)
- Pressure control, profiling and preinfusion HOT 2
- Install as outlined in the readme no longer works HOT 1
- Convert to celsius? HOT 2
- Installation issue HOT 1
- Thermocouple question HOT 5
- Thermocouple temp drops when Silvia is plugged in HOT 35
- Explanation HOT 5
- GPIO Pins HOT 2
- Light doesn't turn on HOT 40
- Pin 26 is always 3.3 Volts HOT 4
- No values webinterface HOT 28
- Explanation for cold/warm switch in pid_loop
- ERROR IN PID THREAD, RESTARTING HOT 1
- ImportError: No module named cheroot
- MAX31855 does not support grounded thermocouples HOT 5
- Know nothing... HOT 15
- How to get the wakeup running? HOT 1
- Get temp values from def pid_loop(dummy,state):
- in pid.err.log: sef._device.cshigh = False. SystemError: error return without exception set. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silvia-pi.