Table of Contents

RFID reader and relay meter configuration

Create and configure the following items on the online portal:

  1. Sensor (provides relay status ON/OFF)
  2. Meter
  3. Relay
  4. RFID reader

Even though the Shelly and SDM530C are both meters, relays, and sensors, they must be created separately.

1. Sensors

Sensors are used by the system to know the relay's open or closed status (ON / OFF).

Under Sensors, add a sensor. Parameters vary by model:

Eastron SDM530C (Modbus RTU)

  • Name: a unique name that identifies the equipment, its location, and the solution. Ex: Meter-relay Laundry Room no 1.
  • Type: State On/Off
  • Address: Unique primary Modbus address from 1 to 250.

Save the address directly in the equipment. Refer to the Eastron SDM530C user manual.

  • Register: 0
  • Protocol: modbus
  • Model: SDM530C

  • Reading frequency: 900 (recommended)
  • Asynchronous: checked

This is the physical reading frequency of the sensor.

  • asynchronous unchecked: the sensor is physically read, and the relay status is sent at the defined reading frequency.
  • asynchronous checked: the sensor is physically read at the defined reading frequency, but the relay status is only sent if it differs from the last reading. In all cases, statuses are sent every hour.

Services (washaccess, optimization, or ebike) read the sensors and activate the relays when requested, but these services never send the sensor status.

For relays used by the Optimization service, choose a frequency lower than 60 seconds, but not lower than 30 seconds.

Eastron SDM530C (Modbus TCP)

SDM530C relay meters can communicate via ModbusTCP using an RS485-Ethernet converter.

The configuration is the same as above, except for the following parameters:

  • Protocol: modbustcp
  • Model: SDM530C_TCP
  • Additional parameters: {'server_ip': 'IP ADDRESS OF THE CONVERTER', 'server_port': 502}

Shelly

  • Name: a unique name that identifies the equipment, its location, and the solution. Ex: Shelly Bike Charger no 1.
  • Type: State on/off
  • Address: 0
  • Register: ison
  • Protocol: API
  • Model: ShellyGen2
  • Additional parameters: see below

Start the Shelly and connect to the Wi-Fi network it broadcasts. The SSID is of the type shelly1-XXXXX.

Open a web browser and connect to the default IP address of the Shelly: http://192.168.33.1.

Under "Internet & Security" --> "WIFI MODE CLIENT" --> Check "Connect the Shelly device to an existing WiFi Network" and enter the local Wi-Fi parameters (SSID and PASSWORD).

screenshot_2022-01-12_at_11.36.56.png

Under "Internet & Security" --> "Restrict Login" --> Check "Restrict the web interface" and enter "admin" in the User field and a unique secure password.

screenshot_2022-01-12_at_11.37.07.png

Configure a fixed IP address for the Shelly in the router (local LAN network) and restart the Shelly. Refer to 4G Router Configuration.

Save the IP defined above, preceded by http://, the username, and the password chosen in additional parameters, formatted as follows:

{
'api_address': 'http://192.168.1.60',
'api_username': 'admin',
'api_password': 'admin'
}

2. Meter

Create a meter under the Meters tab.

Parameters are the same as in the Sensor section above.

When using the SDM530C with Modbus TCP, select the model: eastron_modbus_tcp and under additional parameters:

Key

Value

server_ip

IP ADDRESS OF THE RS485 CONVERTER

port

502

3. Relay

Create a relay under the Sensors/Relays tab --> Sensors

Parameters are the same as for Sensors above.

Link the relay to a sensor.

4. RFID Reader and Linked Object

Add an RFID reader

Add an RFID reader under the RFID Readers tab.

  • Name: a unique name that identifies the equipment, its location, and the solution. Ex: RFID reader Laundry Room no 1.
  • Model: InveoIndLed_HTTP_GET without keypad or InveoIndLed_Keyboard_HTTP_GET with keypad
  • Address (modbus): 1 (usually leave address 1 as default)
  • Additional parameters: specify the connection parameters of the Ethernet-connected RFID reader (IP address, port, username, and password) respecting the format below:
{'server_ip': '192.168.2.11', 
'server_port': 502,
'username': 'admin',
'password': 'admin00'}

  • Linked solution: WashAccess or eBike

Add a linked object

Click the + button for the RFID reader created above.

  • ID (Number): if the reader is equipped with a numeric keypad, enter the outlet number.

Ex: 1, 2, 2 etc. or 1111 for InveoIndLed_Keyboard_HTTP_GET

Outlet numbers must have exactly 4 digits.

For readers without a keypad (InveoIndLed_HTTP_GET), enter something unique.

  • Relay: Select the relay
  • Associated Sensor (ON/OFF): Select the sensor corresponding to the relay
  • Associated Meters: Select one or more meters. Usually, the meter corresponding to the relay meter.

At least one meter (usually electrical). It is also possible to associate a water meter for Washaccess, for example.

5. Inveo RFID Card Readers

Inveo RFID readers connect via Ethernet and can be powered separately or via PoE (Ethernet).

Connect the reader to a computer, use the address 192.168.111.15 to access the web interface.

Default Username: admin

Default Password: admin00

Network

Change the static IP address of the equipment to: 192.168.2.20. Be careful if you have multiple RFID readers, continue with 192.168.2.21, then 192.168.2.22 etc.

Under Network > IP Configuration:

  • Host Name: Serial Number of the equipment
  • IP Address: address defined above.

Enable DHCP in Network and connect the equipment to the same network as the computer and the Gateway. Define a fixed IP address for the reader via the web interface of the network router.

Check DHCP (or define a fixed IP according to desired network settings)

RFID Settings

Check Continuous reading

I/O Settings

Select:

Card Action: All Cards (Short beep)

LED LCD Backlight Action: None

Administration

Check:Enable HTTP GET

Inveo card reader with numeric keypad

Text Message

Prompt Message

Line 1: BADGER + No OUTLET

Line 2: -> ENTER

How Did We Do?

Configuration Gateway

IP network configuration and routers

Contact