--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/c7157670-1fa2-4537-88af-88ef60baba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, May 30, 2018 at 6:43 AM, Charles Middleton <chaz.mi...@gmail.com> wrote:
Hi guys,Bit of a mission here...
I want to be able to start / stop recording on my MEOS (MotionEyeOS) device, by using Google Assistant on my Google Home.Somthing like "OK Google, start recording" when I leave the house etc.I see that Google provide an IFTTT recipe for Assistant ("When I say... do this..."), which can be set to send HTTP commands.Looking at the docs for Motion, I see that motion detection (at least) can be enabled / disabled through HTTP commands.However, for this to work, I'd need to expose the Pi running MEOS to the public internet (so IFTTT / Assistant can reach it to send the HTTP commands).This is the bit i'm nervous of...Doing a bit of digging, MotionEye itself suggests using NGINX reverse proxy to make the system reachable on the web, which sounds like a solution.So...1. Bearing in mind I only want to be able to send HTTP commands (not access cams etc) via the public internet, is this still the best way of doing it?2. Does NGINX and the tutorial work with MotionEyeOS, as well as MotionEye?Thanks for any assist! :)
--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/c7157670-1fa2-4537-88af-88ef60baba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
location /motioneye/ {
proxy_pass http://10.1.0.1/;
}
server { listen 80; server_name example.com; return 301 https://$server_name$request_uri;}server { listen 443 ssl;
add_header Strict-Transport-Security "max-age=31536000"; # Remove if using self-signed and are having trouble.
location / { proxy_pass http://10.0.0.100:8080/; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; satisfy any; allow 10.0.0.60; allow 10.0.0.20; allow 10.0.0.21; allow 10.0.0.15; allow 10.0.0.16; allow 127.0.0.1; deny all;
## change the normal "start" redirect directly to the basic ui; ##proxy_redirect http://10.0.0.100:8080/start/index /10.0.0.100:8080/habpanel/index.html#/;
## Nginx Password Protection auth_basic "Username and Password Required"; auth_basic_user_file /etc/nginx/.htpasswd; }
location /cameras/ { proxy_pass http://10.0.0.50/; proxy_read_timeout 120s; access_log off; }
#### When using Let's Encrypt Only #### location /.well-known/acme-challenge/ { }}