Hello,
First of
all, here is my conf :
- ·
Raspberry
PI 3 - Raspbian Stretch - ·
Z-Wave
Plus Z-Stick GEN5 - Aeon Labs - ·
OpenRemote
2.6
I don t know if it is really the right place to write this ticket because it is
not a problem.
I just would like to have your feedback about this topic.
For Christmas, Santa Claus brought me a Google Home device.
So I have
tried to use this device in order to vocally command the Zwave devices I have
and which are managed by OpenRemote (mainly lights and my coffee machine J ), and it works fine.
Now when I
say “OK Google ,please switch on outdoor lights”, the lights are switched on.
To do this
I have used the following architecture:
My Voice => Google Home => IFTTT
(Google Assistant: “say a simple phrase” as trigger + WebHook as Action) =>
HTTP Rest command sent to my OpenRemote controller.
So based on
that I have created several “voices commands”; But, and this is the topic,
because I use IFTTT service, the HTTP Rest command sent by this service goes
through the web in a non-secured way. It means that, someone knowing the HTTP
Rest command, could switch on the my lights
My idea was
to use an encrypted tunnel between my OpenRemote controller and IFTTT. To do
this, my first approach has been to use ngrok.
I have set
up ngrok on my Raspberry, create a free account on ngrok web site. In this
architecture, a tunnel is created between my Raspberry and ngrok server, which
is in fact a relay server between IFTTT and my controller.
So, it
looks like this:
My Voice => Google Home => IFTTT
(Google Assistant: “say a simple phrase” as trigger + WebHook as Action) =>
HTTP Rest command sent to NGROK server => HTTP Rest command relayed using
the encrypted tunnel to my Controller.
It worked
fine, the command sent by NGROK server was encrypted but, the URL provided by
NGROK changes at every startup.
So it means that, every time I’ll restart my
Raps, this URL will change and so, I’ll have to update all the links in IFTTT
which is not possible…
There’s an
option in NGROK called “subdomain” in order to get always the same URL at every
reboot but this option is only in “pay plans” mode now, which was not the case
in the past.
So, my
question is: do you have already tested
some free alternatives to NGROK where this “subdomain” option is free?
Thanks for
sharing your experience,
Regards,
Jérôme