Tuto Piloter ses lumières à la voix avec Amazon Echo
#41
C'est vrai que IFTTT c'est la solution de facilité.
L'idéal étant l'intégration en natif sur LD. Ils sont obligés que ça arrive, donc ça viendra (ça c'est mon côté trop optimiste ...)
Maintenant, j'ai posé la question à l'auteur du topic sur la libération du port 80, mais j'ai pas tout/rien compris.
Peut-être que tu peux m'expliquer (sachant que j'aimerai bien garder le php, car j'ai un script (que je partagerai bientôt ici) pour surveillance station en php)

Citation :Hi Vincent,
I will update the post to include the details soon, in the meantime this is what I did.

Install WebStation and Apache 2.4 (I don't use PHP but you could use https://github.com/WaLLy3K/...
Apache is required so that we can change the 404 error page without touching config. If you need NGINX you will have to modify the nginx.conf directly (possibly lost during updates? )

Now as I don't serve anything else from WebStation I can use the root server under /volume1/web
I created a file name '.htaccess' in the root folder which contained the only line 'ErrorDocument 404 /blocked-by-pihole.svg'
I also placed this image (https://camo.githubusercont... in the root directoy.

Now anytime pihole redirects it will hit webstation, product a 404 and return the image.
Hope this makes sense??
Répondre


Messages dans ce sujet
RE: Piloter ses lumières à la voix avec Google Assistant - par jojo - 11-28-2017, 10:54 PM
Piloter Lifedomus à la voix avec Snips - par Jlr - 11-22-2018, 01:05 PM



Utilisateur(s) parcourant ce sujet : 4 visiteur(s)