In case it can help, another option can be to create a VPN to you home lan and the indi server.
I use openvpn (openvpn.net) to set up a secure connection to my home lan. in most case everything is accessed as if at home. You may still need to know you lan IP for the indi server; I have not tried to see if the hostname astroberry.local is visible; some things will need to be repeated to the vpn. IP access though should work, as the typically setup includes repeating this between LAN and VPN.
The vpn would then address security concerns, and once connected can mean that you are connected as if home. OpenVPN also has mac, and iOS, clients. Using the iPhone app over VPN to check Ekos by browser or VNC does work very well.
So the cool factor can be there too Using iPhone to check imaging session while having coffee with friends because your RPI3 tweeted some update... Please note, I have confirmed the tweeting works, I am just not good enough to use it fully as I am still learning automatic framing and guiding.
Hm...I entered the public IP address (e.g. 12.123.456.78) in the field "Host", in the field "Port" I entered '7624'.
In the router configurator, I opened the port 7624 for the astroberry. Also I created an allowance for that port in my internet security-software. But I keep on receiving an error message, when starting indi, after a while. I also tried from my neighbours' wlan, to connect the astroberry.
Not sure what else could I do?
@ Maudy, many thanks also for your suggestion. I had a look at openvpn - and will try to find my way through. Is it just to be installed on my windows laptop, or do I have to install anything on the astroberry?
I was thinking about adding a button to reset or shutdown (depending on how many sec the button is pressed). Found a nice script (www.holzkischtle.de/resources/shutdownscript/), - unfortunately the description is in German, but the code seems "international".
Now, the idea would be to execute the script upon startup, so the author suggests to add a line to the rc.local file. However, adding a line (sudo python /usr/local/bin/shutdown.py) prior to exit 0, does not seem to work. If I just start up the script (sudo python shutdown.py), it works fine.
My question is, does such a program create any conflicts with the astroberry server? If yes, is there an alternative you could recommend?
There's no conflict with anything on astroberry server. You can implement this solution as is.
Make sure that if using /etc/rc.local you start the script in the background by adding & at the end of line i.e. /usr/bin/python /usr/local/bin/shutdown.py &
Please note that you don't need to use sudo as rc.local is started as root user by default.
I will consider integrating it into side panel in the future so you can call this action from web interface.
| Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
First of all thanks again for your super application !
I love it.
I am currently trying to replace the dc motor of a nFocus by a 28byj-48 stepper (modified 4 wires see here:http://www.electronicsmayhem.com/?p=13) and drive it directly with a drv8835 from the raspi GPIO.
My question is : is the astroberry focuser driver already included in your astroberry server ?