Web interface
See original GitHub issueMaybe this is obvious, but I need to install apache for the web interface to work, right? I’ve followed the readme steps and I get nothing from localhost:8080.
After installing Apache, I get:
root@raspberrypi:~/silvia-pi# ./silvia-pi.py
Starting Scheduler thread...
Starting PID thread...
Starting HE Control thread...
Starting REST Server thread...
Starting Watchdog...
./silvia-pi.py:67: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(conf.he_pin, GPIO.OUT)
Bottle v0.13-dev server starting up (using CherootServer())...
Listening on http://0.0.0.0:8080/
Hit Ctrl-C to quit.
root@raspberrypi:~/silvia-pi#
and then it exits back to the command line and still nothing on localhost:8080. Am I missing some steps?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
What is a Web Interface and How to Access It? - Diib
Your web interface is your client user interface enabling you to connect to your access server through your VPN connection. This is how...
Read more >Web User Interface - an overview | ScienceDirect Topics
A Web user interface or Web app allows the user to interact with content or software running on a remote server through a...
Read more >Definition of Web interface | PCMag
(2) A programming interface that applications use to access services in a Web server. See Web services and API.
Read more >What is a web interface? - YouTube
The changes in design patterns that have led to the rise of web apps have been accompanied by changes to the way that...
Read more >Web User Interface | Technology Glossary Definitions - G2
A web user interface permits users to interact with software and other content running through a web browser. The interface is a connection...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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())
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!