IoT Server – Conditions
In this section, we specify which card IDs the RFID readers should accept. The IDs can be changed in the card's Attributes menu or on the Advanced → Programming tab. Here, we can also control devices that are not physically connected to the SBC. Their states are sent to the server using the IoEClient.reportStates() function, for example:IoEClient.reportStates([0, device_states["rfid1"], device_states["rfid2"], 0, 0, 1, 0, 0, temperature, 0, 0, 0, 0, 0, 0, 0, 0]). Since every state of every device must be handled separately, a separate action must be created for each state.