Introduction

Configuration guide for JemRF device: - WIFI Remote Control Switch
Connecting a relay switch to the WIFI controller.
WARNING : Mains electricity can kill if you are careless or lacking in knowledge of how to connect high voltage.
Configuring the WIFI controller.
Before you start this configuration ensure you have already followed the getting started guide that shows you how to connect your device to your WIFI router and to the JemRF clound server (optional).
Open up the WIFI configuration screen by browsing to your WIFI devices IP address in a browser and then click on the Sensor Config menu. If you want to be able to control the device using your PrivateEyePi dashboard then click on the “Allow external control” check box as shown below.

All the other settings in the above image may vary to yours depending on the type of sensor you have and what settings you configured earlier in the Getting Started Guide.
Security Note: The “Allow external control” option will allow you to switch things on/off from the WWW outside your home network. Communications to the outside world are encrypted, but it is important to keep your Token (from the Login Details Screen) secret. Anyone with your token will be able to control the GPIO ports of your WIFI controller. If you suspect your token has been compromised then you can deny access to the device by de-selecting the “Allow external control”.
You can switch the relay using the following URL to your device:
This will switch Relay 1 off: http://192.168.2.99/relayoff?relay=1
This will switch Relay 2 on: http://192.168.2.99/relayon?relay=2
However this will only work if you are on your local home network. You will not be able to do this from the WWW.