Comments (7)
I did test this application yesterday and it is possible to just access it on the local network. I didn't do the access point configuration and it just runs on the local network.
from piui.
@MrChronoM: could you explain how? Running the sample app I can curl localhost:9999, but I cannot read the Pi from another machine (I can on port 80 though)?
from piui.
I just followed the 'do-it-yourself' installation instructions on http://blog.davidsingleton.org/introducing-piui/, but starting by editing the hosts file (not the Access Point). When the installation is all done I did run 'python piui_demo.py' and from that point on I could connect to http://:9999/
(Not sure what is running on all different ports, but I think 80 and 9000 have something to do with nginx or CherryPi)
from piui.
Hi folks, the reason nginx is required is to force HTTP/1.0. Without this, the interaction between cherrypy and the android web browser is laggy (related to how pipelined connections are handled). If you have no interest in your project working well on android, you can drop nginx and connect directly to port 9999 or even run cherrypy on port 80
from piui.
So you're basically using localhost rhen? Could you check if you could connent to :9999 from another machine? That would help narrow down the problem I'm seeing. Thanks!
Von meinem iPhone gesendet
Am 30.03.2013 um 18:31 schrieb MrChronoM [email protected]:
I just followed the 'do-it-yourself' installation instructions on http://blog.davidsingleton.org/introducing-piui/, but starting by editing the hosts file (not the Access Point). When the installation is all done I did run 'python piui_demo.py' and from that point on I could connect to http://:9999/
(Not sure what is running on all different ports, but I think 80 and 9000 have something to do with nginx or CherryPi)—
Reply to this email directly or view it on GitHub.
from piui.
The cherrypy instance serves on 0.0.0.0:9999 so you should be able to connect from any other machine on either the wired or wireless (if available) network, assuming that your router or rpi configuration doesn't have any firewall in the way.
from piui.
Please forgive me- confirmed working as suggested.
from piui.
Related Issues (16)
- piui_demo.py works just for a while. HOT 1
- Can you access the Pi through the internet rather than direct WiFi? HOT 1
- Is this project still alive?
- do it yourself HOT 3
- does it live?
- Toggles not working
- change app url HOT 4
- Replacement of Nginx with Apache HOT 1
- Run piui_demo.py at boot time HOT 2
- [Feature Request] Sliders, start values HOT 6
- Error when running piui_demo.py HOT 2
- Piui without access point integration
- JAVA - no such method error when running on API < 11
- PiUi demo script slowly dies HOT 1
- Is there an API for this?
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 piui.