Hi all,
I'm the proud owner of a M3 ID, still getting to know it but prints are getting better every day.
One of the things i'm focussing on now is getting access to it from other sources as my computer.
I have Octoandroid installed on my phone but it is very limited and when using the webcam feature it crashes (when i access octoprint form my computer in the control tab I can see it playing normally).
The normal internal octoprint website which i access from my PC i Cant connect to it in the browser on my mobile, even though I am in the same WIFI.
So my questions are basically:
1. When in my own wifi can I access octoprint with full functionality from my phone?
2. What is the best way to connect externally?
Accessing Octoprint
Re: Accessing Octoprint
Okay after some extra tinkering I manages to find the exernal URL, so that works fine.
I have switched apps to octoremote, works a lot better.
The only thing that is not working is the webcam feature externally, not so weird as the webcam url is:
http://192.168.178.171:8080/?action=stream
but when I change 192.168.178.171:8080 to myip:8100 it is still not working, any ideas?
I have switched apps to octoremote, works a lot better.
The only thing that is not working is the webcam feature externally, not so weird as the webcam url is:
http://192.168.178.171:8080/?action=stream
but when I change 192.168.178.171:8080 to myip:8100 it is still not working, any ideas?
Re: Accessing Octoprint
You're changing the port so check your /etc/haproxy/haproxy.cfg file. You'll probably have to add the different port there. I'm just using the standard 8080 so this is the binding section from mine:
Code: Select all
[...]
frontend public
bind *:80
use_backend webcam if { path_beg /webcam/ }
default_backend octoprint
backend octoprint
reqrep ^([^\ :]*)\ /(.*) \1\ /\2
option forwardfor
server octoprint1 127.0.0.1:5000
backend webcam
reqrep ^([^\ :]*)\ /webcam/(.*) \1\ /\2
server webcam1 127.0.0.1:8080