A simpler sensor data replayer to the inbox of an LDES in LDP or any LDP container.
npm install
Now, navigate to the src/config
folder and update the config.json
file with the required parameters.
{
"ldes_location": "insert_location_here",
"frequency": 4,
"file_location": "insert_file_location_here",
"is_ldes": true,
}
If the is_ldes
parameter is set to true
, the ldes_location
parameter should be the location of the LDES. The replayer will itself extract the inbox of the LDES stream. If the is_ldes
parameter is set to false
, the ldes_location
parameter should be the location of the LDP container.
Now, build the project using the following command:
npm run build
To run the project, use the following command:
npm run start
This code is copyrighted by Ghent University - imec and released under the MIT Licence
For any questions, please contact Kush or create an issue in the repository.