Device Management
Last updated
Last updated
Devices are an essential part of the system and needs to be managed. In this release weโre enable operators to add energy sources to the system. Each member of the system will be associated with an energy consumption unit once it become a member.
Devices are associated with physical machines via a public keys or with a brute-force algorithm using a decryption key.
Energy Sources can be added to the system by an operator by using a simple form. During this process an energy sources gets tokenized. Once added to the system, measurement about a device can be requested
If the measurements of a device are encrypted and a decryption was added for a device, the system will try to match the measurements of physical devices with the device in the system. This is done by trying to decrypt every incoming measurement, once it found a measurement where the decryption key is working, it will link the partial public key of the physical device from the measurement and add this information to the device in the system. The system will no longer use this decryption key in its brute force algorithm.
Measurements can be set to the system by using two different technologies. Both use a publish subscriber pattern where measurements are published by the Trusted Gateways attached to the physical machines in a given time interval.
The Things Network
Measurements are sent via Lora to a LoraWan provider called TheThingsNetwork. Therefore, the devices need to be registered to an application (messaging queue) on the TheThingsNetwork where the measurements are published too. The backend subscribes to this application and receives in measurements that are further processed.
MQTT Broker
The MQTT Broker works similar to TheThingsNetwork, but instead of sending measurements via LoRa to the broker, it uses TCP.