At the beginning we need to hook up the relay module to Raspberry. The software used by me is default set to operate 3 relays, however, if we do not have such, we can also use one and leave the other out. The relays can be connected to electric locks opening wickets/doors or to the gate controller. Relays functions as well as each relay operation time can be later changed at cloud.supla.org. Below you can find the scheme on how to connect Raspberry PI with the relay module.
When we sign in and logon, we need to read location settings which are required in Step 3 as well as access identifier settings required in Step4 below
3
Step 3
Now we need to prepare the SD card (I have been working on a Windows 7 based PC).
Point the downloaded and unzipped file in the „Image File” field and select the device (the disc with SD card) and click “Save”.
We can now safely remove the card with the „Safely remove hardware and eject media” tool, remove it and place it back again in the reader
We need to open the disc labeled on the SD card as „boot” partition
Open the location.txt file and enter the location data read from https://cloud.supla.org. The most recent connection status can be read in the file last_state.txt, e.g. an invalid password’s information will be saved here
We can now safely remove the card with the „Safely remove hardware and eject media” tool, remove it and place in the Raspberry PI SD card driver
Connect Raspberry PI to LAN and turn the device on (you can also reconfigure it to connect with network via WiFi)
Raspberry should be included on the list of devices in cloud.supla.org when properly launched