Software voor de astro cam

Een Bresser badge-engineerede versie van de ToupTek G3M Series USB3.0 CMOS 1.25″ Guiding Camera.

Hier vind je de downloads op de site van ToupTek voor de Linux versie van de tracking software die ontbreken op de install cd.
Net als de usb3 aansluiting die wel in de originele chinese hardware zit.

Fuck me, de originele chinese versie is de beste en de (dure) europese kloon is de cheap-ass versie?

We are so fucked.

WebSocket reverse proxy with Apache 2.4

To allow access to my local smartMeterLogger I setup a virtual host energie.wasietsmet.nl.

This means setting up a reverse proxy for the websocket running on the smartMeterLogger.
First thing to do is to enable proxy_wstunnel with a2enmod.
Then set up the virtual host. See below how to.
Don’t forget to reload the settings in Apache2!

<VirtualHost *:80>
ServerName energie.wasietsmet.nl

  ProxyRequests Off
 
  ProxyPreserveHost On
 
  ProxyPass / "http://192.168.0.107/"
  ProxyPassReverse / "http://192.168.0.107/"
        
  RewriteEngine on
  RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
  RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
  RewriteRule .* ws://192.168.0.107%{REQUEST_URI} [P]

SetEnvIf Request_URI "^/events" dontlog
SetEnvIf Request_URI "^/raw" dontlog
 
CustomLog "|/usr/bin/rotatelogs /var/www/energie.wasietsmet.nl/log/access%d-%m-%Y 86400" vhost_combined env=!dontlog
ErrorLog "|/usr/bin/rotatelogs /var/www/energie.wasietsmet.nl/log/error%d-%m-%Y 86400"
</VirtualHost>

Links:

http://aripratech.com/reverse-proxy-websockets-with-apache-httpd-server/