This is a simple proxy server that forwards requests to a Unistellar telescope on another network.
The Unistellar eVscope is a great telescope, but it has a major limitation: it can only be controlled from its own WiFi network. This means you have to be physically close to the telescope, and you can only control one telescope at a time.
unistellar-proxyThe simple invocation assumes that the telescope is reachable at 192.168.100.1 (the IP address it uses on its private WiFi network), and that other clients can find the proxy on the network they are on. This implies you have a system straddling (but not forwarding) traffic on both networks.
- A device (e.g. Raspberry Pi) that can be simultaneously connected to the telescope's WiFi network and your home network.
- This proxy server running on the device.
Example /etc/wpa_supplicant.conf:
network={
ssid="eVscope-12345-(Example)"
key_mgmt=NONE
}
Commands:
systemctl enable dhcpcd@wlan0
systemctl start dhcpcd@wlan0makeInstall the resulting unistellar-proxy binary to /usr/local/bin. You can run it by hand at this point to see if it works.
Create /etc/systemd/system/unistellar-proxy.service from systemd/unistellar-proxy.service. Then:
systemctl daemon-reload
systemctl enable unistellar-proxy
systemctl start unistellar-proxy
There's no reason you couldn't run this over the internet in a more complex configuration, for instance:
- Local system, with wlan0 connected to the telescope (192.168.100.1) and en0 connected to your local network (10.0.0.2). This node would run
unistellar-proxywith no arguments and expose the telescope on 10.0.0.2 to other devices on the 10.0.0.0 network. - Remote system, with en0 (10.5.5.5) that can reach the local system (10.0.0.2). You'd run
unistellar-proxy -proxy-to=10.0.0.2to advertise the telescope remotely and forward requests to the local proxy.
None of this has been tested.