
But requests from the outside are blocked.
Seeing Internet without being seen provides an enormous security advantage. However, this signifies
that you cannot, a priori, set up your own web server at home to control a home automation
installation from the outside. A solution to this problem, advised by numerous home automation
system dealers, consists in providing outside visibility to your home automation server itself, by
adding a routing rule in the NAT configuration of the DSL router. The issue of this solution is that it
exposes the home automation server to external attacks.
The HTTP callback API solves this issue without having to modify the DSL router configuration. The
module control script is located on an external site, and it is the
VirtualHub
which is in charge of
calling it a regular intervals.
The HTTP callback API uses the VirtualHub which initiates the requests.
Configuration
The callback API thus uses the
VirtualHub
as a gateway. All the communications are initiated by the
VirtualHub
. They are thus outgoing communications and therefore perfectly authorized by the DSL
router.
You must configure the
VirtualHub
so that it calls the PHP script on a regular basis. To do so:
1. Launch a
VirtualHub
2. Access its interface, usually 127.0.0.1:4444
3. Click on the
configure
button of the line corresponding to the
VirtualHub
itself
4. Click on the
edit
button of the
Outgoing callbacks
section
Click on the "configure" button on the first line
9. Using Yocto-RangeFinder with PHP
www.yoctopuce.com
53
Summary of Contents for Yocto-RangeFinder
Page 1: ...Yocto RangeFinder User s guide...
Page 2: ......
Page 18: ...12 www yoctopuce com...
Page 26: ...20 www yoctopuce com...
Page 42: ...36 www yoctopuce com...
Page 70: ...gcc lyocto lm lpthread lusb 1 0 lstdc 10 Using Yocto RangeFinder with C 64 www yoctopuce com...
Page 90: ...84 www yoctopuce com...
Page 120: ...114 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 484: ...478 www yoctopuce com...
Page 488: ...482 www yoctopuce com...
Page 490: ...23 Characteristics 484 www yoctopuce com...
Page 491: ......
Page 492: ......